	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_release_eeprom
_e1000_release_eeprom:                  ## @e1000_release_eeprom
	.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
	movq	%rdi, %r14
	movq	_EECD@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_er32
	movl	%eax, %ebx
	movq	8(%r14), %rax
	movq	_e1000_eeprom_spi@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_E1000_EECD_CS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%ebx, %eax
	movq	_E1000_EECD_SK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movl	(%r15), %edi
	movl	%ebx, %esi
	callq	_ew32
	xorl	%eax, %eax
	callq	_E1000_WRITE_FLUSH
	leaq	16(%r14), %r12
	jmp	LBB0_4
LBB0_2:
	movq	_e1000_eeprom_microwire@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.3:
	movq	_E1000_EECD_CS@GOTPCREL(%rip), %rax
	movq	_E1000_EECD_DI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	andl	%ecx, %ebx
	movl	(%r15), %edi
	movl	%ebx, %esi
	callq	_ew32
	movq	_E1000_EECD_SK@GOTPCREL(%rip), %r13
	orl	(%r13), %ebx
	movl	(%r15), %edi
	movl	%ebx, %esi
	callq	_ew32
	xorl	%eax, %eax
	callq	_E1000_WRITE_FLUSH
	leaq	16(%r14), %r12
	movl	16(%r14), %edi
	callq	_udelay
	movl	(%r13), %eax
	notl	%eax
	andl	%eax, %ebx
	movl	(%r15), %edi
	movl	%ebx, %esi
	callq	_ew32
	xorl	%eax, %eax
	callq	_E1000_WRITE_FLUSH
LBB0_4:
	movl	(%r12), %edi
	callq	_udelay
LBB0_5:
	movq	(%r14), %rax
	movq	_e1000_82544@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_6
## %bb.7:
	movq	_E1000_EECD_REQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %ebx
	movl	(%r15), %edi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ew32                           ## TAILCALL
LBB0_6:
	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_eeprom_spi,8,3           ## @e1000_eeprom_spi
	.comm	_E1000_EECD_CS,4,2              ## @E1000_EECD_CS
	.comm	_E1000_EECD_SK,4,2              ## @E1000_EECD_SK
	.comm	_e1000_eeprom_microwire,8,3     ## @e1000_eeprom_microwire
	.comm	_E1000_EECD_DI,4,2              ## @E1000_EECD_DI
	.comm	_e1000_82544,8,3                ## @e1000_82544
	.comm	_E1000_EECD_REQ,4,2             ## @E1000_EECD_REQ
	.no_dead_strip	_e1000_release_eeprom
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000_release_eeprom
_e1000_release_eeprom:                  ; @e1000_release_eeprom
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x21, _EECD@GOTPAGE
Lloh1:
	ldr	x21, [x21, _EECD@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_er32
	mov	x20, x0
	ldr	x8, [x19, #8]
Lloh2:
	adrp	x9, _e1000_eeprom_spi@GOTPAGE
Lloh3:
	ldr	x9, [x9, _e1000_eeprom_spi@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _E1000_EECD_CS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _E1000_EECD_CS@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	orr	w8, w8, w20
Lloh8:
	adrp	x9, _E1000_EECD_SK@GOTPAGE
Lloh9:
	ldr	x9, [x9, _E1000_EECD_SK@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	bic	w20, w8, w9
	ldr	w0, [x21]
	mov	x1, x20
	bl	_ew32
	bl	_E1000_WRITE_FLUSH
	add	x22, x19, #16
	b	LBB0_4
LBB0_2:
Lloh11:
	adrp	x9, _e1000_eeprom_microwire@GOTPAGE
Lloh12:
	ldr	x9, [x9, _e1000_eeprom_microwire@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
Lloh14:
	adrp	x8, _E1000_EECD_CS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _E1000_EECD_CS@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _E1000_EECD_DI@GOTPAGE
Lloh18:
	ldr	x9, [x9, _E1000_EECD_DI@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w20, w20, w8
	ldr	w0, [x21]
	mov	x1, x20
	bl	_ew32
Lloh20:
	adrp	x23, _E1000_EECD_SK@GOTPAGE
Lloh21:
	ldr	x23, [x23, _E1000_EECD_SK@GOTPAGEOFF]
	ldr	w8, [x23]
	orr	w20, w8, w20
	ldr	w0, [x21]
	mov	x1, x20
	bl	_ew32
	bl	_E1000_WRITE_FLUSH
	mov	x22, x19
	ldr	w0, [x22, #16]!
	bl	_udelay
	ldr	w8, [x23]
	bic	w20, w20, w8
	ldr	w0, [x21]
	mov	x1, x20
	bl	_ew32
	bl	_E1000_WRITE_FLUSH
LBB0_4:
	ldr	w0, [x22]
	bl	_udelay
LBB0_5:
	ldr	x8, [x19]
Lloh22:
	adrp	x9, _e1000_82544@GOTPAGE
Lloh23:
	ldr	x9, [x9, _e1000_82544@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_7
; %bb.6:
Lloh25:
	adrp	x8, _E1000_EECD_REQ@GOTPAGE
Lloh26:
	ldr	x8, [x8, _E1000_EECD_REQ@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	bic	w1, w20, w8
	ldr	w0, [x21]
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ew32
LBB0_7:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_EECD,4,2                       ; @EECD
	.comm	_e1000_eeprom_spi,8,3           ; @e1000_eeprom_spi
	.comm	_E1000_EECD_CS,4,2              ; @E1000_EECD_CS
	.comm	_E1000_EECD_SK,4,2              ; @E1000_EECD_SK
	.comm	_e1000_eeprom_microwire,8,3     ; @e1000_eeprom_microwire
	.comm	_E1000_EECD_DI,4,2              ; @E1000_EECD_DI
	.comm	_e1000_82544,8,3                ; @e1000_82544
	.comm	_E1000_EECD_REQ,4,2             ; @E1000_EECD_REQ
	.no_dead_strip	_e1000_release_eeprom
.subsections_via_symbols
