	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rt61pci_kick_queue
_rt61pci_kick_queue:                    ## @rt61pci_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	(%rdi), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_7
## %bb.1:
	movq	8(%rdi), %rbx
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	_TX_CNTL_CSR@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_rt2x00mmio_register_read
	movl	%eax, -20(%rbp)
	movq	_TX_CNTL_CSR_KICK_TX_AC0@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_3:
	movq	_TX_CNTL_CSR@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_rt2x00mmio_register_read
	movl	%eax, -20(%rbp)
	movq	_TX_CNTL_CSR_KICK_TX_AC1@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_5:
	movq	_TX_CNTL_CSR@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_rt2x00mmio_register_read
	movl	%eax, -20(%rbp)
	movq	_TX_CNTL_CSR_KICK_TX_AC3@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_TX_CNTL_CSR@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_rt2x00mmio_register_read
	movl	%eax, -20(%rbp)
	movq	_TX_CNTL_CSR_KICK_TX_AC2@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %esi
	leaq	-20(%rbp), %rdi
	movl	$1, %edx
	callq	_rt2x00_set_field32
	movl	(%r14), %esi
	movl	-20(%rbp), %edx
	movq	%rbx, %rdi
	callq	_rt2x00mmio_register_write
LBB0_7:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_5
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_TX_CNTL_CSR,4,2                ## @TX_CNTL_CSR
	.comm	_TX_CNTL_CSR_KICK_TX_AC0,4,2    ## @TX_CNTL_CSR_KICK_TX_AC0
	.comm	_TX_CNTL_CSR_KICK_TX_AC1,4,2    ## @TX_CNTL_CSR_KICK_TX_AC1
	.comm	_TX_CNTL_CSR_KICK_TX_AC2,4,2    ## @TX_CNTL_CSR_KICK_TX_AC2
	.comm	_TX_CNTL_CSR_KICK_TX_AC3,4,2    ## @TX_CNTL_CSR_KICK_TX_AC3
	.no_dead_strip	_rt61pci_kick_queue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rt61pci_kick_queue
_rt61pci_kick_queue:                    ; @rt61pci_kick_queue
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_7
; %bb.1:
	ldr	x19, [x0, #8]
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x20, _TX_CNTL_CSR@GOTPAGE
Lloh3:
	ldr	x20, [x20, _TX_CNTL_CSR@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_rt2x00mmio_register_read
	str	w0, [sp, #12]
Lloh4:
	adrp	x8, _TX_CNTL_CSR_KICK_TX_AC0@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TX_CNTL_CSR_KICK_TX_AC0@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:
Lloh6:
	adrp	x20, _TX_CNTL_CSR@GOTPAGE
Lloh7:
	ldr	x20, [x20, _TX_CNTL_CSR@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_rt2x00mmio_register_read
	str	w0, [sp, #12]
Lloh8:
	adrp	x8, _TX_CNTL_CSR_KICK_TX_AC1@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TX_CNTL_CSR_KICK_TX_AC1@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
Lloh10:
	adrp	x20, _TX_CNTL_CSR@GOTPAGE
Lloh11:
	ldr	x20, [x20, _TX_CNTL_CSR@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_rt2x00mmio_register_read
	str	w0, [sp, #12]
Lloh12:
	adrp	x8, _TX_CNTL_CSR_KICK_TX_AC3@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TX_CNTL_CSR_KICK_TX_AC3@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh14:
	adrp	x20, _TX_CNTL_CSR@GOTPAGE
Lloh15:
	ldr	x20, [x20, _TX_CNTL_CSR@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_rt2x00mmio_register_read
	str	w0, [sp, #12]
Lloh16:
	adrp	x8, _TX_CNTL_CSR_KICK_TX_AC2@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TX_CNTL_CSR_KICK_TX_AC2@GOTPAGEOFF]
LBB0_6:
	ldr	w1, [x8]
	add	x0, sp, #12
	mov	w2, #1
	bl	_rt2x00_set_field32
	ldr	w1, [x20]
	ldr	w2, [sp, #12]
	mov	x0, x19
	bl	_rt2x00mmio_register_write
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
                                        ; -- End function
	.comm	_TX_CNTL_CSR,4,2                ; @TX_CNTL_CSR
	.comm	_TX_CNTL_CSR_KICK_TX_AC0,4,2    ; @TX_CNTL_CSR_KICK_TX_AC0
	.comm	_TX_CNTL_CSR_KICK_TX_AC1,4,2    ; @TX_CNTL_CSR_KICK_TX_AC1
	.comm	_TX_CNTL_CSR_KICK_TX_AC2,4,2    ; @TX_CNTL_CSR_KICK_TX_AC2
	.comm	_TX_CNTL_CSR_KICK_TX_AC3,4,2    ; @TX_CNTL_CSR_KICK_TX_AC3
	.no_dead_strip	_rt61pci_kick_queue
.subsections_via_symbols
