	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prepare_hardware
_prepare_hardware:                      ## @prepare_hardware
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	(%rax), %r12
	movq	%rbx, 8(%r12)
	movl	(%rbx), %ecx
	movl	4(%rbx), %edi
	movq	_netdev_intr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %r8
	callq	_request_irq
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	leaq	16(%r12), %r15
	leaq	4(%r12), %rdi
	movq	_rx_proc_task@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdx
	callq	_tasklet_init
	movq	_tx_proc_task@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movq	%r12, %rdx
	callq	_tasklet_init
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%r12)
	movq	$0, 40(%r12)
	movq	%r15, %rdi
	callq	_hw_reset
	movl	16(%r12), %edx
	movl	20(%r12), %esi
	movq	%r15, %rdi
	callq	_hw_set_desc_base
	movq	%r15, %rdi
	callq	_hw_set_addr
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_hw_cfg_huge_frame
	movq	%r12, %rdi
	callq	_ksz_init_rx_buffers
LBB0_2:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_netdev_intr,4,2                ## @netdev_intr
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
	.comm	_rx_proc_task,4,2               ## @rx_proc_task
	.comm	_tx_proc_task,4,2               ## @tx_proc_task
	.no_dead_strip	_prepare_hardware
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prepare_hardware
_prepare_hardware:                      ; @prepare_hardware
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x0
	bl	_netdev_priv
	ldr	x19, [x0]
	str	x20, [x19, #8]
Lloh0:
	adrp	x8, _netdev_intr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _netdev_intr@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	ldp	w3, w0, [x20]
	mov	x4, x20
	bl	_request_irq
	mov	x20, x0
	cbnz	w0, LBB0_2
; %bb.1:
	add	x21, x19, #16
	add	x0, x19, #4
Lloh6:
	adrp	x8, _rx_proc_task@GOTPAGE
Lloh7:
	ldr	x8, [x8, _rx_proc_task@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_tasklet_init
Lloh9:
	adrp	x8, _tx_proc_task@GOTPAGE
Lloh10:
	ldr	x8, [x8, _tx_proc_task@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x19
	bl	_tasklet_init
	stp	xzr, xzr, [x19, #32]
	str	xzr, [x19, #24]
	mov	x0, x21
	bl	_hw_reset
	ldp	w2, w1, [x19, #16]
	mov	x0, x21
	bl	_hw_set_desc_base
	mov	x0, x21
	bl	_hw_set_addr
	mov	x0, x19
	mov	x1, x21
	bl	_hw_cfg_huge_frame
	mov	x0, x19
	bl	_ksz_init_rx_buffers
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_netdev_intr,4,2                ; @netdev_intr
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
	.comm	_rx_proc_task,4,2               ; @rx_proc_task
	.comm	_tx_proc_task,4,2               ; @tx_proc_task
	.no_dead_strip	_prepare_hardware
.subsections_via_symbols
