	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xfrm4_udp_encap_rcv            ## -- Begin function xfrm4_udp_encap_rcv
	.p2align	4, 0x90
_xfrm4_udp_encap_rcv:                   ## @xfrm4_udp_encap_rcv
	.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, %r15
	callq	_udp_sk
	movl	(%rax), %r14d
	movl	$1, %r13d
	testl	%r14d, %r14d
	je	LBB0_15
## %bb.1:
	movl	(%r15), %ebx
	addl	$-4, %ebx
	movl	%ebx, %edi
	movl	$8, %esi
	callq	_min
	leaq	4(%rax), %rsi
	movq	%r15, %rdi
	callq	_pskb_may_pull
	testl	%eax, %eax
	je	LBB0_15
## %bb.2:
	movq	%r15, %rdi
	callq	_udp_hdr
	cmpl	$128, %r14d
	jne	LBB0_3
## %bb.7:
	cmpl	$1, %ebx
	je	LBB0_4
## %bb.8:
	cmpl	$13, %ebx
	jb	LBB0_15
## %bb.9:
	cmpl	$0, 16(%rax)
	jne	LBB0_15
## %bb.10:
	cmpl	$0, 20(%rax)
	jne	LBB0_15
## %bb.11:
	movl	$12, %r12d
	jmp	LBB0_12
LBB0_3:
	cmpl	$1, %ebx
	jne	LBB0_5
LBB0_4:
	cmpl	$255, 16(%rax)
	jne	LBB0_15
LBB0_14:
	movq	%r15, %rdi
	callq	_kfree_skb
	xorl	%r13d, %r13d
	jmp	LBB0_15
LBB0_5:
	cmpl	$5, %ebx
	jb	LBB0_15
## %bb.6:
	movl	$4, %r12d
	cmpl	$0, 16(%rax)
	je	LBB0_15
LBB0_12:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_skb_unclone
	testq	%rax, %rax
	jne	LBB0_14
## %bb.13:
	movq	%r15, %rdi
	callq	_ip_hdr
	movq	%rax, %rbx
	movl	(%rax), %r13d
	movl	4(%rax), %edi
	callq	_ntohs
	movl	%r12d, %ecx
	subq	%rcx, %rax
	movq	%rax, %rdi
	callq	_htons
	movl	%eax, 4(%rbx)
	leal	(%r12,%r13,4), %eax
	cmpl	%eax, (%r15)
	jl	LBB0_14
## %bb.16:
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	___skb_pull
	movq	%r15, %rdi
	callq	_skb_reset_transport_header
	movq	_IPPROTO_ESP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	movl	%r14d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xfrm4_rcv_encap                ## TAILCALL
LBB0_15:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_IPPROTO_ESP,4,2                ## @IPPROTO_ESP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xfrm4_udp_encap_rcv            ; -- Begin function xfrm4_udp_encap_rcv
	.p2align	2
_xfrm4_udp_encap_rcv:                   ; @xfrm4_udp_encap_rcv
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	bl	_udp_sk
	ldr	w20, [x0]
	cbz	w20, LBB0_17
; %bb.1:
	ldr	w8, [x19]
	sub	w21, w8, #4
	mov	x0, x21
	mov	w1, #8
	bl	_min
	add	x1, x0, #4
	mov	x0, x19
	bl	_pskb_may_pull
	cbz	w0, LBB0_17
; %bb.2:
	mov	x0, x19
	bl	_udp_hdr
	cmp	w20, #128
	b.ne	LBB0_8
; %bb.3:
	cmp	w21, #1
	b.eq	LBB0_9
; %bb.4:
	cmp	w21, #13
	b.lo	LBB0_17
; %bb.5:
	ldr	w8, [x0, #16]
	cbnz	w8, LBB0_17
; %bb.6:
	ldr	w8, [x0, #20]
	cbnz	w8, LBB0_17
; %bb.7:
	mov	w21, #12
	b	LBB0_14
LBB0_8:
	cmp	w21, #1
	b.ne	LBB0_11
LBB0_9:
	ldr	w8, [x0, #16]
	cmp	w8, #255
	b.ne	LBB0_17
LBB0_10:
	mov	x0, x19
	bl	_kfree_skb
	mov	w0, #0
	b	LBB0_18
LBB0_11:
	cmp	w21, #5
	b.lo	LBB0_17
; %bb.12:
	ldr	w8, [x0, #16]
	cbz	w8, LBB0_17
; %bb.13:
	mov	w21, #4
LBB0_14:
Lloh0:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_skb_unclone
	cbnz	x0, LBB0_10
; %bb.15:
	mov	x0, x19
	bl	_ip_hdr
	mov	x22, x0
	ldp	w23, w0, [x0]
	bl	_ntohs
	sub	x0, x0, w21, uxtw
	bl	_htons
	str	w0, [x22, #4]
	ldr	w8, [x19]
	add	w9, w21, w23, lsl #2
	cmp	w8, w9
	b.lt	LBB0_10
; %bb.16:
	mov	x0, x19
	mov	x1, x21
	bl	___skb_pull
	mov	x0, x19
	bl	_skb_reset_transport_header
Lloh3:
	adrp	x8, _IPPROTO_ESP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IPPROTO_ESP@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	x3, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_xfrm4_rcv_encap
LBB0_17:
	mov	w0, #1
LBB0_18:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_IPPROTO_ESP,4,2                ; @IPPROTO_ESP
.subsections_via_symbols
