	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xfrm_state_check_space
_xfrm_state_check_space:                ## @xfrm_state_check_space
	.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
	movq	%rsi, %r14
	movq	%rsi, %rdi
	callq	_skb_dst
	movq	%rax, %r15
	movl	(%rax), %r12d
	movq	8(%rax), %rdi
	callq	_LL_RESERVED_SPACE
	movl	%eax, %ebx
	addl	%r12d, %ebx
	movq	%r14, %rdi
	callq	_skb_headroom
	subl	%eax, %ebx
	movq	8(%r15), %rax
	movl	(%rax), %r15d
	movq	%r14, %rdi
	callq	_skb_tailroom
	subl	%eax, %r15d
	testl	%ebx, %ebx
	jle	LBB0_1
## %bb.3:
	xorl	%eax, %eax
	testl	%r15d, %r15d
	cmovlel	%eax, %r15d
	jmp	LBB0_4
LBB0_1:
	xorl	%ebx, %ebx
	testl	%r15d, %r15d
	jle	LBB0_2
LBB0_4:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pskb_expand_head               ## TAILCALL
LBB0_2:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.no_dead_strip	_xfrm_state_check_space
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xfrm_state_check_space
_xfrm_state_check_space:                ; @xfrm_state_check_space
	.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	x0, x1
	bl	_skb_dst
	mov	x21, x0
	ldr	w20, [x0]
	ldr	x0, [x0, #8]
	bl	_LL_RESERVED_SPACE
	add	w20, w0, w20
	mov	x0, x19
	bl	_skb_headroom
	sub	w20, w20, w0
	ldr	x8, [x21, #8]
	ldr	w21, [x8]
	mov	x0, x19
	bl	_skb_tailroom
	sub	w2, w21, w0
	cmp	w20, #0
	b.le	LBB0_2
; %bb.1:
	cmp	w2, #0
	csel	w2, w2, wzr, gt
	b	LBB0_4
LBB0_2:
	cmp	w2, #1
	b.lt	LBB0_5
; %bb.3:
	mov	w20, #0
LBB0_4:
Lloh0:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x20
	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
	b	_pskb_expand_head
LBB0_5:
	mov	w0, #0
	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
	.no_dead_strip	_xfrm_state_check_space
.subsections_via_symbols
