	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt7601u_dma_skb_wrap
_mt7601u_dma_skb_wrap:                  ## @mt7601u_dma_skb_wrap
	.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	%ecx, %r15d
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %r12d
	movq	%rdi, %r14
	movq	_MT_TXD_INFO_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	(%rdi), %edi
	movl	$4, %esi
	callq	_round_up
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_FIELD_PREP
	orl	%eax, %r15d
	movq	_MT_TXD_INFO_D_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r12d, %esi
	callq	_FIELD_PREP
	movl	%eax, %ebx
	movq	_MT_TXD_INFO_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_FIELD_PREP
	orl	%eax, %ebx
	orl	%r15d, %ebx
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_skb_push
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_put_unaligned_le32
	movl	(%r14), %edi
	movl	$4, %esi
	callq	_round_up
                                        ## kill: def $eax killed $eax def $rax
	leal	4(%rax), %esi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_skb_put_padto                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MT_TXD_INFO_LEN,4,2            ## @MT_TXD_INFO_LEN
	.comm	_MT_TXD_INFO_D_PORT,4,2         ## @MT_TXD_INFO_D_PORT
	.comm	_MT_TXD_INFO_TYPE,4,2           ## @MT_TXD_INFO_TYPE
	.no_dead_strip	_mt7601u_dma_skb_wrap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt7601u_dma_skb_wrap
_mt7601u_dma_skb_wrap:                  ; @mt7601u_dma_skb_wrap
	.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, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _MT_TXD_INFO_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MT_TXD_INFO_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
	ldr	w0, [x0]
	mov	w1, #4
	bl	_round_up
	mov	x1, x0
	mov	x0, x23
	bl	_FIELD_PREP
	orr	w19, w0, w19
Lloh3:
	adrp	x8, _MT_TXD_INFO_D_PORT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MT_TXD_INFO_D_PORT@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_FIELD_PREP
	orr	w19, w19, w0
Lloh6:
	adrp	x8, _MT_TXD_INFO_TYPE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MT_TXD_INFO_TYPE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_FIELD_PREP
	orr	w19, w19, w0
	mov	x0, x22
	mov	w1, #4
	bl	_skb_push
	mov	x1, x0
	mov	x0, x19
	bl	_put_unaligned_le32
	ldr	w0, [x22]
	mov	w1, #4
	bl	_round_up
	add	w1, w0, #4
	mov	x0, x22
	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
	b	_skb_put_padto
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MT_TXD_INFO_LEN,4,2            ; @MT_TXD_INFO_LEN
	.comm	_MT_TXD_INFO_D_PORT,4,2         ; @MT_TXD_INFO_D_PORT
	.comm	_MT_TXD_INFO_TYPE,4,2           ; @MT_TXD_INFO_TYPE
	.no_dead_strip	_mt7601u_dma_skb_wrap
.subsections_via_symbols
