	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cw1200_tx                      ## -- Begin function cw1200_tx
	.p2align	4, 0x90
_cw1200_tx:                             ## @cw1200_tx
	.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
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, %r12
	movq	(%rdi), %r15
	movq	%rdx, %rdi
	callq	_skb_get_queue_mapping
	movl	%eax, %ebx
	movl	%eax, -120(%rbp)
	movq	_CW1200_MAX_TID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -116(%rbp)
	movq	$0, -112(%rbp)
	movq	_CW1200_INVALID_RATE_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -104(%rbp)
	movq	%r13, -96(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -88(%rbp)
	movq	8(%r13), %r14
	movq	%r14, -72(%rbp)
	movq	$0, -64(%rbp)
	movq	%r13, %rdi
	callq	_IEEE80211_SKB_CB
	movl	%eax, -56(%rbp)
	movl	$0, -44(%rbp)
	cmpq	$0, 16(%r15)
	jne	LBB0_14
## %bb.1:
	movl	(%r14), %edi
	callq	_ieee80211_hdrlen
	movl	%eax, -60(%rbp)
	movq	%r14, %rdi
	callq	_ieee80211_get_DA
	movl	%eax, -64(%rbp)
	testq	%r12, %r12
	je	LBB0_3
## %bb.2:
	movq	(%r12), %rax
	movq	%rax, -88(%rbp)
	movq	%rax, -80(%rbp)
LBB0_3:
	xorl	%edi, %edi
	cmpl	$4, %ebx
	setge	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_14
## %bb.4:
	leaq	-120(%rbp), %rsi
	movq	%r15, %rdi
	callq	_cw1200_tx_h_calc_link_ids
	testl	%eax, %eax
	jne	LBB0_14
## %bb.5:
	movl	(%r13), %esi
	movl	-108(%rbp), %ecx
	movl	-120(%rbp), %edx
	movl	-112(%rbp), %r8d
	leaq	L_.str(%rip), %rdi
	callq	_pr_debug
	leaq	-120(%rbp), %rbx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_cw1200_tx_h_pm
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_cw1200_tx_h_calc_tid
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_cw1200_tx_h_crypt
	testl	%eax, %eax
	jne	LBB0_14
## %bb.6:
	leaq	-120(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	movq	%r15, %rdi
	callq	_cw1200_tx_h_align
	testl	%eax, %eax
	jne	LBB0_14
## %bb.7:
	leaq	-120(%rbp), %rsi
	movq	%r15, %rdi
	callq	_cw1200_tx_h_action
	testl	%eax, %eax
	je	LBB0_8
LBB0_14:
	movq	%r15, %rdi
	movq	%r13, %rsi
	leaq	-116(%rbp), %rdx
	callq	_cw1200_skb_dtor
LBB0_15:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	leaq	-120(%rbp), %rsi
	movq	%r15, %rdi
	callq	_cw1200_tx_h_wsm
	testq	%rax, %rax
	je	LBB0_14
## %bb.9:
	movq	%rax, %rbx
	movl	-44(%rbp), %eax
	orl	%eax, (%rbx)
	leaq	-120(%rbp), %r14
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_cw1200_tx_h_bt
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_cw1200_tx_h_rate_policy
	testl	%eax, %eax
	jne	LBB0_14
## %bb.10:
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	-88(%rbp), %rdi
	callq	_rcu_dereference
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_spin_lock_bh
	leaq	-120(%rbp), %rsi
	movq	%r15, %rdi
	callq	_cw1200_tx_h_pm_state
	movl	%eax, %ebx
	movslq	-120(%rbp), %rdi
	shlq	$2, %rdi
	addq	8(%r15), %rdi
	movq	-96(%rbp), %rsi
	leaq	-116(%rbp), %rdx
	callq	_cw1200_queue_put
	movl	%eax, %edi
	callq	_BUG_ON
	movq	%r15, %rdi
	callq	_spin_unlock_bh
	testl	%ebx, %ebx
	je	LBB0_13
## %bb.11:
	testq	%r14, %r14
	je	LBB0_13
## %bb.12:
	movl	-116(%rbp), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_ieee80211_sta_set_buffered
LBB0_13:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movq	%r15, %rdi
	callq	_cw1200_bh_wakeup
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_CW1200_MAX_TID,4,2             ## @CW1200_MAX_TID
	.comm	_CW1200_INVALID_RATE_ID,4,2     ## @CW1200_INVALID_RATE_ID
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[TX] TX %d bytes (queue: %d, link_id: %d (%d)).\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cw1200_tx                      ; -- Begin function cw1200_tx
	.p2align	2
_cw1200_tx:                             ; @cw1200_tx
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x21, x2
	mov	x22, x1
	ldr	x19, [x0]
	mov	x0, x2
	bl	_skb_get_queue_mapping
	mov	x23, x0
	add	x8, sp, #8
	orr	x20, x8, #0x4
Lloh0:
	adrp	x8, _CW1200_MAX_TID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CW1200_MAX_TID@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w0, w8, [sp, #8]
	movi.2d	v0, #0000000000000000
	str	d0, [sp, #16]
Lloh3:
	adrp	x8, _CW1200_INVALID_RATE_ID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CW1200_INVALID_RATE_ID@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	stp	x21, xzr, [sp, #32]
	ldr	x24, [x21, #8]
	stp	xzr, x24, [sp, #48]
	str	d0, [sp, #64]
	mov	x0, x21
	bl	_IEEE80211_SKB_CB
	str	w0, [sp, #72]
	str	wzr, [sp, #4]
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_8
; %bb.1:
	ldr	w0, [x24]
	bl	_ieee80211_hdrlen
	str	w0, [sp, #68]
	mov	x0, x24
	bl	_ieee80211_get_DA
	str	w0, [sp, #64]
	cbz	x22, LBB0_3
; %bb.2:
	ldr	x8, [x22]
	stp	x8, x8, [sp, #40]
LBB0_3:
	cmp	w23, #3
	cset	w0, gt
	bl	_WARN_ON
	cbnz	x0, LBB0_8
; %bb.4:
	add	x1, sp, #8
	mov	x0, x19
	bl	_cw1200_tx_h_calc_link_ids
	cbnz	w0, LBB0_8
; %bb.5:
	ldr	w1, [x21]
	ldp	w4, w3, [sp, #16]
	ldr	w2, [sp, #8]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
	add	x1, sp, #8
	mov	x0, x19
	bl	_cw1200_tx_h_pm
	add	x1, sp, #8
	mov	x0, x19
	bl	_cw1200_tx_h_calc_tid
	add	x1, sp, #8
	mov	x0, x19
	bl	_cw1200_tx_h_crypt
	cbnz	w0, LBB0_8
; %bb.6:
	add	x1, sp, #8
	add	x2, sp, #4
	mov	x0, x19
	bl	_cw1200_tx_h_align
	cbnz	w0, LBB0_8
; %bb.7:
	add	x1, sp, #8
	mov	x0, x19
	bl	_cw1200_tx_h_action
	cbz	w0, LBB0_10
LBB0_8:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_cw1200_skb_dtor
LBB0_9:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_10:
	add	x1, sp, #8
	mov	x0, x19
	bl	_cw1200_tx_h_wsm
	cbz	x0, LBB0_8
; %bb.11:
	mov	x22, x0
	ldr	w8, [sp, #4]
	ldr	w9, [x0]
	orr	w8, w9, w8
	str	w8, [x0]
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, x22
	bl	_cw1200_tx_h_bt
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, x22
	bl	_cw1200_tx_h_rate_policy
	cbnz	w0, LBB0_8
; %bb.12:
	bl	_rcu_read_lock
	ldr	x0, [sp, #40]
	bl	_rcu_dereference
	mov	x21, x0
	mov	x0, x19
	bl	_spin_lock_bh
	add	x1, sp, #8
	mov	x0, x19
	bl	_cw1200_tx_h_pm_state
	mov	x22, x0
	ldr	x8, [x19, #8]
	ldrsw	x9, [sp, #8]
	add	x0, x8, x9, lsl #2
	ldr	x1, [sp, #32]
	mov	x2, x20
	bl	_cw1200_queue_put
	bl	_BUG_ON
	mov	x0, x19
	bl	_spin_unlock_bh
	cbz	w22, LBB0_15
; %bb.13:
	cbz	x21, LBB0_15
; %bb.14:
	ldr	w1, [sp, #12]
	mov	x0, x21
	mov	w2, #1
	bl	_ieee80211_sta_set_buffered
LBB0_15:
	bl	_rcu_read_unlock
	mov	x0, x19
	bl	_cw1200_bh_wakeup
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_CW1200_MAX_TID,4,2             ; @CW1200_MAX_TID
	.comm	_CW1200_INVALID_RATE_ID,4,2     ; @CW1200_INVALID_RATE_ID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[TX] TX %d bytes (queue: %d, link_id: %d (%d)).\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
