	.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
	movl	$0, -32(%rbp)
	movl	(%rdi), %eax
	andl	$-2, %eax
	cmpl	$128, %eax
	jne	LBB0_9
## %bb.1:
	movq	%rdi, %rbx
	movq	_M88E1000_PHY_PAGE_SELECT@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	-32(%rbp), %rdx
	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
	.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
	str	wzr, [sp, #12]
	ldr	w8, [x0]
	and	w8, w8, #0xfffffffe
	cmp	w8, #128
	b.ne	LBB0_9
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x20, _M88E1000_PHY_PAGE_SELECT@GOTPAGE
Lloh1:
	ldr	x20, [x20, _M88E1000_PHY_PAGE_SELECT@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x2, sp, #12
	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:
Lloh2:
	adrp	x21, _M88E1000_PHY_GEN_CONTROL@GOTPAGE
Lloh3:
	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:
Lloh4:
	adrp	x8, _M88E1000_PHY_VCO_REG_BIT8@GOTPAGE
Lloh5:
	ldr	x8, [x8, _M88E1000_PHY_VCO_REG_BIT8@GOTPAGEOFF]
Lloh6:
	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:
Lloh7:
	adrp	x8, _M88E1000_PHY_VCO_REG_BIT11@GOTPAGE
Lloh8:
	ldr	x8, [x8, _M88E1000_PHY_VCO_REG_BIT11@GOTPAGEOFF]
Lloh9:
	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
Lloh10:
	adrp	x8, _E1000_SUCCESS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _E1000_SUCCESS@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x0, #0
	csel	x0, x8, x0, eq
	b	LBB0_10
LBB0_9:
Lloh13:
	adrp	x8, _E1000_SUCCESS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _E1000_SUCCESS@GOTPAGEOFF]
Lloh15:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.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
