	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_set_vco_speed
_e1000_set_vco_speed:                   ## @e1000_set_vco_speed
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	$0, -32(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_e_dbg
	movl	(%rbx), %eax
	andl	$-2, %eax
	cmpl	$128, %eax
	jne	LBB0_9
## %bb.1:
	movq	_M88E1000_PHY_PAGE_SELECT@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_e1000_read_phy_reg
	testq	%rax, %rax
	jne	LBB0_10
## %bb.2:
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$5, %edx
	callq	_e1000_write_phy_reg
	testq	%rax, %rax
	jne	LBB0_10
## %bb.3:
	movq	_M88E1000_PHY_GEN_CONTROL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_e1000_read_phy_reg
	testq	%rax, %rax
	jne	LBB0_10
## %bb.4:
	movq	_M88E1000_PHY_VCO_REG_BIT8@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	andl	-28(%rbp), %edx
	movl	%edx, -28(%rbp)
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_e1000_write_phy_reg
	testq	%rax, %rax
	jne	LBB0_10
## %bb.5:
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_e1000_write_phy_reg
	testq	%rax, %rax
	jne	LBB0_10
## %bb.6:
	movl	(%r15), %esi
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_e1000_read_phy_reg
	testq	%rax, %rax
	jne	LBB0_10
## %bb.7:
	movq	_M88E1000_PHY_VCO_REG_BIT11@GOTPCREL(%rip), %rax
	movl	-28(%rbp), %edx
	orl	(%rax), %edx
	movl	%edx, -28(%rbp)
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_e1000_write_phy_reg
	testq	%rax, %rax
	jne	LBB0_10
## %bb.8:
	movl	(%r14), %esi
	movl	-32(%rbp), %edx
	movq	%rbx, %rdi
	callq	_e1000_write_phy_reg
	testq	%rax, %rax
	jne	LBB0_10
LBB0_9:
	movq	_E1000_SUCCESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"e1000_set_vco_speed"

	.comm	_E1000_SUCCESS,8,3              ## @E1000_SUCCESS
	.comm	_M88E1000_PHY_PAGE_SELECT,4,2   ## @M88E1000_PHY_PAGE_SELECT
	.comm	_M88E1000_PHY_GEN_CONTROL,4,2   ## @M88E1000_PHY_GEN_CONTROL
	.comm	_M88E1000_PHY_VCO_REG_BIT8,4,2  ## @M88E1000_PHY_VCO_REG_BIT8
	.comm	_M88E1000_PHY_VCO_REG_BIT11,4,2 ## @M88E1000_PHY_VCO_REG_BIT11
	.no_dead_strip	_e1000_set_vco_speed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000_set_vco_speed
_e1000_set_vco_speed:                   ; @e1000_set_vco_speed
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	str	wzr, [sp, #12]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_e_dbg
	ldr	w8, [x19]
	and	w8, w8, #0xfffffffe
	cmp	w8, #128
	b.ne	LBB0_9
; %bb.1:
Lloh2:
	adrp	x20, _M88E1000_PHY_PAGE_SELECT@GOTPAGE
Lloh3:
	ldr	x20, [x20, _M88E1000_PHY_PAGE_SELECT@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x2, sp, #12
	mov	x0, x19
	bl	_e1000_read_phy_reg
	cbnz	x0, LBB0_10
; %bb.2:
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #5
	bl	_e1000_write_phy_reg
	cbnz	x0, LBB0_10
; %bb.3:
Lloh4:
	adrp	x21, _M88E1000_PHY_GEN_CONTROL@GOTPAGE
Lloh5:
	ldr	x21, [x21, _M88E1000_PHY_GEN_CONTROL@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #8
	mov	x0, x19
	bl	_e1000_read_phy_reg
	cbnz	x0, LBB0_10
; %bb.4:
Lloh6:
	adrp	x8, _M88E1000_PHY_VCO_REG_BIT8@GOTPAGE
Lloh7:
	ldr	x8, [x8, _M88E1000_PHY_VCO_REG_BIT8@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [sp, #8]
	bic	w2, w9, w8
	str	w2, [sp, #8]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_e1000_write_phy_reg
	cbnz	x0, LBB0_10
; %bb.5:
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #4
	bl	_e1000_write_phy_reg
	cbnz	x0, LBB0_10
; %bb.6:
	ldr	w1, [x21]
	add	x2, sp, #8
	mov	x0, x19
	bl	_e1000_read_phy_reg
	cbnz	x0, LBB0_10
; %bb.7:
Lloh9:
	adrp	x8, _M88E1000_PHY_VCO_REG_BIT11@GOTPAGE
Lloh10:
	ldr	x8, [x8, _M88E1000_PHY_VCO_REG_BIT11@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [sp, #8]
	orr	w2, w9, w8
	str	w2, [sp, #8]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_e1000_write_phy_reg
	cbnz	x0, LBB0_10
; %bb.8:
	ldr	w1, [x20]
	ldr	w2, [sp, #12]
	mov	x0, x19
	bl	_e1000_write_phy_reg
Lloh12:
	adrp	x8, _E1000_SUCCESS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _E1000_SUCCESS@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x0, #0
	csel	x0, x8, x0, eq
	b	LBB0_10
LBB0_9:
Lloh15:
	adrp	x8, _E1000_SUCCESS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _E1000_SUCCESS@GOTPAGEOFF]
Lloh17:
	ldr	x0, [x8]
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"e1000_set_vco_speed"

	.comm	_E1000_SUCCESS,8,3              ; @E1000_SUCCESS
	.comm	_M88E1000_PHY_PAGE_SELECT,4,2   ; @M88E1000_PHY_PAGE_SELECT
	.comm	_M88E1000_PHY_GEN_CONTROL,4,2   ; @M88E1000_PHY_GEN_CONTROL
	.comm	_M88E1000_PHY_VCO_REG_BIT8,4,2  ; @M88E1000_PHY_VCO_REG_BIT8
	.comm	_M88E1000_PHY_VCO_REG_BIT11,4,2 ; @M88E1000_PHY_VCO_REG_BIT11
	.no_dead_strip	_e1000_set_vco_speed
.subsections_via_symbols
