	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	____pskb_trim                   ## -- Begin function ___pskb_trim
	.p2align	4, 0x90
____pskb_trim:                          ## @___pskb_trim
	.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	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %rbx
	callq	_skb_headlen
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_skb_shinfo
	movl	(%rax), %r12d
	movq	%rbx, %rdi
	callq	_skb_cloned
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_pskb_expand_head
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_30
LBB0_2:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	cmpl	%r13d, %r14d
	jae	LBB0_19
## %bb.3:
	testl	%r12d, %r12d
	jle	LBB0_4
## %bb.5:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_skb_shinfo
	movq	16(%rax), %rax
	movl	(%rax,%rbx,8), %r15d
	addl	%r14d, %r15d
	cmpl	%r13d, %r15d
	jae	LBB0_18
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	movl	%r15d, %r14d
	cmpq	%rbx, %r12
	jne	LBB0_6
	jmp	LBB0_8
LBB0_4:
	movl	%r14d, %r15d
LBB0_8:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_skb_shinfo
	movq	8(%rax), %r12
	testq	%r12, %r12
	je	LBB0_26
## %bb.9:
	movq	%rax, %r14
	addq	$8, %r14
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %ebx
	addl	%r15d, %ebx
	movq	%r12, %rdi
	callq	_skb_shared
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_skb_clone
	movq	%rax, %r13
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_24
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	8(%r12), %rax
	movq	%rax, 8(%r13)
	movq	%r12, %rdi
	callq	_kfree_skb
	movq	%r13, (%r14)
	movq	%r13, %r12
	movl	-44(%rbp), %r13d                ## 4-byte Reload
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=1
	cmpl	%r13d, %ebx
	jae	LBB0_14
## %bb.25:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%r12, %r14
	movq	8(%r12), %rax
	addq	$8, %r14
	movq	%rax, %r12
	movl	%ebx, %r15d
	testq	%rax, %rax
	jne	LBB0_10
	jmp	LBB0_26
LBB0_18:
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	subl	%r14d, %r13d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_skb_shinfo
	movq	16(%rax), %rax
	leal	1(%rbx), %r15d
	movl	%r13d, (%rax,%rbx,8)
	movl	-44(%rbp), %r13d                ## 4-byte Reload
LBB0_19:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_skb_shinfo
	movl	%r15d, (%rax)
	cmpl	%r12d, %r15d
	jge	LBB0_22
## %bb.20:
	movl	%r15d, %ebx
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_skb_shinfo
	movq	16(%rax), %rax
	movl	4(%rax,%rbx,8), %edi
	callq	_put_page
	incq	%rbx
	cmpq	%rbx, %r12
	jne	LBB0_21
LBB0_22:
	movq	%r14, %rdi
	callq	_skb_has_frag_list
	testq	%rax, %rax
	je	LBB0_26
## %bb.23:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_skb_drop_fraglist
LBB0_26:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_skb_headlen
	cmpl	%r13d, %eax
	jae	LBB0_28
## %bb.27:
	movl	%r13d, %eax
	subl	(%rbx), %eax
	addl	%eax, 4(%rbx)
	movl	%r13d, (%rbx)
	jmp	LBB0_29
LBB0_28:
	movl	%r13d, (%rbx)
	movl	$0, 4(%rbx)
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_skb_set_tail_pointer
LBB0_29:
	xorl	%r13d, %r13d
LBB0_30:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	jbe	LBB0_16
## %bb.15:
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	subl	%r15d, %esi
	movq	%r12, %rdi
	callq	_pskb_trim
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_30
LBB0_16:
	cmpq	$0, 8(%r12)
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	je	LBB0_26
## %bb.17:
	addq	$8, %r12
	movq	%r12, %rdi
	callq	_skb_drop_list
	jmp	LBB0_26
LBB0_24:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_30
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	____pskb_trim                   ; -- Begin function ___pskb_trim
	.p2align	2
