	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_vc_remote_phy
_read_vc_remote_phy:                    ## @read_vc_remote_phy
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	_VERIFY_CAP_REMOTE_PHY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GENERAL_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-20(%rbp), %rcx
	callq	_read_8051_config
	movl	-20(%rbp), %eax
	movq	_POWER_MANAGEMENT_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%eax, %edx
	sarl	%cl, %edx
	movq	_POWER_MANAGEMENT_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %edx
	movl	%edx, (%rbx)
	movq	_CONTINIOUS_REMOTE_UPDATE_SUPPORT_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	movq	_CONTINIOUS_REMOTE_UPDATE_SUPPORT_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%eax, (%r14)
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VERIFY_CAP_REMOTE_PHY,4,2      ## @VERIFY_CAP_REMOTE_PHY
	.comm	_GENERAL_CONFIG,4,2             ## @GENERAL_CONFIG
	.comm	_POWER_MANAGEMENT_SHIFT,4,2     ## @POWER_MANAGEMENT_SHIFT
	.comm	_POWER_MANAGEMENT_MASK,4,2      ## @POWER_MANAGEMENT_MASK
	.comm	_CONTINIOUS_REMOTE_UPDATE_SUPPORT_SHIFT,4,2 ## @CONTINIOUS_REMOTE_UPDATE_SUPPORT_SHIFT
	.comm	_CONTINIOUS_REMOTE_UPDATE_SUPPORT_MASK,4,2 ## @CONTINIOUS_REMOTE_UPDATE_SUPPORT_MASK
	.no_dead_strip	_read_vc_remote_phy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_vc_remote_phy
_read_vc_remote_phy:                    ; @read_vc_remote_phy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x8, _VERIFY_CAP_REMOTE_PHY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VERIFY_CAP_REMOTE_PHY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _GENERAL_CONFIG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GENERAL_CONFIG@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x3, sp, #12
	bl	_read_8051_config
	ldr	w8, [sp, #12]
Lloh6:
	adrp	x9, _POWER_MANAGEMENT_SHIFT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _POWER_MANAGEMENT_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	asr	w9, w8, w9
Lloh9:
	adrp	x10, _POWER_MANAGEMENT_MASK@GOTPAGE
Lloh10:
	ldr	x10, [x10, _POWER_MANAGEMENT_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	and	w9, w9, w10
	str	w9, [x20]
Lloh12:
	adrp	x9, _CONTINIOUS_REMOTE_UPDATE_SUPPORT_SHIFT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _CONTINIOUS_REMOTE_UPDATE_SUPPORT_SHIFT@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	asr	w8, w8, w9
Lloh15:
	adrp	x9, _CONTINIOUS_REMOTE_UPDATE_SUPPORT_MASK@GOTPAGE
Lloh16:
	ldr	x9, [x9, _CONTINIOUS_REMOTE_UPDATE_SUPPORT_MASK@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	and	w8, w8, w9
	str	w8, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VERIFY_CAP_REMOTE_PHY,4,2      ; @VERIFY_CAP_REMOTE_PHY
	.comm	_GENERAL_CONFIG,4,2             ; @GENERAL_CONFIG
	.comm	_POWER_MANAGEMENT_SHIFT,4,2     ; @POWER_MANAGEMENT_SHIFT
	.comm	_POWER_MANAGEMENT_MASK,4,2      ; @POWER_MANAGEMENT_MASK
	.comm	_CONTINIOUS_REMOTE_UPDATE_SUPPORT_SHIFT,4,2 ; @CONTINIOUS_REMOTE_UPDATE_SUPPORT_SHIFT
	.comm	_CONTINIOUS_REMOTE_UPDATE_SUPPORT_MASK,4,2 ; @CONTINIOUS_REMOTE_UPDATE_SUPPORT_MASK
	.no_dead_strip	_read_vc_remote_phy
.subsections_via_symbols
