	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function free_netsgbuf_with_resp
_free_netsgbuf_with_resp:               ## @free_netsgbuf_with_resp
	.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), %r15
	movq	16(%r15), %rbx
	movq	24(%r15), %r12
	movq	%r15, %rdi
	callq	_skb_shinfo
	movl	(%rax), %r14d
	movq	16(%r12), %rax
	movq	(%rax), %rdi
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	movq	8(%r15), %rdx
	subq	(%r15), %rdx
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_dma_unmap_single
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	testl	%r14d, %r14d
	je	LBB0_3
## %bb.1:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	negl	%eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	$1, %r13d
	xorl	%r14d, %r14d
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_skb_shinfo
	movq	8(%rax), %rdi
	addq	%r14, %rdi
	movq	16(%r12), %rax
	movq	%r12, %r15
	movq	(%rax), %r12
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movl	%r13d, %ecx
	andl	$-4, %ecx
	movq	(%rax,%rcx,2), %rax
	movl	%r13d, %ecx
	andl	$3, %ecx
	movl	(%rax,%rcx,4), %ebx
	callq	_skb_frag_size
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r12, %rdi
	movq	%r15, %r12
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_pci_unmap_page
	incq	%r13
	addq	$4, %r14
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addl	%r13d, %eax
	cmpl	$1, %eax
	jne	LBB0_2
LBB0_3:
	movq	16(%r12), %rdi
	movq	%r15, %rsi
	callq	_skb_iq
	movslq	%eax, %rbx
	shlq	$2, %rbx
	movq	(%r12), %rdi
	addq	%rbx, %rdi
	callq	_spin_lock
	movq	8(%r12), %rsi
	addq	%rbx, %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_list_add_tail
	addq	(%r12), %rbx
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.no_dead_strip	_free_netsgbuf_with_resp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function free_netsgbuf_with_resp
_free_netsgbuf_with_resp:               ; @free_netsgbuf_with_resp
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	x20, [x0]
	ldp	x19, x23, [x20, #16]
	mov	x0, x20
	bl	_skb_shinfo
	ldr	w24, [x0]
	ldr	x8, [x23, #16]
	ldr	x0, [x8]
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	w1, [x8]
	ldp	x9, x8, [x20]
	sub	x2, x8, x9
Lloh0:
	adrp	x25, _DMA_TO_DEVICE@GOTPAGE
Lloh1:
	ldr	x25, [x25, _DMA_TO_DEVICE@GOTPAGEOFF]
	ldr	w3, [x25]
	bl	_dma_unmap_single
	cbz	w24, LBB0_3
; %bb.1:
	mov	x26, #0
	mov	x27, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x27, x27, #1
	mov	x0, x20
	bl	_skb_shinfo
	ldr	x8, [x0, #8]
	add	x0, x8, x26
	ldr	x8, [x23, #16]
	ldr	x21, [x8]
	ldr	x8, [x19, #8]
	ubfx	x9, x27, #2, #30
	ldr	x8, [x8, x9, lsl #3]
	and	x9, x27, #0x3
	ldr	w22, [x8, x9, lsl #2]
	bl	_skb_frag_size
	mov	x2, x0
	ldr	w3, [x25]
	mov	x0, x21
	mov	x1, x22
	bl	_pci_unmap_page
	add	x26, x26, #4
	cmp	w24, w27
	b.ne	LBB0_2
LBB0_3:
	ldr	x0, [x23, #16]
	mov	x1, x20
	bl	_skb_iq
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x8, [x23]
	sbfiz	x20, x0, #2, #32
	add	x0, x8, x20
	bl	_spin_lock
	ldr	x8, [x23, #8]
	add	x1, x8, x20
	mov	x0, x19
	bl	_list_add_tail
	ldr	x8, [x23]
	add	x0, x8, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_spin_unlock
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.no_dead_strip	_free_netsgbuf_with_resp
.subsections_via_symbols