____pskb_trim:                          ; @___pskb_trim
	.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	x19, x1
	mov	x20, x0
	bl	_skb_headlen
	mov	x21, x0
	mov	x0, x20
	bl	_skb_shinfo
	ldr	w23, [x0]
	mov	x0, x20
	bl	_skb_cloned
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, x20
	mov	w1, #0
	mov	w2, #0
	bl	_pskb_expand_head
	mov	x22, x0
	bl	_unlikely
	cbnz	x0, LBB0_25
LBB0_2:
	cmp	w21, w19
	b.hs	LBB0_7
; %bb.3:
	cmp	w23, #1
	b.lt	LBB0_8
; %bb.4:
	mov	x25, #0
	lsl	x26, x23, #3
	mov	w22, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_skb_shinfo
	ldr	x8, [x0, #16]
	ldr	w8, [x8, x25]
	add	w24, w8, w21
	cmp	w24, w19
	b.hs	LBB0_16
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x25, x25, #8
	add	w22, w22, #1
	mov	x21, x24
	cmp	x26, x25
	b.ne	LBB0_5
	b	LBB0_9
LBB0_7:
	mov	w22, #0
	b	LBB0_17
LBB0_8:
	mov	x24, x21
LBB0_9:
	mov	x0, x20
	bl	_skb_shinfo
	mov	x22, x0
	ldr	x21, [x22, #8]!
	cbz	x21, LBB0_22
; %bb.10:
Lloh3:
	adrp	x25, _GFP_ATOMIC@GOTPAGE
Lloh4:
	ldr	x25, [x25, _GFP_ATOMIC@GOTPAGEOFF]
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w26, [x21]
	mov	x0, x21
	bl	_skb_shared
	cbz	x0, LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w1, [x25]
	mov	x0, x21
	bl	_skb_clone
	mov	x23, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_30
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x21, #8]
	str	x8, [x23, #8]
	mov	x0, x21
	bl	_kfree_skb
	str	x23, [x22]
	mov	x21, x23
LBB0_14:                                ;   in Loop: Header=BB0_11 Depth=1
	add	w8, w26, w24
	cmp	w8, w19
	b.hs	LBB0_26
; %bb.15:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x9, [x21, #8]!
	mov	x22, x21
	mov	x21, x9
	mov	x24, x8
	cbnz	x9, LBB0_11
	b	LBB0_22
LBB0_16:
	sub	w21, w19, w21
	mov	x0, x20
	bl	_skb_shinfo
	ldr	x8, [x0, #16]
	str	w21, [x8, x25]
LBB0_17:
	mov	x0, x20
	bl	_skb_shinfo
	str	w22, [x0]
	cmp	w22, w23
	b.ge	LBB0_20
; %bb.18:
	mov	w8, w22
	mov	w21, #4
	bfi	x21, x8, #3, #32
	sub	x22, x23, x8
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_skb_shinfo
	ldr	x8, [x0, #16]
	ldr	w0, [x8, x21]
	bl	_put_page
	add	x21, x21, #8
	subs	x22, x22, #1
	b.ne	LBB0_19
LBB0_20:
	mov	x0, x20
	bl	_skb_has_frag_list
	cbz	x0, LBB0_22
; %bb.21:
	mov	x0, x20
	bl	_skb_drop_fraglist
LBB0_22:
	mov	x0, x20
	bl	_skb_headlen
	cmp	w0, w19
	b.hs	LBB0_24
; %bb.23:
	mov	w22, #0
	ldp	w8, w9, [x20]
	sub	w8, w19, w8
	add	w8, w8, w9
	stp	w19, w8, [x20]
	b	LBB0_25
LBB0_24:
	stp	w19, wzr, [x20]
	mov	x0, x20
	mov	x1, x19
	bl	_skb_set_tail_pointer
	mov	w22, #0
LBB0_25:
	mov	x0, x22
	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_26:
	b.ls	LBB0_28
; %bb.27:
	sub	w1, w19, w24
	mov	x0, x21
	bl	_pskb_trim
	mov	x22, x0
	bl	_unlikely
	cbnz	x0, LBB0_25
LBB0_28:
	ldr	x8, [x21, #8]!
	cbz	x8, LBB0_22
; %bb.29:
	mov	x0, x21
	bl	_skb_drop_list
	b	LBB0_22
LBB0_30:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_25
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
