	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt76_add_fragment
_mt76_add_fragment:                     ## @mt76_add_fragment
	.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
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r13d
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rdi
	callq	_virt_to_head_page
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_page_address
	subl	%eax, %r14d
	movq	(%rbx), %r12
	addl	16(%rbx), %r14d
	movq	%r12, %rdi
	callq	_skb_shinfo
	movl	(%rax), %esi
	movl	8(%rbx), %r9d
	movq	%r12, %rdi
	movq	%r15, %rdx
	movl	%r14d, %ecx
	movl	%r13d, %r8d
	callq	_skb_add_rx_frag
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_2
## %bb.1:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	$0, (%rbx)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movslq	(%rdi), %rcx
	negq	%rcx
	leaq	(%rcx,%rcx,2), %rcx
	leaq	(%rbx,%rcx,8), %rsi
	movq	%r12, %rdx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mt76_add_fragment
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt76_add_fragment
_mt76_add_fragment:                     ; @mt76_add_fragment
	.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	x22, x4
	mov	x23, x3
	mov	x24, x2
	mov	x20, x1
	mov	x19, x0
	mov	x0, x2
	bl	_virt_to_head_page
	mov	x25, x0
	bl	_page_address
	ldr	x21, [x20]
	ldr	w8, [x20, #16]
	sub	w9, w24, w0
	add	w24, w9, w8
	mov	x0, x21
	bl	_skb_shinfo
	ldr	w1, [x0]
	ldr	w5, [x20, #8]
	mov	x0, x21
	mov	x2, x25
	mov	x3, x24
	mov	x4, x23
	bl	_skb_add_rx_frag
	cbz	w22, LBB0_2
; %bb.1:
	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_2:
	str	xzr, [x20]
	ldr	x8, [x19, #8]
	ldr	x3, [x8]
	ldrsw	x8, [x19]
	mov	w9, #24
	mneg	x8, x8, x9
	add	x1, x20, x8
	mov	x0, x19
	mov	x2, x21
	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
	br	x3
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mt76_add_fragment
.subsections_via_symbols
