	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unmap_skb
_unmap_skb:                             ## @unmap_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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movl	%edx, %eax
	leaq	(%rax,%rax,2), %rsi
	movq	8(%r12), %rbx
	movq	16(%r12), %r8
	movl	(%rbx,%rsi,8), %r15d
	leaq	(%rbx,%rsi,8), %r13
	addq	$8, %r13
	movq	8(%rbx,%rsi,8), %rcx
	shlq	$2, %rcx
	addq	(%r8,%rax,8), %rcx
	movslq	16(%rbx,%rsi,8), %r14
	testq	%r14, %r14
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	%edx, -68(%rbp)                 ## 4-byte Spill
	movq	%rsi, -104(%rbp)                ## 8-byte Spill
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	jne	LBB0_3
## %bb.1:
	callq	_skb_headlen
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_be64_to_cpu
	movl	%eax, %r15d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_skb_headlen
	movq	_PCI_DMA_TODEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	movq	%rax, %rdx
	callq	_pci_unmap_single
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	$1, %r15d
LBB0_3:
	movl	(%r13), %eax
	leal	(%r15,%rax), %r13d
	incl	%r13d
	callq	_skb_shinfo
	movslq	(%rax), %rax
	movq	_WR_FLITS@GOTPCREL(%rip), %rsi
	movq	%r14, %rcx
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	cmpl	%eax, %ecx
	jge	LBB0_9
## %bb.4:
	cmpl	(%rsi), %r13d
	jge	LBB0_9
## %bb.5:
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	leaq	(,%rcx,4), %r14
	movq	%rcx, %rax
	incq	%rax
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	movq	%rax, %r12
	movq	(%rdx), %rax
	movslq	%r15d, %r15
	movl	(%rax,%r15,4), %edi
	callq	_be64_to_cpu
	movl	%eax, %ebx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_skb_shinfo
	movq	8(%rax), %rdi
	addq	%r14, %rdi
	callq	_skb_frag_size
	movq	_PCI_DMA_TODEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_pci_unmap_page
	movq	_WR_FLITS@GOTPCREL(%rip), %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	xorl	%eax, %eax
	xorl	$1, %r15d
	sete	%al
	addl	%eax, %r13d
	incl	%r13d
	incl	%ecx
	cmpq	-64(%rbp), %r12                 ## 8-byte Folded Reload
	jge	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	leaq	(%rdx,%rax,8), %rdx
	addq	$4, %r14
	leaq	1(%r12), %rax
	cmpl	(%rsi), %r13d
	jl	LBB0_6
LBB0_8:
	cmpq	-64(%rbp), %r12                 ## 8-byte Folded Reload
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	jl	LBB0_10
	jmp	LBB0_14
LBB0_9:
	cmpl	-64(%rbp), %ecx                 ## 4-byte Folded Reload
	jge	LBB0_14
LBB0_10:
	movl	-68(%rbp), %eax                 ## 4-byte Reload
	incl	%eax
	cmpl	(%r12), %eax
	jne	LBB0_12
## %bb.11:
	movq	8(%r12), %rax
	jmp	LBB0_13
LBB0_12:
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%rax,8), %rax
	addq	$24, %rax
LBB0_13:
	movl	%ecx, 16(%rax)
	movl	%r15d, (%rax)
	addl	(%rsi), %r15d
	subl	%r15d, %r13d
	movslq	%r13d, %rcx
	movq	%rcx, 8(%rax)
LBB0_14:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_DMA_TODEVICE,4,2           ## @PCI_DMA_TODEVICE
	.comm	_WR_FLITS,4,2                   ## @WR_FLITS
	.no_dead_strip	_unmap_skb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function unmap_skb
_unmap_skb:                             ; @unmap_skb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x21, x3
	mov	x25, x2
	mov	x20, x1
	mov	x22, x0
	mov	w8, #24
	ldp	x9, x10, [x1, #8]
	umaddl	x11, w2, w8, x9
	ldr	x8, [x10, w2, uxtw #3]
	ldr	w26, [x11]
	mov	x19, x11
	ldr	x9, [x19, #8]!
	add	x27, x8, x9, lsl #2
	ldr	w24, [x11, #16]
	str	x11, [sp, #24]                  ; 8-byte Folded Spill
	cbnz	w24, LBB0_3
; %bb.1:
	mov	x0, x22
	bl	_skb_headlen
	cbz	x0, LBB0_3
; %bb.2:
	ldr	x8, [x27]
	ldr	w0, [x8]
	bl	_be64_to_cpu
	mov	x23, x0
	mov	x0, x22
	bl	_skb_headlen
	mov	x2, x0
Lloh0:
	adrp	x8, _PCI_DMA_TODEVICE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCI_DMA_TODEVICE@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x23
	bl	_pci_unmap_single
	mov	w26, #1
LBB0_3:
	ldr	w8, [x19]
	add	w8, w26, w8
	add	w28, w8, #1
	mov	x0, x22
	bl	_skb_shinfo
	ldrsw	x19, [x0]
Lloh3:
	adrp	x8, _WR_FLITS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WR_FLITS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w24, w19
	ccmp	w28, w8, #0, lt
	b.lt	LBB0_5
; %bb.4:
	cmp	w24, w19
	b.lt	LBB0_9
	b	LBB0_13
LBB0_5:
	str	w25, [sp, #12]                  ; 4-byte Folded Spill
	str	x20, [sp, #16]                  ; 8-byte Folded Spill
	sxtw	x8, w24
	lsl	x25, x8, #2
	add	x8, x8, #1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x20, x8
	ldr	x8, [x27]
	ldr	w0, [x8, w26, sxtw #2]
	bl	_be64_to_cpu
	mov	x23, x0
	mov	x0, x22
	bl	_skb_shinfo
	ldr	x8, [x0, #8]
	add	x0, x8, x25
	bl	_skb_frag_size
	mov	x2, x0
Lloh6:
	adrp	x8, _PCI_DMA_TODEVICE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PCI_DMA_TODEVICE@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x23
	bl	_pci_unmap_page
	eor	w26, w26, #0x1
	cmp	w26, #0
	cset	w8, eq
	cinc	w9, w28, eq
	add	w28, w9, #1
	add	w24, w24, #1
	cmp	x20, x19
	b.ge	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x27, x27, w8, uxtw #3
Lloh9:
	adrp	x8, _WR_FLITS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WR_FLITS@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x8]
	add	x25, x25, #4
	add	x8, x20, #1
	cmp	w28, w9
	b.lt	LBB0_6
LBB0_8:
	cmp	x20, x19
	ldr	x20, [sp, #16]                  ; 8-byte Folded Reload
	ldr	w25, [sp, #12]                  ; 4-byte Folded Reload
	b.ge	LBB0_13
LBB0_9:
	add	w8, w25, #1
	ldr	w9, [x20]
	cmp	w8, w9
	b.ne	LBB0_11
; %bb.10:
	ldr	x8, [x20, #8]
	b	LBB0_12
LBB0_11:
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	add	x8, x8, #24
LBB0_12:
	str	w24, [x8, #16]
	str	w26, [x8]
Lloh12:
	adrp	x9, _WR_FLITS@GOTPAGE
Lloh13:
	ldr	x9, [x9, _WR_FLITS@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	add	w9, w26, w9
	sub	w9, w28, w9
	sxtw	x9, w9
	str	x9, [x8, #8]
LBB0_13:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_DMA_TODEVICE,4,2           ; @PCI_DMA_TODEVICE
	.comm	_WR_FLITS,4,2                   ; @WR_FLITS
	.no_dead_strip	_unmap_skb
.subsections_via_symbols
