	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath9k_wmi_ctrl_rx
_ath9k_wmi_ctrl_rx:                     ## @ath9k_wmi_ctrl_rx
	.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, %r14
	movq	%rdi, %rbx
	movl	20(%rdi), %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_1
LBB0_4:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree_skb                      ## TAILCALL
LBB0_1:
	movq	(%r14), %r13
	movl	4(%r13), %edi
	callq	_be16_to_cpu
	movq	%rax, %r12
	leaq	8(%rbx), %r15
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	testl	$4096, %r12d                    ## imm = 0x1000
	jne	LBB0_5
## %bb.2:
	movl	(%r13), %edi
	callq	_be16_to_cpu
	movq	%rax, %r12
	movq	(%rbx), %r13
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	cmpq	%r13, %r12
	jne	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ath9k_wmi_rsp_callback
	jmp	LBB0_4
LBB0_5:
	leaq	16(%rbx), %rdi
	movq	%r14, %rsi
	callq	___skb_queue_tail
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	addq	$12, %rbx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tasklet_schedule               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ath9k_wmi_ctrl_rx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath9k_wmi_ctrl_rx
_ath9k_wmi_ctrl_rx:                     ; @ath9k_wmi_ctrl_rx
	.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	x20, x1
	mov	x19, x0
	ldr	w0, [x0, #20]
	bl	_unlikely
	cbz	x0, LBB0_2
LBB0_1:
	mov	x0, 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
	b	_kfree_skb
LBB0_2:
	ldr	x23, [x20]
	ldr	w0, [x23, #4]
	bl	_be16_to_cpu
	mov	x22, x0
	add	x21, x19, #8
	mov	x0, x21
	bl	_spin_lock_irqsave
	tbnz	w22, #12, LBB0_5
; %bb.3:
	ldr	w0, [x23]
	bl	_be16_to_cpu
	mov	x22, x0
	ldr	x23, [x19]
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	cmp	x22, x23
	b.ne	LBB0_1
; %bb.4:
	mov	x0, x19
	mov	x1, x20
	bl	_ath9k_wmi_rsp_callback
	b	LBB0_1
LBB0_5:
	add	x0, x19, #16
	mov	x1, x20
	bl	___skb_queue_tail
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	add	x0, x19, #12
	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	_tasklet_schedule
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ath9k_wmi_ctrl_rx
.subsections_via_symbols
