	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_shift_out_eec_bits
_e1000_shift_out_eec_bits:              ## @e1000_shift_out_eec_bits
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	_EECD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_er32
	movl	%eax, %ebx
	decl	%r12d
	movl	%r12d, %edi
	callq	_BIT
	movl	%eax, %r13d
	movq	(%r15), %rcx
	movq	_e1000_nvm_eeprom_spi@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_2
## %bb.1:
	movq	_E1000_EECD_DO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_2:
	orl	%eax, %ebx
	leaq	-44(%rbp), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	_E1000_EECD_DI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	notl	%ecx
	andl	%ebx, %ecx
	orl	%eax, %ebx
	testl	%r14d, %r13d
	cmovel	%ecx, %ebx
	movl	%ebx, -44(%rbp)
	movq	_EECD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_ew32
	xorl	%eax, %eax
	callq	_e1e_flush
	movl	8(%r15), %edi
	callq	_udelay
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_e1000_raise_eec_clk
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_e1000_lower_eec_clk
	cmpl	$2, %r13d
	jb	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	sarl	%r13d
	movl	-44(%rbp), %ebx
	jmp	LBB0_3
LBB0_5:
	movq	_E1000_EECD_DI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	notl	%esi
	andl	-44(%rbp), %esi
	movl	%esi, -44(%rbp)
	movq	_EECD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ew32
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EECD,4,2                       ## @EECD
	.comm	_e1000_nvm_eeprom_spi,8,3       ## @e1000_nvm_eeprom_spi
	.comm	_E1000_EECD_DO,4,2              ## @E1000_EECD_DO
	.comm	_E1000_EECD_DI,4,2              ## @E1000_EECD_DI
	.no_dead_strip	_e1000_shift_out_eec_bits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000_shift_out_eec_bits
_e1000_shift_out_eec_bits:              ; @e1000_shift_out_eec_bits
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x23, _EECD@GOTPAGE
Lloh1:
	ldr	x23, [x23, _EECD@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_er32
	mov	x22, x0
	sub	w0, w21, #1
	bl	_BIT
	mov	x21, x0
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _e1000_nvm_eeprom_spi@GOTPAGE
Lloh3:
	ldr	x9, [x9, _e1000_nvm_eeprom_spi@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	adrp	x10, _E1000_EECD_DO@GOTPAGE
Lloh6:
	ldr	x10, [x10, _E1000_EECD_DO@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	cmp	x8, x9
	csel	w8, w10, wzr, eq
	orr	w8, w22, w8
Lloh8:
	adrp	x22, _E1000_EECD_DI@GOTPAGE
Lloh9:
	ldr	x22, [x22, _E1000_EECD_DI@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x22]
	bic	w10, w8, w9
	orr	w8, w8, w9
	tst	w21, w19
	csel	w1, w10, w8, eq
	str	w1, [sp, #12]
	ldr	w0, [x23]
	bl	_ew32
	bl	_e1e_flush
	ldr	w0, [x20, #8]
	bl	_udelay
	add	x1, sp, #12
	mov	x0, x20
	bl	_e1000_raise_eec_clk
	add	x1, sp, #12
	mov	x0, x20
	bl	_e1000_lower_eec_clk
	cmp	w21, #2
	b.lo	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	asr	w21, w21, #1
	ldr	w8, [sp, #12]
	b	LBB0_1
LBB0_3:
	ldr	w8, [x22]
	ldr	w9, [sp, #12]
	bic	w1, w9, w8
	str	w1, [sp, #12]
	ldr	w0, [x23]
	bl	_ew32
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_EECD,4,2                       ; @EECD
	.comm	_e1000_nvm_eeprom_spi,8,3       ; @e1000_nvm_eeprom_spi
	.comm	_E1000_EECD_DO,4,2              ; @E1000_EECD_DO
	.comm	_E1000_EECD_DI,4,2              ; @E1000_EECD_DI
	.no_dead_strip	_e1000_shift_out_eec_bits
.subsections_via_symbols
