	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipcomp_decompress
_ipcomp_decompress:                     ## @ipcomp_decompress
	.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
	movq	%rsi, %r12
	movq	(%rdi), %r13
	movl	(%rsi), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_IPCOMP_SCRATCH_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	16(%rsi), %r15
	xorl	%eax, %eax
	callq	_get_cpu
	movl	%eax, %ebx
	movq	_ipcomp_scratches@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_per_cpu_ptr
	movq	(%rax), %r14
	movl	(%r13), %edi
	movl	%ebx, %esi
	callq	_per_cpu_ptr
	movq	(%rax), %rdi
	leaq	-44(%rbp), %r8
	movq	%r15, %rsi
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %edx
	movq	%r14, %rcx
	callq	_crypto_comp_decompress
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_13
## %bb.1:
	movslq	%r15d, %rax
	movslq	-44(%rbp), %rbx
	addq	$4, %rax
	cmpq	%rbx, %rax
	jbe	LBB0_3
## %bb.2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_13
LBB0_3:
	subl	%r15d, %ebx
	movq	%r12, %rdi
	callq	_skb_tailroom
	cmpl	%eax, %ebx
	jle	LBB0_5
## %bb.4:
	movq	%r12, %rdi
	callq	_skb_tailroom
	movl	%eax, %ebx
LBB0_5:
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	___skb_put
	addl	%ebx, %r15d
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	_skb_copy_to_linear_data
	xorl	%ebx, %ebx
	subl	%r15d, -44(%rbp)
	jle	LBB0_13
## %bb.6:
	movslq	%r15d, %rax
	leaq	(%r14,%rax,4), %r15
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	_EMSGSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r12, %rdi
	callq	_skb_shinfo
	movq	(%rax), %rax
	xorl	%edi, %edi
	movq	_MAX_SKB_FRAGS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	setge	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, %rdi
	callq	_skb_shinfo
	movq	8(%rax), %r13
	movq	%r12, %rdi
	callq	_skb_shinfo
	movq	(%rax), %rbx
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_alloc_page
	leaq	(%rbx,%rbx,2), %r14
	movl	%eax, 16(%r13,%r14,8)
	testl	%eax, %eax
	je	LBB0_9
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movl	-44(%rbp), %ecx
	cmpl	%ebx, %ecx
	cmovll	%ecx, %ebx
	movl	%eax, %edi
	callq	_page_address
	movl	%eax, %edi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_memcpy
	movq	$0, 8(%r13,%r14,8)
	movl	%ebx, (%r13,%r14,8)
	addl	%ebx, 4(%r12)
	addl	%ebx, 8(%r12)
	addl	%ebx, (%r12)
	movq	%r12, %rdi
	callq	_skb_shinfo
	incq	(%rax)
	movslq	%ebx, %rax
	leaq	(%r15,%rax,4), %r15
	subl	%eax, -44(%rbp)
	jg	LBB0_7
## %bb.12:
	xorl	%ebx, %ebx
	jmp	LBB0_13
LBB0_9:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_10:
	negl	%ebx
LBB0_13:
	xorl	%eax, %eax
	callq	_put_cpu
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPCOMP_SCRATCH_SIZE,4,2        ## @IPCOMP_SCRATCH_SIZE
	.comm	_ipcomp_scratches,4,2           ## @ipcomp_scratches
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EMSGSIZE,4,2                   ## @EMSGSIZE
	.comm	_MAX_SKB_FRAGS,8,3              ## @MAX_SKB_FRAGS
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.no_dead_strip	_ipcomp_decompress
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipcomp_decompress
_ipcomp_decompress:                     ; @ipcomp_decompress
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x1
	ldr	x24, [x0]
	ldr	w21, [x1]
