	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath6kl_process_psq
_ath6kl_process_psq:                    ## @ath6kl_process_psq
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	8(%rsi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_STA_PS_POLLED@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	andl	(%rdi), %r14d
	leaq	8(%rdi), %r15
	movq	%r15, %rdi
	callq	_spin_lock_bh
	leaq	12(%rbx), %r13
	movq	%r13, %rdi
	callq	_skb_queue_empty
	testl	%r14d, %r14d
	je	LBB0_4
## %bb.1:
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	_WMI_DATA_HDR_FLAGS_MORE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	orl	%eax, (%rcx)
LBB0_3:
	movq	%r15, %rdi
	callq	_spin_unlock_bh
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_4:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r13, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%eax, %r13d
	callq	_skb_queue_tail
	movq	%r15, %rdi
	callq	_spin_unlock_bh
	testl	%r13d, %r13d
	je	LBB0_5
## %bb.6:
	movl	(%r14), %edi
	movl	(%r12), %esi
	movl	4(%rbx), %edx
	movl	$1, %ebx
	movl	$1, %ecx
	callq	_ath6kl_wmi_set_pvb_cmd
	jmp	LBB0_7
LBB0_5:
	movl	$1, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STA_PS_POLLED,4,2              ## @STA_PS_POLLED
	.comm	_WMI_DATA_HDR_FLAGS_MORE,4,2    ## @WMI_DATA_HDR_FLAGS_MORE
	.no_dead_strip	_ath6kl_process_psq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath6kl_process_psq
_ath6kl_process_psq:                    ; @ath6kl_process_psq
	.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	x22, x3
	mov	x23, x2
	mov	x20, x1
	mov	x19, x0
	mov	x24, x0
	ldr	w8, [x24], #12
	ldr	x26, [x1, #8]
Lloh0:
	adrp	x9, _STA_PS_POLLED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _STA_PS_POLLED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w27, w9, w8
	add	x21, x0, #8
	mov	x0, x21
	bl	_spin_lock_bh
	mov	x0, x24
	bl	_skb_queue_empty
	mov	x25, x0
	cbz	w27, LBB0_4
; %bb.1:
	cbnz	w25, LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _WMI_DATA_HDR_FLAGS_MORE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WMI_DATA_HDR_FLAGS_MORE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x22]
	orr	w8, w9, w8
	str	w8, [x22]
LBB0_3:
	mov	x0, x21
	bl	_spin_unlock_bh
	mov	w19, #0
	b	LBB0_7
LBB0_4:
	mov	x0, x24
	mov	x1, x23
	bl	_skb_queue_tail
	mov	x0, x21
	bl	_spin_unlock_bh
	cbz	w25, LBB0_6
; %bb.5:
	ldr	w0, [x26]
	ldr	w1, [x20]
	ldr	w2, [x19, #4]
	mov	w19, #1
	mov	w3, #1
	bl	_ath6kl_wmi_set_pvb_cmd
	b	LBB0_7
LBB0_6:
	mov	w19, #1
LBB0_7:
	mov	x0, x19
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_STA_PS_POLLED,4,2              ; @STA_PS_POLLED
	.comm	_WMI_DATA_HDR_FLAGS_MORE,4,2    ; @WMI_DATA_HDR_FLAGS_MORE
	.no_dead_strip	_ath6kl_process_psq
.subsections_via_symbols
