	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rt2x00usb_kick_tx_entry
_rt2x00usb_kick_tx_entry:               ## @rt2x00usb_kick_tx_entry
	.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	%rdi, %rbx
	movq	16(%rdi), %rax
	movq	8(%rax), %r14
	movl	16(%r14), %edi
	callq	_to_usb_device_intf
	movq	%rax, %r15
	movq	24(%rbx), %r13
	movq	_ENTRY_DATA_PENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_and_clear_bit
	testl	%eax, %eax
	je	LBB0_8
## %bb.1:
	movq	_ENTRY_DATA_STATUS_PENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_8
## %bb.2:
	movq	8(%r14), %rax
	movq	(%rax), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
	movl	%eax, %r12d
	movq	8(%rbx), %rdi
	movl	%eax, %esi
	callq	_skb_padto
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_rt2x00_warn
	jmp	LBB0_7
LBB0_4:
	movl	(%r13), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	16(%rbx), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_usb_sndbulkpipe
	movq	8(%rbx), %rcx
	movl	(%rcx), %ecx
	movq	_rt2x00usb_interrupt_txdone@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r9d
	movq	%rbx, (%rsp)
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%r15, %rsi
	movl	%eax, %edx
	movl	%r12d, %r8d
	callq	_usb_fill_bulk_urb
	movl	(%r13), %edi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_usb_submit_urb
	testl	%eax, %eax
	je	LBB0_8
## %bb.5:
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_rt2x00usb_check_usb_error
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_DEVICE_STATE_PRESENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_clear_bit
LBB0_7:
	movq	_ENTRY_DATA_IO_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_set_bit
	movq	%rbx, %rdi
	callq	_rt2x00lib_dmadone
LBB0_8:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENTRY_DATA_PENDING,4,2         ## @ENTRY_DATA_PENDING
	.comm	_ENTRY_DATA_STATUS_PENDING,4,2  ## @ENTRY_DATA_STATUS_PENDING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TX SKB padding error, out of memory\n"

	.comm	_ENTRY_DATA_IO_FAILED,4,2       ## @ENTRY_DATA_IO_FAILED
	.comm	_rt2x00usb_interrupt_txdone,4,2 ## @rt2x00usb_interrupt_txdone
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_DEVICE_STATE_PRESENT,4,2       ## @DEVICE_STATE_PRESENT
	.no_dead_strip	_rt2x00usb_kick_tx_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rt2x00usb_kick_tx_entry
_rt2x00usb_kick_tx_entry:               ; @rt2x00usb_kick_tx_entry
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldr	x8, [x0, #16]
	ldr	x20, [x8, #8]
	ldr	w0, [x20, #16]
	bl	_to_usb_device_intf
	mov	x21, x0
	ldr	x24, [x19, #24]
Lloh0:
	adrp	x8, _ENTRY_DATA_PENDING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENTRY_DATA_PENDING@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_and_clear_bit
	cbz	w0, LBB0_8
; %bb.1:
Lloh3:
	adrp	x8, _ENTRY_DATA_STATUS_PENDING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENTRY_DATA_STATUS_PENDING@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbnz	x0, LBB0_8
; %bb.2:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	mov	x22, x0
	ldr	x0, [x19, #8]
	mov	x1, x22
	bl	_skb_padto
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.3:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_rt2x00_warn
	b	LBB0_7
LBB0_4:
	ldr	w23, [x24]
	ldr	x8, [x19, #16]
	ldr	w1, [x8]
	mov	x0, x21
	bl	_usb_sndbulkpipe
	mov	x2, x0
	ldr	x8, [x19, #8]
	ldr	w3, [x8]
Lloh8:
	adrp	x8, _rt2x00usb_interrupt_txdone@GOTPAGE
Lloh9:
	ldr	x8, [x8, _rt2x00usb_interrupt_txdone@GOTPAGEOFF]
Lloh10:
	ldr	w5, [x8]
	mov	x0, x23
	mov	x1, x21
	mov	x4, x22
	mov	x6, x19
	bl	_usb_fill_bulk_urb
	ldr	w0, [x24]
Lloh11:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_usb_submit_urb
	cbz	w0, LBB0_8
; %bb.5:
	mov	x1, x0
	mov	x0, x20
	bl	_rt2x00usb_check_usb_error
	cbz	x0, LBB0_7
; %bb.6:
Lloh14:
	adrp	x8, _DEVICE_STATE_PRESENT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DEVICE_STATE_PRESENT@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_clear_bit
LBB0_7:
Lloh17:
	adrp	x8, _ENTRY_DATA_IO_FAILED@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENTRY_DATA_IO_FAILED@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_set_bit
	mov	x0, x19
	bl	_rt2x00lib_dmadone
LBB0_8:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_ENTRY_DATA_PENDING,4,2         ; @ENTRY_DATA_PENDING
	.comm	_ENTRY_DATA_STATUS_PENDING,4,2  ; @ENTRY_DATA_STATUS_PENDING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TX SKB padding error, out of memory\n"

	.comm	_ENTRY_DATA_IO_FAILED,4,2       ; @ENTRY_DATA_IO_FAILED
	.comm	_rt2x00usb_interrupt_txdone,4,2 ; @rt2x00usb_interrupt_txdone
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_DEVICE_STATE_PRESENT,4,2       ; @DEVICE_STATE_PRESENT
	.no_dead_strip	_rt2x00usb_kick_tx_entry
.subsections_via_symbols
