	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_htc_txcompletion_cb      ## -- Begin function ath9k_htc_txcompletion_cb
	.p2align	4, 0x90
_ath9k_htc_txcompletion_cb:             ## @ath9k_htc_txcompletion_cb
	.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	%rsi, %r15
	movq	%rdi, %r13
	movl	(%rdi), %eax
	movq	_HTC_OP_CONFIG_PIPE_CREDITS@GOTPCREL(%rip), %rbx
	testl	%eax, (%rbx)
	jne	LBB0_5
## %bb.1:
	movq	_HTC_OP_START_WAIT@GOTPCREL(%rip), %rbx
	testl	%eax, (%rbx)
	je	LBB0_2
LBB0_5:
	leaq	16(%r13), %rdi
	callq	_complete
	movl	(%rbx), %eax
	notl	%eax
	andl	%eax, (%r13)
LBB0_4:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree_skb                      ## TAILCALL
LBB0_2:
	testq	%r15, %r15
	je	LBB0_6
## %bb.3:
	movl	%edx, %r14d
	movq	(%r15), %r12
	movq	8(%r13), %r13
	movq	(%r12), %rbx
	movq	%r15, %rdi
	movl	$8, %esi
	callq	_skb_pull
	shlq	$4, %rbx
	movq	8(%r13,%rbx), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.7:
	movl	(%r13,%rbx), %edi
	movq	(%r12), %rdx
	movq	%r15, %rsi
	movl	%r14d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HTC_OP_CONFIG_PIPE_CREDITS,4,2 ## @HTC_OP_CONFIG_PIPE_CREDITS
	.comm	_HTC_OP_START_WAIT,4,2          ## @HTC_OP_START_WAIT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_htc_txcompletion_cb      ; -- Begin function ath9k_htc_txcompletion_cb
	.p2align	2
_ath9k_htc_txcompletion_cb:             ; @ath9k_htc_txcompletion_cb
	.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, x1
	mov	x21, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x22, _HTC_OP_CONFIG_PIPE_CREDITS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _HTC_OP_CONFIG_PIPE_CREDITS@GOTPAGEOFF]
	ldr	w9, [x22]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.1:
Lloh2:
	adrp	x22, _HTC_OP_START_WAIT@GOTPAGE
Lloh3:
	ldr	x22, [x22, _HTC_OP_START_WAIT@GOTPAGEOFF]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_4
LBB0_2:
	add	x0, x21, #16
	bl	_complete
	ldr	w8, [x22]
	ldr	w9, [x21]
	bic	w8, w9, w8
	str	w8, [x21]
LBB0_3:
	mov	x0, x19
	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
	b	_kfree_skb
LBB0_4:
	cbz	x19, LBB0_7
; %bb.5:
	mov	x20, x2
	ldr	x22, [x19]
	ldr	x21, [x21, #8]
	ldr	x23, [x22]
	mov	x0, x19
	mov	w1, #8
	bl	_skb_pull
	add	x8, x21, x23, lsl #4
	ldr	x4, [x8, #8]
	cbz	x4, LBB0_3
; %bb.6:
	lsl	x8, x23, #4
	ldr	w0, [x21, x8]
	ldr	x2, [x22]
	mov	x1, x19
	mov	x3, x20
	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
	br	x4
LBB0_7:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_HTC_OP_CONFIG_PIPE_CREDITS,4,2 ; @HTC_OP_CONFIG_PIPE_CREDITS
	.comm	_HTC_OP_START_WAIT,4,2          ; @HTC_OP_START_WAIT
.subsections_via_symbols
