	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_skb_pad                        ## -- Begin function skb_pad
	.p2align	4, 0x90
_skb_pad:                               ## @skb_pad
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r12
	callq	_skb_cloned
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movq	%r12, %rdi
	callq	_skb_tailroom
	cmpl	%r14d, %eax
	jge	LBB0_2
LBB0_3:
	movl	(%r12), %eax
	addl	%r14d, %eax
	movl	8(%r12), %ebx
	subl	4(%r12), %ebx
	addl	%eax, %ebx
	movq	%r12, %rdi
	callq	_skb_cloned
	testq	%rax, %rax
	setne	%al
	testl	%ebx, %ebx
	setg	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_pskb_expand_head
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_6
LBB0_5:
	movq	%r12, %rdi
	callq	_skb_linearize
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
LBB0_6:
	movq	%r12, %rdi
	callq	_kfree_skb
	jmp	LBB0_7
LBB0_2:
	movq	16(%r12), %rdi
	addq	24(%r12), %rdi
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	_memset
LBB0_7:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_skb_pad                        ; -- Begin function skb_pad
	.p2align	2
_skb_pad:                               ; @skb_pad
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_skb_cloned
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_skb_tailroom
	cmp	w0, w19
	b.ge	LBB0_6
LBB0_2:
	ldp	w8, w9, [x20]
	add	w8, w8, w19
	ldr	w10, [x20, #8]
	sub	w9, w10, w9
	add	w21, w8, w9
	mov	x0, x20
	bl	_skb_cloned
	cmp	x0, #0
	ccmp	w21, #0, #0, eq
	cset	w0, gt
	bl	_likely
	cbz	x0, LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, x20
	mov	w1, #0
	mov	x2, x21
	bl	_pskb_expand_head
	mov	x21, x0
	bl	_unlikely
	cbnz	x0, LBB0_5
LBB0_4:
	mov	x0, x20
	bl	_skb_linearize
	mov	x21, x0
	bl	_unlikely
	cbz	x0, LBB0_6
LBB0_5:
	mov	x0, x20
	bl	_kfree_skb
	b	LBB0_7
LBB0_6:
	ldp	x9, x8, [x20, #16]
	add	x0, x9, x8
	mov	w1, #0
	mov	x2, x19
	bl	_memset
	mov	w21, #0
LBB0_7:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
.subsections_via_symbols
