	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function de_init_hw
_de_init_hw:                            ## @de_init_hw
	.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, %rbx
	movq	8(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	callq	_de_adapter_wake
	movq	_MacMode@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_dr32
	movl	%eax, %r12d
	movq	_MacModeClear@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	callq	_de_reset_mac
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	notl	%r14d
	andl	%r14d, %r12d
	movq	%rbx, %rdi
	callq	_de_set_media
	movq	_RxRingAddr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_dw32
	movq	_TxRingAddr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DE_RX_RING_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	shll	$2, %esi
	addl	(%rbx), %esi
	callq	_dw32
	movl	(%r13), %edi
	movq	_RxTx@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movl	%r12d, %esi
	callq	_dw32
	movq	_RxMissed@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_dr32
	movq	_IntrMask@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_de_intr_mask@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dw32
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_de_set_rx_mode
LBB0_2:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MacMode,4,2                    ## @MacMode
	.comm	_MacModeClear,4,2               ## @MacModeClear
	.comm	_RxRingAddr,4,2                 ## @RxRingAddr
	.comm	_TxRingAddr,4,2                 ## @TxRingAddr
	.comm	_DE_RX_RING_SIZE,4,2            ## @DE_RX_RING_SIZE
	.comm	_RxTx,4,2                       ## @RxTx
	.comm	_RxMissed,4,2                   ## @RxMissed
	.comm	_IntrMask,4,2                   ## @IntrMask
	.comm	_de_intr_mask,4,2               ## @de_intr_mask
	.no_dead_strip	_de_init_hw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function de_init_hw
_de_init_hw:                            ; @de_init_hw
	.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	x21, x0
	ldr	x19, [x0, #8]
	bl	_de_adapter_wake
Lloh0:
	adrp	x23, _MacMode@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MacMode@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_dr32
	mov	x22, x0
Lloh2:
	adrp	x8, _MacModeClear@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MacModeClear@GOTPAGEOFF]
Lloh4:
	ldr	w24, [x8]
	mov	x0, x21
	bl	_de_reset_mac
	mov	x20, x0
	cbnz	w0, LBB0_2
; %bb.1:
	bic	w22, w22, w24
	mov	x0, x21
	bl	_de_set_media
Lloh5:
	adrp	x8, _RxRingAddr@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RxRingAddr@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldr	w1, [x21]
	bl	_dw32
Lloh8:
	adrp	x8, _TxRingAddr@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TxRingAddr@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldr	w8, [x21]
Lloh11:
	adrp	x9, _DE_RX_RING_SIZE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _DE_RX_RING_SIZE@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	add	w1, w8, w9, lsl #2
	bl	_dw32
	ldr	w0, [x23]
Lloh14:
	adrp	x8, _RxTx@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RxTx@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	orr	w1, w8, w22
	bl	_dw32
Lloh17:
	adrp	x8, _RxMissed@GOTPAGE
Lloh18:
	ldr	x8, [x8, _RxMissed@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_dr32
Lloh20:
	adrp	x8, _IntrMask@GOTPAGE
Lloh21:
	ldr	x8, [x8, _IntrMask@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x8, _de_intr_mask@GOTPAGE
Lloh24:
	ldr	x8, [x8, _de_intr_mask@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	bl	_dw32
	mov	x0, x19
	bl	_de_set_rx_mode
LBB0_2:
	mov	x0, x20
	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	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MacMode,4,2                    ; @MacMode
	.comm	_MacModeClear,4,2               ; @MacModeClear
	.comm	_RxRingAddr,4,2                 ; @RxRingAddr
	.comm	_TxRingAddr,4,2                 ; @TxRingAddr
	.comm	_DE_RX_RING_SIZE,4,2            ; @DE_RX_RING_SIZE
	.comm	_RxTx,4,2                       ; @RxTx
	.comm	_RxMissed,4,2                   ; @RxMissed
	.comm	_IntrMask,4,2                   ; @IntrMask
	.comm	_de_intr_mask,4,2               ; @de_intr_mask
	.no_dead_strip	_de_init_hw
.subsections_via_symbols
