	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function txq_deinit
_txq_deinit:                            ## @txq_deinit
	.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
	callq	_txq_to_mp
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_txq_disable
	movl	(%rbx), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_txq_reclaim
	movq	8(%rbx), %rax
	xorl	%edi, %edi
	cmpq	16(%rbx), %rax
	setne	%dil
	callq	_BUG_ON
	cmpq	$0, 24(%rbx)
	movq	32(%rbx), %rsi
	jne	LBB0_3
## %bb.1:
	cmpq	(%r14), %rsi
	jle	LBB0_2
LBB0_3:
	movq	8(%r14), %rax
	movl	(%rax), %edi
	movq	64(%rbx), %rdx
	movl	60(%rbx), %ecx
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_dma_free_coherent
	jmp	LBB0_4
LBB0_2:
	movq	64(%rbx), %rdi
	callq	_iounmap
LBB0_4:
	movl	56(%rbx), %edi
	callq	_kfree
	movq	48(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_5
## %bb.6:
	movq	8(%r14), %rax
	movl	(%rax), %edi
	movq	_TSO_HEADER_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	imull	(%rbx), %esi
	movl	40(%rbx), %ecx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_dma_free_coherent              ## TAILCALL
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TSO_HEADER_SIZE,4,2            ## @TSO_HEADER_SIZE
	.no_dead_strip	_txq_deinit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function txq_deinit
_txq_deinit:                            ; @txq_deinit
	.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
	bl	_txq_to_mp
	mov	x20, x0
	mov	x0, x19
	bl	_txq_disable
	ldr	w1, [x19]
	mov	x0, x19
	mov	w2, #1
	bl	_txq_reclaim
	ldp	x8, x9, [x19, #8]
	cmp	x8, x9
	cset	w0, ne
	bl	_BUG_ON
	ldp	x8, x1, [x19, #24]
	cbnz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x20]
	cmp	x1, x8
	b.le	LBB0_3
LBB0_2:
	ldr	x8, [x20, #8]
	ldr	w0, [x8]
	ldr	x2, [x19, #64]
	ldr	w3, [x19, #60]
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_dma_free_coherent
	b	LBB0_4
LBB0_3:
	ldr	x0, [x19, #64]
	bl	_iounmap
LBB0_4:
	ldr	w0, [x19, #56]
	bl	_kfree
	ldr	x2, [x19, #48]
	cbz	x2, LBB0_6
; %bb.5:
	ldr	x8, [x20, #8]
	ldr	w0, [x8]
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _TSO_HEADER_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TSO_HEADER_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	mul	w1, w9, w8
	ldr	w3, [x19, #40]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dma_free_coherent
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TSO_HEADER_SIZE,4,2            ; @TSO_HEADER_SIZE
	.no_dead_strip	_txq_deinit
.subsections_via_symbols
