	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_wmi_event_tasklet        ## -- Begin function ath9k_wmi_event_tasklet
	.p2align	4, 0x90
_ath9k_wmi_event_tasklet:               ## @ath9k_wmi_event_tasklet
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	8(%rdi), %r12
	movq	%r12, %rdi
	callq	_spin_lock_irqsave
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	addq	$12, %rbx
	movq	%rbx, %rdi
	callq	___skb_dequeue
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	%rax, %r14
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	$4, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rsi
	movl	12(%rsi), %edi
	addq	$8, %rsi
	callq	_ieee80211_queue_work
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_kfree_skb
	movq	%r12, %rdi
	callq	_spin_lock_irqsave
	movq	%rbx, %rdi
	callq	___skb_dequeue
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_10
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
	movq	(%r14), %rax
	movl	(%rax), %edi
	callq	_be16_to_cpu
	movl	%eax, %r15d
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_skb_pull
	movq	%rax, %r13
	cmpl	$128, %r15d
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$130, %r15d
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$129, %r15d
	jne	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_ath9k_htc_swba
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_spin_lock_bh
	movq	_ATH9K_HTC_OP_TX_DRAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	andl	(%rax), %ebx
	movq	%r15, %rdi
	callq	_spin_unlock_bh
	testl	%ebx, %ebx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_ath9k_htc_txstatus
	jmp	LBB0_9
LBB0_10:
	movq	%r12, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ATH9K_HTC_OP_TX_DRAIN,4,2      ## @ATH9K_HTC_OP_TX_DRAIN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_wmi_event_tasklet        ; -- Begin function ath9k_wmi_event_tasklet
	.p2align	2
_ath9k_wmi_event_tasklet:               ; @ath9k_wmi_event_tasklet
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	mov	x20, x0
	ldr	x22, [x20], #12
	add	x21, x0, #8
	mov	x0, x21
	bl	_spin_lock_irqsave
	mov	x0, x20
	bl	___skb_dequeue
	cbz	x0, LBB0_10
; %bb.1:
	mov	x24, x0
	add	x23, x22, #4
Lloh0:
	adrp	x27, _ATH9K_HTC_OP_TX_DRAIN@GOTPAGE
Lloh1:
	ldr	x27, [x27, _ATH9K_HTC_OP_TX_DRAIN@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19]
	ldr	w0, [x8, #12]
	add	x1, x8, #8
	bl	_ieee80211_queue_work
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x24
	bl	_kfree_skb
	mov	x0, x21
	bl	_spin_lock_irqsave
	mov	x0, x20
	bl	___skb_dequeue
	mov	x24, x0
	cbz	x0, LBB0_10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	ldr	x8, [x24]
	ldr	w0, [x8]
	bl	_be16_to_cpu
	mov	x26, x0
	mov	x0, x24
	mov	w1, #4
	bl	_skb_pull
	mov	x25, x0
	cmp	w26, #128
	b.eq	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w26, #130
	b.eq	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w26, #129
	b.ne	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	mov	x1, x25
	bl	_ath9k_htc_swba
	b	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	bl	_spin_lock_bh
	ldr	w8, [x22]
	ldr	w9, [x27]
	and	w26, w9, w8
	mov	x0, x23
	bl	_spin_unlock_bh
	cbnz	w26, LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	mov	x1, x25
	bl	_ath9k_htc_txstatus
	b	LBB0_3
LBB0_10:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ATH9K_HTC_OP_TX_DRAIN,4,2      ; @ATH9K_HTC_OP_TX_DRAIN
.subsections_via_symbols
