	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __carl9170_tx_process_status
___carl9170_tx_process_status:          ## @__carl9170_tx_process_status
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rdi, %r14
	movq	_ar9170_qmap@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_CARL9170_TX_STATUS_QUEUE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	andq	%rdx, %rcx
	movl	(%rax,%rcx,4), %edx
	shlq	$2, %rdx
	addq	(%rdi), %rdx
	callq	_carl9170_get_queued_skb
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IEEE80211_SKB_CB
	movq	_CARL9170_TX_STATUS_SUCCESS@GOTPCREL(%rip), %rcx
	xorl	%r12d, %r12d
	movq	(%rcx), %rcx
	andq	%rbx, %rcx
	setne	%r12b
	movq	_CARL9170_TX_STATUS_RIX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	andq	%rbx, %rsi
	movq	_CARL9170_TX_STATUS_RIX_S@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shrq	%cl, %rsi
	movq	_CARL9170_TX_STATUS_TRIES@GOTPCREL(%rip), %rcx
	andq	(%rcx), %rbx
	movq	_CARL9170_TX_STATUS_TRIES_S@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shrq	%cl, %rbx
	movq	%r14, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	movl	%ebx, %edx
	movq	%rax, %rcx
	callq	_carl9170_tx_fill_rateinfo
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_carl9170_tx_status             ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ar9170_qmap,8,3                ## @ar9170_qmap
	.comm	_CARL9170_TX_STATUS_QUEUE,8,3   ## @CARL9170_TX_STATUS_QUEUE
	.comm	_CARL9170_TX_STATUS_SUCCESS,8,3 ## @CARL9170_TX_STATUS_SUCCESS
	.comm	_CARL9170_TX_STATUS_RIX,8,3     ## @CARL9170_TX_STATUS_RIX
	.comm	_CARL9170_TX_STATUS_RIX_S,8,3   ## @CARL9170_TX_STATUS_RIX_S
	.comm	_CARL9170_TX_STATUS_TRIES,8,3   ## @CARL9170_TX_STATUS_TRIES
	.comm	_CARL9170_TX_STATUS_TRIES_S,8,3 ## @CARL9170_TX_STATUS_TRIES_S
	.no_dead_strip	___carl9170_tx_process_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __carl9170_tx_process_status
___carl9170_tx_process_status:          ; @__carl9170_tx_process_status
	.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	x20, x2
	mov	x19, x0
Lloh0:
	adrp	x8, _ar9170_qmap@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ar9170_qmap@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _CARL9170_TX_STATUS_QUEUE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CARL9170_TX_STATUS_QUEUE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	and	x9, x9, x2
	ldr	w8, [x8, x9, lsl #2]
	ldr	x9, [x0]
	add	x2, x9, x8, lsl #2
	bl	_carl9170_get_queued_skb
	cbz	x0, LBB0_2
; %bb.1:
	mov	x21, x0
	bl	_IEEE80211_SKB_CB
	mov	x3, x0
Lloh6:
	adrp	x8, _CARL9170_TX_STATUS_SUCCESS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CARL9170_TX_STATUS_SUCCESS@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	tst	x8, x20
	cset	w22, ne
Lloh9:
	adrp	x8, _CARL9170_TX_STATUS_RIX@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CARL9170_TX_STATUS_RIX@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	and	x8, x8, x20
Lloh12:
	adrp	x9, _CARL9170_TX_STATUS_RIX_S@GOTPAGE
Lloh13:
	ldr	x9, [x9, _CARL9170_TX_STATUS_RIX_S@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	lsr	x1, x8, x9
Lloh15:
	adrp	x8, _CARL9170_TX_STATUS_TRIES@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CARL9170_TX_STATUS_TRIES@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	and	x8, x8, x20
Lloh18:
	adrp	x9, _CARL9170_TX_STATUS_TRIES_S@GOTPAGE
Lloh19:
	ldr	x9, [x9, _CARL9170_TX_STATUS_TRIES_S@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	lsr	x2, x8, x9
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_carl9170_tx_fill_rateinfo
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	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	_carl9170_tx_status
LBB0_2:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ar9170_qmap,8,3                ; @ar9170_qmap
	.comm	_CARL9170_TX_STATUS_QUEUE,8,3   ; @CARL9170_TX_STATUS_QUEUE
	.comm	_CARL9170_TX_STATUS_SUCCESS,8,3 ; @CARL9170_TX_STATUS_SUCCESS
	.comm	_CARL9170_TX_STATUS_RIX,8,3     ; @CARL9170_TX_STATUS_RIX
	.comm	_CARL9170_TX_STATUS_RIX_S,8,3   ; @CARL9170_TX_STATUS_RIX_S
	.comm	_CARL9170_TX_STATUS_TRIES,8,3   ; @CARL9170_TX_STATUS_TRIES
	.comm	_CARL9170_TX_STATUS_TRIES_S,8,3 ; @CARL9170_TX_STATUS_TRIES_S
	.no_dead_strip	___carl9170_tx_process_status
.subsections_via_symbols
