	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mt7601u_tx                     ## -- Begin function mt7601u_tx
	.p2align	4, 0x90
_mt7601u_tx:                            ## @mt7601u_tx
	.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	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	%rdx, %rdi
	callq	_IEEE80211_SKB_CB
	movq	%rax, %r12
	movq	(%rbx), %r14
	movq	8(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	(%r15), %r15
	movq	8(%r14), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movslq	(%r13), %rbx
	movq	%r13, %rdi
	callq	_skb2q
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	xorl	%edi, %edi
	testl	%eax, %eax
	setle	%dil
	callq	_BUILD_BUG_ON
	movq	(%r12), %rax
	movq	%rbx, (%rax)
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_mt7601u_skb_rooms
	testq	%rax, %rax
	jne	LBB0_9
## %bb.1:
	movq	%r13, %rdi
	callq	_mt76_insert_hdr_pad
	testq	%rax, %rax
	je	LBB0_2
LBB0_9:
	movl	(%r14), %edi
	movq	%r13, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ieee80211_free_txskb           ## TAILCALL
LBB0_2:
	movq	%r15, %rdx
	testq	%r15, %r15
	je	LBB0_4
## %bb.3:
	movq	(%rdx), %r15
	movq	%r15, %rax
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_7
LBB0_4:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	(%rax), %r15
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_7
LBB0_5:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %r15                 ## 8-byte Reload
LBB0_7:
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r15, %rcx
	movl	%ebx, %r8d
	callq	_mt7601u_push_txwi
	movq	%rax, %r12
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	callq	_mt7601u_dma_enqueue_tx
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, %rcx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_trace_mt_tx                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mt7601u_tx                     ; -- Begin function mt7601u_tx
	.p2align	2
_mt7601u_tx:                            ; @mt7601u_tx
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	mov	x0, x2
	bl	_IEEE80211_SKB_CB
	mov	x25, x0
	ldr	x20, [x20]
	ldr	x26, [x0, #8]
	ldr	x23, [x21]
	ldr	x21, [x20, #8]
	ldrsw	x24, [x19]
	mov	x0, x19
	bl	_skb2q
	mov	x22, x0
	ldr	x0, [x25]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	cset	w0, lt
	bl	_BUILD_BUG_ON
	ldr	x8, [x25]
	str	x24, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_mt7601u_skb_rooms
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_mt76_insert_hdr_pad
	cbz	x0, LBB0_3
LBB0_2:
	ldr	w0, [x20]
	mov	x1, x19
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_ieee80211_free_txskb
LBB0_3:
	cbz	x23, LBB0_5
; %bb.4:
	ldr	x21, [x23]
	mov	x25, x21
	b	LBB0_7
LBB0_5:
	mov	x25, #0
	cbz	x26, LBB0_7
; %bb.6:
	ldr	x21, [x26]
LBB0_7:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	mov	x3, x21
	mov	x4, x24
	bl	_mt7601u_push_txwi
	mov	x23, x0
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	mov	x3, x22
	bl	_mt7601u_dma_enqueue_tx
	cbz	x0, LBB0_9
; %bb.8:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x25
	mov	x3, x23
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_trace_mt_tx
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
