	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function e82545_reset
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_e82545_reset:                          ## @e82545_reset
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_e82545_rx_disable
	movq	%rbx, %rdi
	callq	_e82545_tx_disable
	cmpq	$0, 360(%rbx)
	je	LBB0_2
## %bb.1:
	movl	352(%rbx), %edi
	callq	_pci_lintr_deassert
LBB0_2:
	testl	%r14d, %r14d
	jne	LBB0_4
## %bb.3:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 328(%rbx)
	movups	%xmm0, 312(%rbx)
	movq	$0, 344(%rbx)
LBB0_4:
	movabsq	$4503805903639298, %rax         ## imm = 0x10003007061302
	movq	%rax, (%rbx)
	movq	$0, 304(%rbx)
	movq	_E82545_NVM_MODE_OPADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 300(%rbx)
	movq	_E82545_NVM_OPADDR_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 296(%rbx)
	movq	_E1000_EECD_PRES@GOTPCREL(%rip), %rax
	movq	_E82545_EECD_FWE_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, 8(%rbx)
	movq	%rbx, %rdi
	callq	_e82545_init_eeprom
	movl	$250, 12(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 264(%rbx)
	movups	%xmm0, 280(%rbx)
	testl	%r14d, %r14d
	je	LBB0_6
## %bb.5:
	movq	232(%rbx), %rax
	movl	$0, (%rax)
	movl	$0, 8(%rax)
	movl	$0, 16(%rax)
	movl	$0, 24(%rax)
	movl	$0, 32(%rax)
	movl	$0, 40(%rax)
	movl	$0, 48(%rax)
	movl	$0, 56(%rax)
	movl	$0, 64(%rax)
	movl	$0, 72(%rax)
	movl	$0, 80(%rax)
	movl	$0, 88(%rax)
	movl	$0, 96(%rax)
	movl	$0, 104(%rax)
	movl	$0, 112(%rax)
	movl	$0, 120(%rax)
	jmp	LBB0_7
LBB0_6:
	movq	256(%rbx), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	248(%rbx), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	232(%rbx), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	232(%rbx), %rax
	movl	$1, (%rax)
	movl	4(%rax), %edi
	movl	240(%rbx), %esi
	movq	_ETHER_ADDR_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	xorps	%xmm0, %xmm0
	movups	%xmm0, 216(%rbx)
LBB0_7:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 192(%rbx)
	movups	%xmm0, 176(%rbx)
	movups	%xmm0, 160(%rbx)
	movq	$0, 208(%rbx)
	movl	$16842752, 16(%rbx)             ## imm = 0x1010000
	movups	%xmm0, 144(%rbx)
	testl	%r14d, %r14d
	jne	LBB0_9
## %bb.8:
	movups	%xmm0, 128(%rbx)
	movups	%xmm0, 112(%rbx)
	movups	%xmm0, 96(%rbx)
LBB0_9:
	movups	%xmm0, 72(%rbx)
	movups	%xmm0, 56(%rbx)
	movups	%xmm0, 40(%rbx)
	movups	%xmm0, 24(%rbx)
	movq	$0, 88(%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_E82545_NVM_MODE_OPADDR,4,2     ## @E82545_NVM_MODE_OPADDR
	.comm	_E82545_NVM_OPADDR_BITS,4,2     ## @E82545_NVM_OPADDR_BITS
	.comm	_E1000_EECD_PRES,4,2            ## @E1000_EECD_PRES
	.comm	_E82545_EECD_FWE_EN,4,2         ## @E82545_EECD_FWE_EN
	.comm	_ETHER_ADDR_LEN,4,2             ## @ETHER_ADDR_LEN
	.no_dead_strip	_e82545_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function e82545_reset
lCPI0_0:
	.long	117838594                       ; 0x7061302
	.long	1048624                         ; 0x100030
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_e82545_reset:                          ; @e82545_reset
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	bl	_e82545_rx_disable
	mov	x0, x19
	bl	_e82545_tx_disable
	ldr	x8, [x19, #360]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x19, #352]
	bl	_pci_lintr_deassert
LBB0_2:
	cbnz	w20, LBB0_4
; %bb.3:
	add	x8, x19, #312
	str	xzr, [x8, #32]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x8]
LBB0_4:
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19]
	str	xzr, [x19, #304]
Lloh2:
	adrp	x8, _E82545_NVM_MODE_OPADDR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _E82545_NVM_MODE_OPADDR@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x19, #300]
Lloh5:
	adrp	x8, _E82545_NVM_OPADDR_BITS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _E82545_NVM_OPADDR_BITS@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x19, #296]
Lloh8:
	adrp	x8, _E1000_EECD_PRES@GOTPAGE
Lloh9:
	ldr	x8, [x8, _E1000_EECD_PRES@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _E82545_EECD_FWE_EN@GOTPAGE
Lloh12:
	ldr	x9, [x9, _E82545_EECD_FWE_EN@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19, #8]
	mov	x0, x19
	bl	_e82545_init_eeprom
	mov	w8, #250
	str	w8, [x19, #12]
	stp	xzr, xzr, [x19, #280]
	stp	xzr, xzr, [x19, #264]
	cbz	w20, LBB0_6
; %bb.5:
	ldr	x8, [x19, #232]
	str	wzr, [x8]
	str	wzr, [x8, #8]
	str	wzr, [x8, #16]
	str	wzr, [x8, #24]
	str	wzr, [x8, #32]
	str	wzr, [x8, #40]
	str	wzr, [x8, #48]
	str	wzr, [x8, #56]
	str	wzr, [x8, #64]
	str	wzr, [x8, #72]
	str	wzr, [x8, #80]
	str	wzr, [x8, #88]
	str	wzr, [x8, #96]
	str	wzr, [x8, #104]
	str	wzr, [x8, #112]
	str	wzr, [x8, #120]
	b	LBB0_7
LBB0_6:
	ldr	x0, [x19, #256]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	x0, [x19, #248]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	x0, [x19, #232]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	x8, [x19, #232]
	mov	w9, #1
	str	w9, [x8]
	ldr	w0, [x8, #4]
	ldr	w1, [x19, #240]
Lloh14:
	adrp	x8, _ETHER_ADDR_LEN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ETHER_ADDR_LEN@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	bl	_memcpy
	stp	xzr, xzr, [x19, #216]
LBB0_7:
	str	xzr, [x19, #208]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x19, #176]
	str	q0, [x19, #160]
	mov	w8, #16842752
	str	w8, [x19, #16]
	stp	xzr, xzr, [x19, #144]
	cbnz	w20, LBB0_9
; %bb.8:
	stp	q0, q0, [x19, #112]
	str	q0, [x19, #96]
LBB0_9:
	str	xzr, [x19, #88]
	stur	q0, [x19, #72]
	stur	q0, [x19, #56]
	stur	q0, [x19, #40]
	stur	q0, [x19, #24]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdrp	Lloh0, Lloh2
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_E82545_NVM_MODE_OPADDR,4,2     ; @E82545_NVM_MODE_OPADDR
	.comm	_E82545_NVM_OPADDR_BITS,4,2     ; @E82545_NVM_OPADDR_BITS
	.comm	_E1000_EECD_PRES,4,2            ; @E1000_EECD_PRES
	.comm	_E82545_EECD_FWE_EN,4,2         ; @E82545_EECD_FWE_EN
	.comm	_ETHER_ADDR_LEN,4,2             ; @ETHER_ADDR_LEN
	.no_dead_strip	_e82545_reset
.subsections_via_symbols
