	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e82545_eecd_strobe
_e82545_eecd_strobe:                    ## @e82545_eecd_strobe
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rdx
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	decq	%rdx
	movq	%rdx, (%rbx)
	movq	8(%rbx), %rsi
	movq	_E82545_NVM_MODE_DATAOUT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rsi
	je	LBB0_3
## %bb.9:
	movq	_E82545_NVM_MODE_DATAIN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	cmpq	%rdi, %rsi
	je	LBB0_10
## %bb.19:
	movq	_E82545_NVM_MODE_OPADDR@GOTPCREL(%rip), %r14
	movq	16(%rbx), %rcx
	cmpq	(%r14), %rsi
	je	LBB0_20
## %bb.31:
	movl	24(%rbx), %r8d
	leaq	L_.str.8(%rip), %rdi
	jmp	LBB0_32
LBB0_1:
	movq	8(%rbx), %rsi
	movq	16(%rbx), %rcx
	movl	24(%rbx), %r8d
	leaq	L_.str(%rip), %rdi
	xorl	%edx, %edx
LBB0_32:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_DPRINTF                        ## TAILCALL
LBB0_3:
	movl	24(%rbx), %eax
	movq	_E1000_EECD_DO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	$32768, %eax                    ## imm = 0x8000
	jne	LBB0_4
## %bb.5:
	notl	%ecx
	andl	%ecx, 28(%rbx)
	jmp	LBB0_6
LBB0_10:
	movl	24(%rbx), %eax
	addl	%eax, %eax
	movl	%eax, 24(%rbx)
	movq	_E1000_EECD_DI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 28(%rbx)
	je	LBB0_12
## %bb.11:
	orl	$1, %eax
	movl	%eax, 24(%rbx)
LBB0_12:
	testq	%rdx, %rdx
	jne	LBB0_35
## %bb.13:
	movq	16(%rbx), %rsi
	movq	_E82545_NVM_OPCODE_MASK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	andq	%rsi, %rcx
	cmpq	$128, %rcx
	jne	LBB0_14
## %bb.16:
	movq	_E82545_NVM_ADDR_MASK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r14
	andq	%rsi, %r14
	movq	_E82545_NVM_EEPROM_SIZE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r14
	jge	LBB0_17
## %bb.18:
	leaq	L_.str.3(%rip), %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_DPRINTF
	movl	24(%rbx), %eax
	movq	32(%rbx), %rcx
	movl	%eax, (%rcx,%r14,4)
	jmp	LBB0_7
LBB0_4:
	orl	%ecx, 28(%rbx)
LBB0_6:
	addl	%eax, %eax
	movl	%eax, 24(%rbx)
	testq	%rdx, %rdx
	jne	LBB0_35
	jmp	LBB0_7
LBB0_20:
	addq	%rcx, %rcx
	movq	%rcx, 16(%rbx)
	movq	_E1000_EECD_DI@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	testl	%esi, 28(%rbx)
	je	LBB0_22
## %bb.21:
	orq	$1, %rcx
	movq	%rcx, 16(%rbx)
LBB0_22:
	testq	%rdx, %rdx
	jne	LBB0_35
## %bb.23:
	movq	_E82545_NVM_OPCODE_MASK@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	andq	%rcx, %rdx
	cmpq	$128, %rdx
	je	LBB0_33
## %bb.24:
	cmpq	$129, %rdx
	je	LBB0_28
## %bb.25:
	cmpq	$130, %rdx
	jne	LBB0_30
## %bb.26:
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_27
LBB0_14:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_15
LBB0_17:
	leaq	L_.str.2(%rip), %rdi
LBB0_15:
	xorl	%eax, %eax
	callq	_DPRINTF
LBB0_7:
	movq	$0, 16(%rbx)
	movq	_E82545_NVM_MODE_OPADDR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_8:
	movq	%rax, 8(%rbx)
	movq	_E82545_NVM_OPADDR_BITS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
LBB0_35:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_33:
	movq	%rdi, 8(%rbx)
	movq	_E82545_NVM_DATA_BITS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	jmp	LBB0_34
LBB0_28:
	movq	_E82545_NVM_ADDR_MASK@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	andq	%rcx, %rsi
	movq	%rax, 8(%rbx)
	movq	_E82545_NVM_DATA_BITS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movq	_E82545_NVM_EEPROM_SIZE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	jge	LBB0_29
## %bb.36:
	movq	32(%rbx), %rax
	movl	(%rax,%rsi,4), %edx
	movl	%edx, 24(%rbx)
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_DPRINTF                        ## TAILCALL
LBB0_30:
	leaq	L_.str.7(%rip), %rdi
