	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt2x00queue_unpause_queue      ## -- Begin function rt2x00queue_unpause_queue
	.p2align	4, 0x90
_rt2x00queue_unpause_queue:             ## @rt2x00queue_unpause_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_DEVICE_STATE_PRESENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r14), %rsi
	addq	$12, %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movq	_QUEUE_STARTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%r14), %rbx
	movq	%rbx, %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_5
## %bb.2:
	movq	_QUEUE_PAUSED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_and_clear_bit
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movl	(%r14), %esi
	leal	-129(%rsi), %eax
	cmpl	$4, %eax
	jae	LBB0_4
## %bb.6:
	movq	8(%r14), %rax
	movl	8(%rax), %edi
                                        ## kill: def $esi killed $esi killed $rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ieee80211_wake_queue           ## TAILCALL
LBB0_4:
	cmpl	$128, %esi
	jne	LBB0_5
## %bb.7:
	movq	8(%r14), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmpq	*(%rax)                         ## TAILCALL
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DEVICE_STATE_PRESENT,4,2       ## @DEVICE_STATE_PRESENT
	.comm	_QUEUE_STARTED,4,2              ## @QUEUE_STARTED
	.comm	_QUEUE_PAUSED,4,2               ## @QUEUE_PAUSED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt2x00queue_unpause_queue      ; -- Begin function rt2x00queue_unpause_queue
	.p2align	2
_rt2x00queue_unpause_queue:             ; @rt2x00queue_unpause_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
Lloh0:
	adrp	x8, _DEVICE_STATE_PRESENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DEVICE_STATE_PRESENT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
	add	x1, x8, #12
	bl	_test_bit
	cbz	w0, LBB0_7
; %bb.1:
Lloh3:
	adrp	x8, _QUEUE_STARTED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QUEUE_STARTED@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	add	x20, x19, #16
	mov	x1, x20
	bl	_test_bit
	cbz	w0, LBB0_7
; %bb.2:
Lloh6:
	adrp	x8, _QUEUE_PAUSED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _QUEUE_PAUSED@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_and_clear_bit
	cbz	w0, LBB0_7
; %bb.3:
	ldr	w1, [x19]
	sub	w8, w1, #129
	cmp	w8, #4
	b.hs	LBB0_5
; %bb.4:
	ldr	x8, [x19, #8]
	ldr	w0, [x8, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ieee80211_wake_queue
LBB0_5:
	cmp	w1, #128
	b.ne	LBB0_7
; %bb.6:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x1
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_DEVICE_STATE_PRESENT,4,2       ; @DEVICE_STATE_PRESENT
	.comm	_QUEUE_STARTED,4,2              ; @QUEUE_STARTED
	.comm	_QUEUE_PAUSED,4,2               ; @QUEUE_PAUSED
.subsections_via_symbols
