	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ef4_init_tx_queue              ## -- Begin function ef4_init_tx_queue
	.p2align	4, 0x90
_ef4_init_tx_queue:                     ## @ef4_init_tx_queue
	.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	64(%rdi), %r14
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movl	56(%rdi), %r8d
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	callq	_netif_dbg
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rbx)
	movups	%xmm0, 32(%rbx)
	movq	$0, 48(%rbx)
	movq	_EF4_EMPTY_COUNT_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movl	$0, 4(%rbx)
	movq	%r14, %rdi
	callq	_EF4_WORKAROUND_15592
	xorl	%ecx, %ecx
	testq	%rax, %rax
	movl	$33, %eax
	cmovel	%ecx, %eax
	movl	%eax, 8(%rbx)
	movq	%rbx, %rdi
	callq	_ef4_nic_init_tx
	movl	$1, 12(%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_drv,4,2                        ## @drv
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"initialising TX queue %d\n"

	.comm	_EF4_EMPTY_COUNT_VALID,4,2      ## @EF4_EMPTY_COUNT_VALID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ef4_init_tx_queue              ; -- Begin function ef4_init_tx_queue
	.p2align	2
_ef4_init_tx_queue:                     ; @ef4_init_tx_queue
	.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	x19, x0
	ldr	x20, [x0, #64]
Lloh0:
	adrp	x8, _drv@GOTPAGE
Lloh1:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x20]
	ldr	w4, [x0, #56]
Lloh3:
	adrp	x3, l_.str@PAGE
Lloh4:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	bl	_netif_dbg
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x19, #16]
	str	xzr, [x19, #48]
Lloh5:
	adrp	x8, _EF4_EMPTY_COUNT_VALID@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EF4_EMPTY_COUNT_VALID@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	stp	w8, wzr, [x19]
	mov	x0, x20
	bl	_EF4_WORKAROUND_15592
	cmp	x0, #0
	mov	w8, #33
	csel	w8, wzr, w8, eq
	str	w8, [x19, #8]
	mov	x0, x19
	bl	_ef4_nic_init_tx
	mov	w8, #1
	str	w8, [x19, #12]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_drv,4,2                        ; @drv
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"initialising TX queue %d\n"

	.comm	_EF4_EMPTY_COUNT_VALID,4,2      ; @EF4_EMPTY_COUNT_VALID
.subsections_via_symbols