Lloh0:
	adrp	x8, _IPCOMP_SCRATCH_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPCOMP_SCRATCH_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	ldr	x22, [x1, #16]
	bl	_get_cpu
	mov	x23, x0
Lloh3:
	adrp	x8, _ipcomp_scratches@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ipcomp_scratches@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_per_cpu_ptr
	ldr	x20, [x0]
	ldr	w0, [x24]
	mov	x1, x23
	bl	_per_cpu_ptr
	ldr	x0, [x0]
	add	x4, sp, #12
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	bl	_crypto_comp_decompress
	mov	x22, x0
	cbnz	w0, LBB0_13
; %bb.1:
	sxtw	x22, w21
	ldrsw	x8, [sp, #12]
	add	x9, x22, #4
	cmp	x9, x8
	b.ls	LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_13
LBB0_3:
	sub	w21, w8, w22
	mov	x0, x19
	bl	_skb_tailroom
	cmp	w21, w0
	b.le	LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_skb_tailroom
	mov	x21, x0
LBB0_5:
	mov	x0, x19
	mov	x1, x21
	bl	___skb_put
	add	w21, w21, w22
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_skb_copy_to_linear_data
	ldr	w8, [sp, #12]
	sub	w8, w8, w21
	str	w8, [sp, #12]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.6:
Lloh9:
	adrp	x22, _EMSGSIZE@GOTPAGE
Lloh10:
	ldr	x22, [x22, _EMSGSIZE@GOTPAGEOFF]
Lloh11:
	adrp	x23, _MAX_SKB_FRAGS@GOTPAGE
Lloh12:
	ldr	x23, [x23, _MAX_SKB_FRAGS@GOTPAGEOFF]
Lloh13:
	adrp	x24, _GFP_ATOMIC@GOTPAGE
Lloh14:
	ldr	x24, [x24, _GFP_ATOMIC@GOTPAGEOFF]
	mov	w25, #24
	add	x20, x20, w21, sxtw #2
Lloh15:
	adrp	x27, _PAGE_SIZE@GOTPAGE
Lloh16:
	ldr	x27, [x27, _PAGE_SIZE@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w21, [x22]
	mov	x0, x19
	bl	_skb_shinfo
	ldr	x8, [x0]
	ldr	x9, [x23]
	cmp	x8, x9
	cset	w0, ge
	bl	_WARN_ON
	cbnz	x0, LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x19
	bl	_skb_shinfo
	ldr	x28, [x0, #8]
	mov	x0, x19
	bl	_skb_shinfo
	ldr	x26, [x0]
	ldr	w0, [x24]
	bl	_alloc_page
	madd	x8, x26, x25, x28
	str	w0, [x8, #16]
	cbz	w0, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x27]
	ldr	w9, [sp, #12]
	cmp	w9, w8
	csel	w21, w9, w8, lt
	bl	_page_address
	mov	x1, x20
	mov	x2, x21
	bl	_memcpy
	madd	x8, x26, x25, x28
	str	xzr, [x8, #8]
	str	w21, [x8]
	ldr	w8, [x19, #8]
	add	w8, w8, w21
	str	w8, [x19, #8]
	ldr	d0, [x19]
	dup.2s	v1, w21
	add.2s	v0, v0, v1
	str	d0, [x19]
	mov	x0, x19
	bl	_skb_shinfo
	ldr	x8, [x0]
	add	x8, x8, #1
	str	x8, [x0]
	add	x20, x20, w21, sxtw #2
	ldr	w8, [sp, #12]
	sub	w8, w8, w21
	str	w8, [sp, #12]
	cmp	w8, #0
	b.gt	LBB0_7
LBB0_10:
	mov	w22, #0
	b	LBB0_13
LBB0_11:
Lloh17:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh19:
	ldr	w21, [x8]
LBB0_12:
	neg	w22, w21
LBB0_13:
	bl	_put_cpu
	mov	x0, x22
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_IPCOMP_SCRATCH_SIZE,4,2        ; @IPCOMP_SCRATCH_SIZE
	.comm	_ipcomp_scratches,4,2           ; @ipcomp_scratches
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EMSGSIZE,4,2                   ; @EMSGSIZE
	.comm	_MAX_SKB_FRAGS,8,3              ; @MAX_SKB_FRAGS
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.no_dead_strip	_ipcomp_decompress
.subsections_via_symbols
