	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt2x00usb_kick_queue           ## -- Begin function rt2x00usb_kick_queue
	.p2align	4, 0x90
_rt2x00usb_kick_queue:                  ## @rt2x00usb_kick_queue
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	leal	-129(%rax), %ecx
	cmpl	$4, %ecx
	jae	LBB0_1
## %bb.4:
	movq	%rbx, %rdi
	callq	_rt2x00queue_empty
	testl	%eax, %eax
	jne	LBB0_7
## %bb.5:
	movq	_rt2x00usb_kick_tx_entry@GOTPCREL(%rip), %rax
	movq	_Q_INDEX@GOTPCREL(%rip), %rcx
	movq	_Q_INDEX_DONE@GOTPCREL(%rip), %rdx
	jmp	LBB0_6
LBB0_1:
	cmpl	$128, %eax
	jne	LBB0_7
## %bb.2:
	movq	%rbx, %rdi
	callq	_rt2x00queue_full
	testl	%eax, %eax
	je	LBB0_3
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	movq	_rt2x00usb_kick_rx_entry@GOTPCREL(%rip), %rax
	movq	_Q_INDEX_DONE@GOTPCREL(%rip), %rcx
	movq	_Q_INDEX@GOTPCREL(%rip), %rdx
LBB0_6:
	movl	(%rdx), %esi
	movl	(%rcx), %edx
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_rt2x00queue_for_each_entry     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_Q_INDEX_DONE,4,2               ## @Q_INDEX_DONE
	.comm	_Q_INDEX,4,2                    ## @Q_INDEX
	.comm	_rt2x00usb_kick_tx_entry,4,2    ## @rt2x00usb_kick_tx_entry
	.comm	_rt2x00usb_kick_rx_entry,4,2    ## @rt2x00usb_kick_rx_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt2x00usb_kick_queue           ; -- Begin function rt2x00usb_kick_queue
	.p2align	2
_rt2x00usb_kick_queue:                  ; @rt2x00usb_kick_queue
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w8, [x0]
	sub	w9, w8, #129
	cmp	w9, #4
	b.hs	LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_rt2x00queue_empty
	cbnz	w0, LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _rt2x00usb_kick_tx_entry@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rt2x00usb_kick_tx_entry@GOTPAGEOFF]
Lloh2:
	adrp	x9, _Q_INDEX@GOTPAGE
Lloh3:
	ldr	x9, [x9, _Q_INDEX@GOTPAGEOFF]
Lloh4:
	adrp	x10, _Q_INDEX_DONE@GOTPAGE
Lloh5:
	ldr	x10, [x10, _Q_INDEX_DONE@GOTPAGEOFF]
	b	LBB0_7
LBB0_3:
	cmp	w8, #128
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_rt2x00queue_full
	cbz	w0, LBB0_6
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh6:
	adrp	x8, _rt2x00usb_kick_rx_entry@GOTPAGE
Lloh7:
	ldr	x8, [x8, _rt2x00usb_kick_rx_entry@GOTPAGEOFF]
Lloh8:
	adrp	x9, _Q_INDEX_DONE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _Q_INDEX_DONE@GOTPAGEOFF]
Lloh10:
	adrp	x10, _Q_INDEX@GOTPAGE
Lloh11:
	ldr	x10, [x10, _Q_INDEX@GOTPAGEOFF]
LBB0_7:
	ldr	w1, [x10]
	ldr	w2, [x9]
	ldr	w4, [x8]
	mov	x0, x19
	mov	x3, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rt2x00queue_for_each_entry
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_Q_INDEX_DONE,4,2               ; @Q_INDEX_DONE
	.comm	_Q_INDEX,4,2                    ; @Q_INDEX
	.comm	_rt2x00usb_kick_tx_entry,4,2    ; @rt2x00usb_kick_tx_entry
	.comm	_rt2x00usb_kick_rx_entry,4,2    ; @rt2x00usb_kick_rx_entry
.subsections_via_symbols
