	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8187_tx_cb
_rtl8187_tx_cb:                         ## @rtl8187_tx_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	%rdi, %rbx
	movq	8(%rdi), %r13
	movq	%r13, %rdi
	callq	_IEEE80211_SKB_CB
	movq	%rax, %r12
	movq	8(%rax), %rax
	movq	(%rax), %r15
	movq	(%r15), %r14
	movq	%r13, %rdi
	movl	$4, %esi
	callq	_skb_pull
	movq	%r12, %rdi
	callq	_ieee80211_tx_info_clear_status
	cmpl	$0, (%rbx)
	jne	LBB0_8
## %bb.1:
	movl	(%r12), %eax
	movq	_IEEE80211_TX_CTL_NO_ACK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
LBB0_8:
	cmpq	$0, 8(%r14)
	je	LBB0_9
LBB0_10:
	movq	%r15, %rdi
	movq	%r13, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ieee80211_tx_status_irqsafe    ## TAILCALL
LBB0_2:
	cmpq	$0, 8(%r14)
	je	LBB0_7
## %bb.3:
	leaq	4(%r14), %r12
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_skb_queue_tail
	movq	%r12, %rdi
	callq	_skb_queue_len
	cmpl	$6, %eax
	jl	LBB0_6
## %bb.4:
	leaq	L_.str(%rip), %rbx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rdi
	movq	%rbx, %rsi
	callq	_dev_dbg
	movq	%r12, %rdi
	callq	_skb_dequeue
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_ieee80211_tx_status_irqsafe
	movq	%r12, %rdi
	callq	_skb_queue_len
	cmpl	$5, %eax
	jg	LBB0_5
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_IEEE80211_TX_STAT_ACK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%r12)
	cmpq	$0, 8(%r14)
	jne	LBB0_10
LBB0_9:
	leaq	4(%r14), %rdi
	movq	%r13, %rsi
	callq	_skb_queue_tail
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ieee80211_queue_delayed_work   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_TX_CTL_NO_ACK,4,2    ## @IEEE80211_TX_CTL_NO_ACK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"transmit status queue full\n"

	.comm	_IEEE80211_TX_STAT_ACK,4,2      ## @IEEE80211_TX_STAT_ACK
	.no_dead_strip	_rtl8187_tx_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl8187_tx_cb
_rtl8187_tx_cb:                         ; @rtl8187_tx_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	x23, x0
	ldr	x21, [x0, #8]
	mov	x0, x21
	bl	_IEEE80211_SKB_CB
	mov	x22, x0
	ldr	x8, [x0, #8]
	ldr	x19, [x8]
	ldr	x20, [x19]
	mov	x0, x21
	mov	w1, #4
	bl	_skb_pull
	mov	x0, x22
	bl	_ieee80211_tx_info_clear_status
	ldr	w8, [x23]
	cbnz	w8, LBB0_2
; %bb.1:
	ldr	w8, [x22]
Lloh0:
	adrp	x9, _IEEE80211_TX_CTL_NO_ACK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_TX_CTL_NO_ACK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
LBB0_2:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_10
LBB0_3:
	mov	x0, x19
	mov	x1, x21
	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	_ieee80211_tx_status_irqsafe
LBB0_4:
	ldr	x9, [x20, #8]
	cbz	x9, LBB0_9
; %bb.5:
	add	x22, x20, #4
	mov	x0, x22
	mov	x1, x21
	bl	_skb_queue_tail
	mov	x0, x22
	bl	_skb_queue_len
	cmp	w0, #6
	b.lt	LBB0_8
; %bb.6:
Lloh3:
	adrp	x21, l_.str@PAGE
Lloh4:
	add	x21, x21, l_.str@PAGEOFF
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20, #16]
	mov	x1, x21
	bl	_dev_dbg
	mov	x0, x22
	bl	_skb_dequeue
	mov	x1, x0
	mov	x0, x19
	bl	_ieee80211_tx_status_irqsafe
	mov	x0, x22
	bl	_skb_queue_len
	cmp	w0, #5
	b.gt	LBB0_7
LBB0_8:
	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
LBB0_9:
Lloh5:
	adrp	x9, _IEEE80211_TX_STAT_ACK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IEEE80211_TX_STAT_ACK@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x22]
	ldr	x8, [x20, #8]
	cbnz	x8, LBB0_3
LBB0_10:
	add	x0, x20, #4
	mov	x1, x21
	bl	_skb_queue_tail
	mov	x0, x19
	mov	x1, x20
	mov	w2, #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
	b	_ieee80211_queue_delayed_work
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_TX_CTL_NO_ACK,4,2    ; @IEEE80211_TX_CTL_NO_ACK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"transmit status queue full\n"

	.comm	_IEEE80211_TX_STAT_ACK,4,2      ; @IEEE80211_TX_STAT_ACK
	.no_dead_strip	_rtl8187_tx_cb
.subsections_via_symbols
