	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iflib_txq_destroy
_iflib_txq_destroy:                     ## @iflib_txq_destroy
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	cmpl	$0, (%rdi)
	jle	LBB0_3
## %bb.1:
	movl	72(%r14), %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %edi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_iflib_txsd_destroy
	incl	%ebx
	cmpl	(%r14), %ebx
	jl	LBB0_2
LBB0_3:
	movq	64(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	callq	_ifmp_ring_free
	movq	$0, 64(%r14)
LBB0_5:
	leaq	56(%r14), %rdi
	callq	_mtx_destroy
	movq	48(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	movq	_M_IFLIB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_free
	movq	$0, 48(%r14)
LBB0_7:
	movq	40(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.8:
	movq	_M_IFLIB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_free
	movq	$0, 40(%r14)
LBB0_9:
	movq	32(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.10:
	movq	_M_IFLIB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_free
	movq	$0, 32(%r14)
LBB0_11:
	movq	24(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.12:
	callq	_bus_dma_tag_destroy
	movq	$0, 24(%r14)
LBB0_13:
	movq	16(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.14:
	callq	_bus_dma_tag_destroy
	movq	$0, 16(%r14)
LBB0_15:
	movq	8(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.17:
	movq	_M_IFLIB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_IFLIB,4,2                    ## @M_IFLIB
	.no_dead_strip	_iflib_txq_destroy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iflib_txq_destroy
_iflib_txq_destroy:                     ; @iflib_txq_destroy
	.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	x19, x0
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w20, #0
	ldr	w21, [x19, #72]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_iflib_txsd_destroy
	add	w20, w20, #1
	ldr	w8, [x19]
	cmp	w20, w8
	b.lt	LBB0_2
LBB0_3:
	ldr	x0, [x19, #64]
	cbz	x0, LBB0_5
; %bb.4:
	bl	_ifmp_ring_free
	str	xzr, [x19, #64]
LBB0_5:
	add	x0, x19, #56
	bl	_mtx_destroy
	ldr	x0, [x19, #48]
Lloh0:
	adrp	x20, _M_IFLIB@GOTPAGE
Lloh1:
	ldr	x20, [x20, _M_IFLIB@GOTPAGEOFF]
	cbz	x0, LBB0_7
; %bb.6:
	ldr	w1, [x20]
	bl	_free
	str	xzr, [x19, #48]
LBB0_7:
	ldr	x0, [x19, #40]
	cbz	x0, LBB0_9
; %bb.8:
	ldr	w1, [x20]
	bl	_free
	str	xzr, [x19, #40]
LBB0_9:
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_11
; %bb.10:
	ldr	w1, [x20]
	bl	_free
	str	xzr, [x19, #32]
LBB0_11:
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_13
; %bb.12:
	bl	_bus_dma_tag_destroy
	str	xzr, [x19, #24]
LBB0_13:
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_15
; %bb.14:
	bl	_bus_dma_tag_destroy
	str	xzr, [x19, #16]
LBB0_15:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_17
; %bb.16:
	ldr	w1, [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
	b	_free
LBB0_17:
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_M_IFLIB,4,2                    ; @M_IFLIB
	.no_dead_strip	_iflib_txq_destroy
.subsections_via_symbols
