	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt76u_tx_queue_skb
_mt76u_tx_queue_skb:                    ## @mt76u_tx_queue_skb
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %eax
	movq	%rdi, %rbx
	movq	8(%rdi), %rsi
	movl	%eax, %edi
	movq	(%rsi,%rdi,8), %r12
	movq	%rdx, -48(%rbp)
	movl	8(%r12), %esi
	cmpl	12(%r12), %esi
	jne	LBB0_2
## %bb.1:
	movq	_ENOSPC@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_10
LBB0_2:
	movq	(%r12), %r14
	movq	$0, (%rdx)
	movl	$0, 8(%rdx)
	movq	(%rbx), %r10
	leaq	-48(%rbp), %r9
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	*(%r10)
	testl	%eax, %eax
	js	LBB0_7
## %bb.3:
	movq	-48(%rbp), %rsi
	movq	16(%r12), %rax
	movq	%r14, %r13
	shlq	$4, %r13
	movl	8(%rax,%r13), %edx
	movq	%rbx, %rdi
	callq	_mt76u_tx_setup_buffers
	testl	%eax, %eax
	js	LBB0_7
## %bb.4:
	movq	_USB_DIR_OUT@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	24(%r12), %edi
	callq	_q2ep
	movq	16(%r12), %r9
	movl	8(%r9,%r13), %ecx
	addq	%r13, %r9
	movq	_mt76u_complete_tx@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_mt76u_fill_bulk_urb
	movq	(%r12), %rax
	incq	%rax
	movslq	12(%r12), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_8
## %bb.5:
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_9
LBB0_7:
	movl	%eax, %r14d
	jmp	LBB0_10
LBB0_8:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_9:
	movq	%rdx, (%r12)
	movq	-48(%rbp), %rax
	movq	16(%r12), %rcx
	movq	%rax, (%rcx,%r13)
	incl	8(%r12)
LBB0_10:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOSPC,4,2                     ## @ENOSPC
	.comm	_USB_DIR_OUT,4,2                ## @USB_DIR_OUT
	.comm	_mt76u_complete_tx,4,2          ## @mt76u_complete_tx
	.no_dead_strip	_mt76u_tx_queue_skb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt76u_tx_queue_skb
_mt76u_tx_queue_skb:                    ; @mt76u_tx_queue_skb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x9, [x0, #8]
	ldr	x21, [x9, w1, uxtw #3]
	str	x2, [sp, #8]
	ldp	w9, w10, [x21, #8]
	cmp	w9, w10
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_2:
	mov	x8, x1
	mov	x19, x0
	ldr	x22, [x21]
	str	xzr, [x2]
	str	wzr, [x2, #8]
	ldr	x9, [x0]
	ldr	x9, [x9]
	add	x5, sp, #8
	mov	x1, #0
	mov	x2, x8
	blr	x9
	tbnz	w0, #31, LBB0_5
; %bb.3:
	ldr	x1, [sp, #8]
	ldr	x8, [x21, #16]
	add	x8, x8, x22, lsl #4
	ldr	w2, [x8, #8]
	mov	x0, x19
	bl	_mt76u_tx_setup_buffers
	tbnz	w0, #31, LBB0_5
; %bb.4:
Lloh3:
	adrp	x8, _USB_DIR_OUT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _USB_DIR_OUT@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	ldr	w0, [x21, #24]
	bl	_q2ep
	mov	x2, x0
	ldr	x8, [x21, #16]
	lsl	x23, x22, #4
	add	x5, x8, x23
	ldr	w3, [x5, #8]
Lloh6:
	adrp	x8, _mt76u_complete_tx@GOTPAGE
Lloh7:
	ldr	x8, [x8, _mt76u_complete_tx@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_mt76u_fill_bulk_urb
	ldr	x8, [x21]
	add	x8, x8, #1
	ldp	w10, w9, [x21, #8]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	udiv	x11, x8, x9
	msub	x8, x11, x9, x8
	str	x8, [x21]
	ldr	x8, [sp, #8]
	ldr	x9, [x21, #16]
	str	x8, [x9, x23]
	add	w8, w10, #1
	str	w8, [x21, #8]
	mov	x0, x22
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOSPC,4,2                     ; @ENOSPC
	.comm	_USB_DIR_OUT,4,2                ; @USB_DIR_OUT
	.comm	_mt76u_complete_tx,4,2          ; @mt76u_complete_tx
	.no_dead_strip	_mt76u_tx_queue_skb
.subsections_via_symbols