LBB0_27:
	movq	%rcx, %rsi
	xorl	%eax, %eax
	callq	_DPRINTF
	movq	$0, 16(%rbx)
	movq	(%r14), %rax
	jmp	LBB0_8
LBB0_29:
	leaq	L_.str.6(%rip), %rdi
	movq	%rcx, %rsi
	xorl	%eax, %eax
	callq	_DPRINTF
LBB0_34:
	movl	$0, 24(%rbx)
	jmp	LBB0_35
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"eeprom state machine not expecting data! 0x%x 0x%x 0x%x 0x%x\r\n"

	.comm	_E82545_NVM_MODE_DATAOUT,8,3    ## @E82545_NVM_MODE_DATAOUT
	.comm	_E1000_EECD_DO,4,2              ## @E1000_EECD_DO
	.comm	_E82545_NVM_MODE_OPADDR,8,3     ## @E82545_NVM_MODE_OPADDR
	.comm	_E82545_NVM_OPADDR_BITS,8,3     ## @E82545_NVM_OPADDR_BITS
	.comm	_E82545_NVM_MODE_DATAIN,8,3     ## @E82545_NVM_MODE_DATAIN
	.comm	_E1000_EECD_DI,4,2              ## @E1000_EECD_DI
	.comm	_E82545_NVM_OPCODE_MASK,8,3     ## @E82545_NVM_OPCODE_MASK
	.comm	_E82545_NVM_ADDR_MASK,8,3       ## @E82545_NVM_ADDR_MASK
L_.str.1:                               ## @.str.1
	.asciz	"Illegal eeprom write op 0x%x\r\n"

	.comm	_E82545_NVM_EEPROM_SIZE,8,3     ## @E82545_NVM_EEPROM_SIZE
L_.str.2:                               ## @.str.2
	.asciz	"Illegal eeprom write addr 0x%x\r\n"

L_.str.3:                               ## @.str.3
	.asciz	"eeprom write eeprom[0x%x] = 0x%x\r\n"

L_.str.4:                               ## @.str.4
	.asciz	"eeprom write enable: 0x%x\r\n"

	.comm	_E82545_NVM_DATA_BITS,8,3       ## @E82545_NVM_DATA_BITS
L_.str.5:                               ## @.str.5
	.asciz	"eeprom read: eeprom[0x%x] = 0x%x\r\n"

L_.str.6:                               ## @.str.6
	.asciz	"eeprom illegal read: 0x%x\r\n"

L_.str.7:                               ## @.str.7
	.asciz	"eeprom unknown op: 0x%x\r\r"

L_.str.8:                               ## @.str.8
	.asciz	"eeprom state machine wrong state! 0x%x 0x%x 0x%x 0x%x\r\n"

	.no_dead_strip	_e82545_eecd_strobe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e82545_eecd_strobe
