	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iflib_txq_setup
_iflib_txq_setup:                       ## @iflib_txq_setup
	.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, %r15
	movq	(%rdi), %rax
	movq	64(%rdi), %r14
	movq	(%r14), %r12
	movq	_IFLIB_QUEUE_IDLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 60(%rdi)
	movq	_IFLIB_DEFAULT_TX_UPDATE_FREQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 56(%rdi)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%rdi)
	movups	%xmm0, 24(%rdi)
	movq	8(%r14), %rcx
	movl	(%rcx,%rax,4), %eax
	movl	%eax, 20(%rdi)
	cmpl	$0, (%r12)
	jle	LBB0_3
## %bb.1:
	movq	8(%r15), %rbx
	addq	$16, %rbx
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	movl	-8(%rbx), %esi
	callq	_bzero
	incl	%r13d
	addq	$24, %rbx
	cmpl	(%r12), %r13d
	jl	LBB0_2
LBB0_3:
	movl	16(%r15), %esi
	movq	%r14, %rdi
	callq	_IFDI_TXQ_SETUP
	cmpl	$0, (%r12)
	jle	LBB0_6
## %bb.4:
	movq	8(%r15), %rbx
	addq	$4, %rbx
	xorl	%r14d, %r14d
	movq	_BUS_DMASYNC_PREREAD@GOTPCREL(%rip), %r15
	movq	_BUS_DMASYNC_PREWRITE@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	-4(%rbx), %esi
	movl	(%rbx), %edi
	movl	(%r13), %edx
	orl	(%r15), %edx
	callq	_bus_dmamap_sync
	incl	%r14d
	addq	$24, %rbx
	cmpl	(%r12), %r14d
	jl	LBB0_5
LBB0_6:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IFLIB_QUEUE_IDLE,4,2           ## @IFLIB_QUEUE_IDLE
	.comm	_IFLIB_DEFAULT_TX_UPDATE_FREQ,4,2 ## @IFLIB_DEFAULT_TX_UPDATE_FREQ
	.comm	_BUS_DMASYNC_PREREAD,4,2        ## @BUS_DMASYNC_PREREAD
	.comm	_BUS_DMASYNC_PREWRITE,4,2       ## @BUS_DMASYNC_PREWRITE
	.no_dead_strip	_iflib_txq_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iflib_txq_setup
_iflib_txq_setup:                       ; @iflib_txq_setup
	.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	x19, x0
	ldr	x20, [x0, #64]
	ldr	x21, [x20]
Lloh0:
	adrp	x8, _IFLIB_QUEUE_IDLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IFLIB_QUEUE_IDLE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _IFLIB_DEFAULT_TX_UPDATE_FREQ@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IFLIB_DEFAULT_TX_UPDATE_FREQ@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #56]
	movi.2d	v0, #0000000000000000
	stur	q0, [x0, #24]
	stur	q0, [x0, #40]
	ldr	x8, [x20, #8]
	ldr	x9, [x0]
	ldr	w8, [x8, x9, lsl #2]
	str	w8, [x0, #20]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w22, #0
	ldr	x8, [x19, #8]
	add	x23, x8, #16
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x23]
	ldur	w1, [x23, #-8]
	bl	_bzero
	add	w22, w22, #1
	ldr	w8, [x21]
	add	x23, x23, #24
	cmp	w22, w8
	b.lt	LBB0_2
LBB0_3:
	ldr	w1, [x19, #16]
	mov	x0, x20
	bl	_IFDI_TXQ_SETUP
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	w20, #0
	ldr	x8, [x19, #8]
	add	x19, x8, #4
Lloh6:
	adrp	x22, _BUS_DMASYNC_PREREAD@GOTPAGE
Lloh7:
	ldr	x22, [x22, _BUS_DMASYNC_PREREAD@GOTPAGEOFF]
Lloh8:
	adrp	x23, _BUS_DMASYNC_PREWRITE@GOTPAGE
Lloh9:
	ldr	x23, [x23, _BUS_DMASYNC_PREWRITE@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w1, w0, [x19, #-4]
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w2, w9, w8
	bl	_bus_dmamap_sync
	add	w20, w20, #1
	ldr	w8, [x21]
	add	x19, x19, #24
	cmp	w20, w8
	b.lt	LBB0_5
LBB0_6:
	mov	w0, #0
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_IFLIB_QUEUE_IDLE,4,2           ; @IFLIB_QUEUE_IDLE
	.comm	_IFLIB_DEFAULT_TX_UPDATE_FREQ,4,2 ; @IFLIB_DEFAULT_TX_UPDATE_FREQ
	.comm	_BUS_DMASYNC_PREREAD,4,2        ; @BUS_DMASYNC_PREREAD
	.comm	_BUS_DMASYNC_PREWRITE,4,2       ; @BUS_DMASYNC_PREWRITE
	.no_dead_strip	_iflib_txq_setup
.subsections_via_symbols
