	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xfrm6_mode_tunnel_input
_xfrm6_mode_tunnel_input:               ## @xfrm6_mode_tunnel_input
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movq	%rsi, %rdi
	callq	_XFRM_MODE_SKB_CB
	movq	(%rax), %rax
	movq	_IPPROTO_IPV6@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.1:
	movq	%r15, %rdi
	movl	$4, %esi
	callq	_pskb_may_pull
	testl	%eax, %eax
	je	LBB0_8
## %bb.2:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_skb_unclone
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_8
## %bb.3:
	movl	(%r14), %eax
	movq	_XFRM_STATE_DECAP_DSCP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.4:
	movq	%r15, %rdi
	callq	_ipv6_hdr
	movl	%eax, %edi
	callq	_ipv6_get_dsfield
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_ipipv6_hdr
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ipv6_copy_dscp
	movl	(%r14), %eax
LBB0_5:
	movq	_XFRM_STATE_NOECN@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	callq	_ipip6_ecn_decapsulate
LBB0_7:
	movq	%r15, %rdi
	callq	_skb_mac_header
	movq	%rax, %r14
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	subl	(%r15), %esi
	movq	%r15, %rdi
	callq	_skb_set_mac_header
	movq	%r15, %rdi
	callq	_skb_mac_header
	movl	(%r15), %edx
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_memmove
	movq	%r15, %rdi
	callq	_skb_reset_network_header
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IPPROTO_IPV6,8,3               ## @IPPROTO_IPV6
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_XFRM_STATE_DECAP_DSCP,4,2      ## @XFRM_STATE_DECAP_DSCP
	.comm	_XFRM_STATE_NOECN,4,2           ## @XFRM_STATE_NOECN
	.no_dead_strip	_xfrm6_mode_tunnel_input
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xfrm6_mode_tunnel_input
_xfrm6_mode_tunnel_input:               ; @xfrm6_mode_tunnel_input
	.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
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w21, w8
	mov	x0, x1
	bl	_XFRM_MODE_SKB_CB
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _IPPROTO_IPV6@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IPPROTO_IPV6@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.1:
	mov	x0, x19
	mov	w1, #4
	bl	_pskb_may_pull
	cbz	w0, LBB0_8
; %bb.2:
Lloh6:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_skb_unclone
	mov	x21, x0
	cbnz	w0, LBB0_8
; %bb.3:
	ldr	w8, [x20]
Lloh9:
	adrp	x9, _XFRM_STATE_DECAP_DSCP@GOTPAGE
Lloh10:
	ldr	x9, [x9, _XFRM_STATE_DECAP_DSCP@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_ipv6_hdr
	bl	_ipv6_get_dsfield
	mov	x21, x0
	mov	x0, x19
	bl	_ipipv6_hdr
	mov	x1, x0
	mov	x0, x21
	bl	_ipv6_copy_dscp
	ldr	w8, [x20]
LBB0_5:
Lloh12:
	adrp	x9, _XFRM_STATE_NOECN@GOTPAGE
Lloh13:
	ldr	x9, [x9, _XFRM_STATE_NOECN@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_ipip6_ecn_decapsulate
LBB0_7:
	mov	x0, x19
	bl	_skb_mac_header
	mov	x20, x0
	ldr	w8, [x19]
	neg	w1, w8
	mov	x0, x19
	bl	_skb_set_mac_header
	mov	x0, x19
	bl	_skb_mac_header
	ldr	w2, [x19]
	mov	x1, x20
	bl	_memmove
	mov	x0, x19
	bl	_skb_reset_network_header
	mov	w21, #0
LBB0_8:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IPPROTO_IPV6,8,3               ; @IPPROTO_IPV6
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_XFRM_STATE_DECAP_DSCP,4,2      ; @XFRM_STATE_DECAP_DSCP
	.comm	_XFRM_STATE_NOECN,4,2           ; @XFRM_STATE_NOECN
	.no_dead_strip	_xfrm6_mode_tunnel_input
.subsections_via_symbols