_e82545_eecd_strobe:                    ; @e82545_eecd_strobe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_5
; %bb.1:
	sub	x8, x8, #1
	str	x8, [x19]
	ldr	x1, [x19, #8]
Lloh0:
	adrp	x9, _E82545_NVM_MODE_DATAOUT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _E82545_NVM_MODE_DATAOUT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x1, x9
	b.eq	LBB0_7
; %bb.2:
Lloh3:
	adrp	x10, _E82545_NVM_MODE_DATAIN@GOTPAGE
Lloh4:
	ldr	x10, [x10, _E82545_NVM_MODE_DATAIN@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x1, x10
	b.eq	LBB0_9
; %bb.3:
Lloh6:
	adrp	x20, _E82545_NVM_MODE_OPADDR@GOTPAGE
Lloh7:
	ldr	x20, [x20, _E82545_NVM_MODE_OPADDR@GOTPAGEOFF]
	ldr	x12, [x20]
	ldr	x11, [x19, #16]
	cmp	x1, x12
	b.eq	LBB0_17
; %bb.4:
	ldr	w9, [x19, #24]
	stp	x11, x9, [sp, #8]
	str	x8, [sp]
Lloh8:
	adrp	x0, l_.str.8@PAGE
Lloh9:
	add	x0, x0, l_.str.8@PAGEOFF
	b	LBB0_6
LBB0_5:
	ldp	x1, x8, [x19, #8]
	ldr	w9, [x19, #24]
	stp	x8, x9, [sp, #8]
	str	xzr, [sp]
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
LBB0_6:
	bl	_DPRINTF
	b	LBB0_29
LBB0_7:
	ldr	w9, [x19, #24]
Lloh12:
	adrp	x10, _E1000_EECD_DO@GOTPAGE
Lloh13:
	ldr	x10, [x10, _E1000_EECD_DO@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	tbnz	w9, #15, LBB0_15
; %bb.8:
	ldr	w11, [x19, #28]
	bic	w10, w11, w10
	b	LBB0_16
LBB0_9:
	ldp	w9, w10, [x19, #24]
	lsl	w9, w9, #1
	str	w9, [x19, #24]
Lloh15:
	adrp	x11, _E1000_EECD_DI@GOTPAGE
Lloh16:
	ldr	x11, [x11, _E1000_EECD_DI@GOTPAGEOFF]
Lloh17:
	ldr	w11, [x11]
	tst	w11, w10
	b.eq	LBB0_11
; %bb.10:
	orr	w9, w9, #0x1
	str	w9, [x19, #24]
LBB0_11:
	cbnz	x8, LBB0_29
; %bb.12:
	ldr	x1, [x19, #16]
Lloh18:
	adrp	x8, _E82545_NVM_OPCODE_MASK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _E82545_NVM_OPCODE_MASK@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	and	x8, x8, x1
	cmp	x8, #128
	b.ne	LBB0_24
; %bb.13:
Lloh21:
	adrp	x8, _E82545_NVM_ADDR_MASK@GOTPAGE
Lloh22:
	ldr	x8, [x8, _E82545_NVM_ADDR_MASK@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	and	x20, x8, x1
Lloh24:
	adrp	x8, _E82545_NVM_EEPROM_SIZE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _E82545_NVM_EEPROM_SIZE@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	cmp	x20, x8
	b.ge	LBB0_25
; %bb.14:
	str	x9, [sp]
Lloh27:
	adrp	x0, l_.str.3@PAGE
Lloh28:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x20
	bl	_DPRINTF
	ldr	w8, [x19, #24]
	ldr	x9, [x19, #32]
	str	w8, [x9, x20, lsl #2]
	b	LBB0_27
LBB0_15:
	ldr	w11, [x19, #28]
	orr	w10, w11, w10
LBB0_16:
	lsl	w9, w9, #1
	stp	w9, w10, [x19, #24]
	cbnz	x8, LBB0_29
	b	LBB0_27
LBB0_17:
	lsl	x1, x11, #1
	str	x1, [x19, #16]
	ldr	w11, [x19, #28]
Lloh29:
	adrp	x12, _E1000_EECD_DI@GOTPAGE
Lloh30:
	ldr	x12, [x12, _E1000_EECD_DI@GOTPAGEOFF]
Lloh31:
	ldr	w12, [x12]
	tst	w12, w11
	b.eq	LBB0_19
; %bb.18:
	orr	x1, x1, #0x1
	str	x1, [x19, #16]
LBB0_19:
	cbnz	x8, LBB0_29
; %bb.20:
Lloh32:
	adrp	x8, _E82545_NVM_OPCODE_MASK@GOTPAGE
Lloh33:
	ldr	x8, [x8, _E82545_NVM_OPCODE_MASK@GOTPAGEOFF]
Lloh34:
	ldr	x8, [x8]
	and	x8, x8, x1
	cmp	x8, #128
	b.eq	LBB0_30
; %bb.21:
	cmp	x8, #129
	b.eq	LBB0_31
; %bb.22:
	cmp	x8, #130
	b.ne	LBB0_33
; %bb.23:
Lloh35:
	adrp	x0, l_.str.4@PAGE
Lloh36:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_34
LBB0_24:
Lloh37:
	adrp	x0, l_.str.1@PAGE
Lloh38:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_26
LBB0_25:
Lloh39:
	adrp	x0, l_.str.2@PAGE
Lloh40:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_26:
	bl	_DPRINTF
LBB0_27:
	str	xzr, [x19, #16]
Lloh41:
	adrp	x8, _E82545_NVM_MODE_OPADDR@GOTPAGE
Lloh42:
	ldr	x8, [x8, _E82545_NVM_MODE_OPADDR@GOTPAGEOFF]
Lloh43:
	ldr	x8, [x8]
LBB0_28:
Lloh44:
	adrp	x9, _E82545_NVM_OPADDR_BITS@GOTPAGE
Lloh45:
	ldr	x9, [x9, _E82545_NVM_OPADDR_BITS@GOTPAGEOFF]
Lloh46:
	ldr	x9, [x9]
	stp	x9, x8, [x19]
LBB0_29:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_30:
Lloh47:
	adrp	x8, _E82545_NVM_DATA_BITS@GOTPAGE
Lloh48:
	ldr	x8, [x8, _E82545_NVM_DATA_BITS@GOTPAGEOFF]
Lloh49:
	ldr	x8, [x8]
	stp	x8, x10, [x19]
	str	wzr, [x19, #24]
	b	LBB0_29
LBB0_31:
Lloh50:
	adrp	x8, _E82545_NVM_ADDR_MASK@GOTPAGE
Lloh51:
	ldr	x8, [x8, _E82545_NVM_ADDR_MASK@GOTPAGEOFF]
Lloh52:
	ldr	x8, [x8]
	and	x8, x8, x1
Lloh53:
	adrp	x10, _E82545_NVM_DATA_BITS@GOTPAGE
Lloh54:
	ldr	x10, [x10, _E82545_NVM_DATA_BITS@GOTPAGEOFF]
Lloh55:
	ldr	x10, [x10]
	stp	x10, x9, [x19]
Lloh56:
	adrp	x9, _E82545_NVM_EEPROM_SIZE@GOTPAGE
Lloh57:
	ldr	x9, [x9, _E82545_NVM_EEPROM_SIZE@GOTPAGEOFF]
Lloh58:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_35
; %bb.32:
	ldr	x9, [x19, #32]
	ldr	w9, [x9, x8, lsl #2]
	str	w9, [x19, #24]
	str	x9, [sp]
Lloh59:
	adrp	x0, l_.str.5@PAGE
Lloh60:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x8
	b	LBB0_6
LBB0_33:
Lloh61:
	adrp	x0, l_.str.7@PAGE
Lloh62:
	add	x0, x0, l_.str.7@PAGEOFF
LBB0_34:
	bl	_DPRINTF
	str	xzr, [x19, #16]
	ldr	x8, [x20]
	b	LBB0_28
LBB0_35:
Lloh63:
	adrp	x0, l_.str.6@PAGE
Lloh64:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_DPRINTF
	str	wzr, [x19, #24]
	b	LBB0_29
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpAdd	Lloh63, Lloh64
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"eeprom state machine not expecting data! 0x%x 0x%x 0x%x 0x%x\r\n"

	.comm	_E82545_NVM_MODE_DATAOUT,8,3    ; @E82545_NVM_MODE_DATAOUT
	.comm	_E1000_EECD_DO,4,2              ; @E1000_EECD_DO
	.comm	_E82545_NVM_MODE_OPADDR,8,3     ; @E82545_NVM_MODE_OPADDR
	.comm	_E82545_NVM_OPADDR_BITS,8,3     ; @E82545_NVM_OPADDR_BITS
	.comm	_E82545_NVM_MODE_DATAIN,8,3     ; @E82545_NVM_MODE_DATAIN
	.comm	_E1000_EECD_DI,4,2              ; @E1000_EECD_DI
	.comm	_E82545_NVM_OPCODE_MASK,8,3     ; @E82545_NVM_OPCODE_MASK
	.comm	_E82545_NVM_ADDR_MASK,8,3       ; @E82545_NVM_ADDR_MASK
l_.str.1:                               ; @.str.1
	.asciz	"Illegal eeprom write op 0x%x\r\n"

	.comm	_E82545_NVM_EEPROM_SIZE,8,3     ; @E82545_NVM_EEPROM_SIZE
l_.str.2:                               ; @.str.2
	.asciz	"Illegal eeprom write addr 0x%x\r\n"

l_.str.3:                               ; @.str.3
	.asciz	"eeprom write eeprom[0x%x] = 0x%x\r\n"

l_.str.4:                               ; @.str.4
	.asciz	"eeprom write enable: 0x%x\r\n"

	.comm	_E82545_NVM_DATA_BITS,8,3       ; @E82545_NVM_DATA_BITS
l_.str.5:                               ; @.str.5
	.asciz	"eeprom read: eeprom[0x%x] = 0x%x\r\n"

l_.str.6:                               ; @.str.6
	.asciz	"eeprom illegal read: 0x%x\r\n"

l_.str.7:                               ; @.str.7
	.asciz	"eeprom unknown op: 0x%x\r\r"

l_.str.8:                               ; @.str.8
	.asciz	"eeprom state machine wrong state! 0x%x 0x%x 0x%x 0x%x\r\n"

	.no_dead_strip	_e82545_eecd_strobe
.subsections_via_symbols
