	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt2x00queue_flush_queue        ## -- Begin function rt2x00queue_flush_queue
	.p2align	4, 0x90
_rt2x00queue_flush_queue:               ## @rt2x00queue_flush_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_QID_AC_VO@GOTPCREL(%rip), %rcx
	movb	$1, %r15b
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.1:
	movq	_QID_AC_VI@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.2:
	movq	_QID_AC_BE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	movq	_QID_AC_BK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%r15b
LBB0_4:
	movq	%rbx, %rdi
	callq	_rt2x00queue_empty
	testq	%rax, %rax
	je	LBB0_5
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	testl	%r14d, %r14d
	sete	%al
	andb	%r15b, %al
	cmpb	$1, %al
	jne	LBB0_7
## %bb.6:
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	%rbx, %rdi
	callq	*8(%rax)
LBB0_7:
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	*(%rax)
LBB0_9:
	movq	%rbx, %rdi
	callq	_rt2x00queue_empty
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	movq	(%rbx), %rdx
	movq	8(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rt2x00_warn                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_QID_AC_VO,8,3                  ## @QID_AC_VO
	.comm	_QID_AC_VI,8,3                  ## @QID_AC_VI
	.comm	_QID_AC_BE,8,3                  ## @QID_AC_BE
	.comm	_QID_AC_BK,8,3                  ## @QID_AC_BK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Queue %d failed to flush\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt2x00queue_flush_queue        ; -- Begin function rt2x00queue_flush_queue
	.p2align	2
_rt2x00queue_flush_queue:               ; @rt2x00queue_flush_queue
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _QID_AC_VO@GOTPAGE
Lloh1:
	ldr	x9, [x9, _QID_AC_VO@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _QID_AC_VI@GOTPAGE
Lloh4:
	ldr	x10, [x10, _QID_AC_VI@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
Lloh6:
	adrp	x11, _QID_AC_BE@GOTPAGE
Lloh7:
	ldr	x11, [x11, _QID_AC_BE@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x11]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	ccmp	x8, x11, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	w21, #1
	b	LBB0_3
LBB0_2:
Lloh9:
	adrp	x9, _QID_AC_BK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _QID_AC_BK@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w21, eq
LBB0_3:
	mov	x0, x19
	bl	_rt2x00queue_empty
	cbz	x0, LBB0_5
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_5:
	cmp	w20, #0
	cset	w8, eq
	and	w8, w8, w21
	cmp	w8, #1
	b.ne	LBB0_7
; %bb.6:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x8, [x8, #8]
	mov	x0, x19
	blr	x8
LBB0_7:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x0, [x8]
	bl	_likely
	cbz	x0, LBB0_9
; %bb.8:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	mov	x0, x19
	mov	x1, x20
	blr	x8
LBB0_9:
	mov	x0, x19
	bl	_rt2x00queue_empty
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.10:
	ldp	x2, x0, [x19]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_rt2x00_warn
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_QID_AC_VO,8,3                  ; @QID_AC_VO
	.comm	_QID_AC_VI,8,3                  ; @QID_AC_VI
	.comm	_QID_AC_BE,8,3                  ; @QID_AC_BE
	.comm	_QID_AC_BK,8,3                  ; @QID_AC_BK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Queue %d failed to flush\n"

.subsections_via_symbols
