	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ip4ip6_err
_ip4ip6_err:                            ## @ip4ip6_err
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r13d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movl	$0, -68(%rbp)
	movl	%edx, -48(%rbp)
	movl	%ecx, -44(%rbp)
	movl	%r9d, %edi
	callq	_ntohl
	movq	%rax, -80(%rbp)
	movq	_IPPROTO_IPIP@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	-80(%rbp), %rax
	leaq	-48(%rbp), %rcx
	leaq	-44(%rbp), %r8
	leaq	-68(%rbp), %r9
	movq	%r15, %rdi
	movq	%rbx, %rdx
	pushq	%r13
	pushq	%rax
	callq	_ip6_tnl_err
	addq	$16, %rsp
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	xorl	%r12d, %r12d
	cmpl	$0, -68(%rbp)
	je	LBB0_25
## %bb.3:
	movl	-48(%rbp), %eax
	cmpl	$128, %eax
	je	LBB0_7
## %bb.4:
	cmpl	$129, %eax
	jne	LBB0_25
## %bb.5:
	movl	-44(%rbp), %eax
	movq	_ICMPV6_ADDR_UNREACH@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_25
## %bb.6:
	movq	_ICMP_HOST_UNREACH@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_1:
	movl	%eax, %r12d
LBB0_25:
	movl	%r12d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	cmpl	$0, -44(%rbp)
	jne	LBB0_25
## %bb.8:
	movq	_ICMP_FRAG_NEEDED@GOTPCREL(%rip), %rax
LBB0_9:
	movq	_ICMP_DEST_UNREACH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -48(%rbp)
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	leal	12(%r13), %esi
	movq	%r15, %rdi
	callq	_pskb_may_pull
	testl	%eax, %eax
	je	LBB0_25
## %bb.10:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_skb_clone
	testq	%rax, %rax
	je	LBB0_25
## %bb.11:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_skb_dst_drop
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_skb_pull
	movq	%rbx, %rdi
	callq	_skb_reset_network_header
	movq	%rbx, %rdi
	callq	_ip_hdr
	movq	%rax, %r13
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	leaq	-96(%rbp), %rbx
	xorl	%r12d, %r12d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movl	4(%r13), %eax
	movl	%eax, -88(%rbp)
	movl	(%r13), %edi
	callq	_RT_TOS
	movl	%eax, -96(%rbp)
	movl	(%r14), %eax
	movl	%eax, -84(%rbp)
	movq	(%r15), %rdi
	callq	_dev_net
	leaq	-64(%rbp), %rsi
	movl	%eax, %edi
	movq	%rbx, %rdx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	callq	_ip_route_output_key
	testq	%rax, %rax
	jne	LBB0_24
## %bb.12:
	movq	-64(%rbp), %rax
	movq	8(%rax), %rax
	movq	%rax, (%r14)
	movq	-64(%rbp), %rdi
	movq	_RTCF_LOCAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	andl	(%rdi), %ebx
	callq	_ip_rt_put
	testl	%ebx, %ebx
	je	LBB0_17
## %bb.13:
	movq	$0, -64(%rbp)
	movl	8(%r13), %eax
	movl	%eax, -88(%rbp)
	movl	4(%r13), %eax
	movl	%eax, -92(%rbp)
	movl	(%r13), %eax
	movl	%eax, -96(%rbp)
	movq	(%r15), %rdi
	callq	_dev_net
	leaq	-64(%rbp), %rsi
	leaq	-96(%rbp), %rdx
	movl	%eax, %edi
	callq	_ip_route_output_key
	movq	-64(%rbp), %rsi
	testq	%rax, %rax
	jne	LBB0_15
## %bb.14:
	movq	8(%rsi), %rax
	movq	(%rax), %rax
	movq	_ARPHRD_TUNNEL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.16:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_skb_dst_set
	jmp	LBB0_19
LBB0_15:
	movq	%rsi, %rdi
	callq	_ip_rt_put
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_24
LBB0_17:
	movl	8(%r13), %esi
	movl	(%r13), %ecx
	movl	4(%r13), %edx
	movq	(%r14), %r8
	movq	%r14, %rdi
	callq	_ip_route_input
	testq	%rax, %rax
	jne	LBB0_24
## %bb.18:
	movq	%r14, %rdi
	callq	_skb_dst
	movq	8(%rax), %rax
	movq	(%rax), %rax
	movq	_ARPHRD_TUNNEL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_24
LBB0_19:
	movl	-48(%rbp), %ebx
	movq	_ICMP_DEST_UNREACH@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_23
## %bb.20:
	movl	-44(%rbp), %eax
	movq	_ICMP_FRAG_NEEDED@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_23
## %bb.21:
	movq	-80(%rbp), %r14
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_skb_dst
	movq	%rax, %rdi
	callq	_dst_mtu
	cmpq	%rax, %r14
	movq	%rbx, %r14
	jg	LBB0_24
## %bb.22:
	movq	%r14, %rdi
	callq	_skb_dst
	movq	(%rax), %rax
	movq	(%rax), %rbx
	movq	%r14, %rdi
	callq	_skb_dst
	movq	-80(%rbp), %rsi
	movq	%rax, %rdi
	callq	*%rbx
	movl	-48(%rbp), %ebx
LBB0_23:
	movl	-44(%rbp), %r15d
	movq	-80(%rbp), %rdi
	callq	_htonl
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_icmp_send
LBB0_24:
	movq	%r14, %rdi
	callq	_kfree_skb
	jmp	LBB0_25
	.cfi_endproc
                                        ## -- End function
	.comm	_IPPROTO_IPIP,4,2               ## @IPPROTO_IPIP
	.comm	_ICMPV6_ADDR_UNREACH,4,2        ## @ICMPV6_ADDR_UNREACH
	.comm	_ICMP_DEST_UNREACH,4,2          ## @ICMP_DEST_UNREACH
	.comm	_ICMP_HOST_UNREACH,4,2          ## @ICMP_HOST_UNREACH
	.comm	_ICMP_FRAG_NEEDED,4,2           ## @ICMP_FRAG_NEEDED
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_RTCF_LOCAL,4,2                 ## @RTCF_LOCAL
	.comm	_ARPHRD_TUNNEL,8,3              ## @ARPHRD_TUNNEL
	.no_dead_strip	_ip4ip6_err
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ip4ip6_err
_ip4ip6_err:                            ; @ip4ip6_err
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x21, x4
	mov	x19, x1
	mov	x20, x0
	stp	w2, wzr, [sp, #40]
	str	w3, [sp, #36]
	mov	x0, x5
	bl	_ntohl
	str	x0, [sp, #24]
Lloh0:
	adrp	x23, _IPPROTO_IPIP@GOTPAGE
Lloh1:
	ldr	x23, [x23, _IPPROTO_IPIP@GOTPAGEOFF]
	ldr	w1, [x23]
	add	x3, sp, #40
	add	x4, sp, #36
	add	x5, sp, #44
	add	x6, sp, #24
	mov	x0, x20
	mov	x2, x19
	mov	x7, x21
	bl	_ip6_tnl_err
	tbnz	w0, #31, LBB0_25
; %bb.1:
	ldr	w8, [sp, #44]
	cbz	w8, LBB0_24
; %bb.2:
	ldr	w8, [sp, #40]
	cmp	w8, #128
	b.eq	LBB0_6
; %bb.3:
	cmp	w8, #129
	b.ne	LBB0_24
; %bb.4:
	ldr	w8, [sp, #36]
Lloh2:
	adrp	x9, _ICMPV6_ADDR_UNREACH@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ICMPV6_ADDR_UNREACH@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_24
; %bb.5:
Lloh5:
	adrp	x8, _ICMP_HOST_UNREACH@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ICMP_HOST_UNREACH@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
	ldr	w8, [sp, #36]
	cbnz	w8, LBB0_24
; %bb.7:
Lloh7:
	adrp	x8, _ICMP_FRAG_NEEDED@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ICMP_FRAG_NEEDED@GOTPAGEOFF]
LBB0_8:
Lloh9:
	adrp	x22, _ICMP_DEST_UNREACH@GOTPAGE
Lloh10:
	ldr	x22, [x22, _ICMP_DEST_UNREACH@GOTPAGEOFF]
	ldr	w9, [x22]
	ldr	w8, [x8]
	stp	w8, w9, [sp, #36]
	add	w1, w21, #12
	mov	x0, x20
	bl	_pskb_may_pull
	cbz	w0, LBB0_25
; %bb.9:
Lloh11:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_skb_clone
	cbz	x0, LBB0_25
; %bb.10:
	mov	x19, x0
	bl	_skb_dst_drop
	mov	x0, x19
	mov	x1, x21
	bl	_skb_pull
	mov	x0, x19
	bl	_skb_reset_network_header
	mov	x0, x19
	bl	_ip_hdr
	mov	x21, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	ldr	w8, [x21, #4]
	str	w8, [sp, #16]
	ldr	w0, [x21]
	bl	_RT_TOS
	ldr	w8, [x23]
	str	w0, [sp, #8]
	str	w8, [sp, #20]
	ldr	x0, [x20]
	bl	_dev_net
	mov	x1, sp
	add	x2, sp, #8
	bl	_ip_route_output_key
	cbnz	x0, LBB0_23
; %bb.11:
	ldr	x8, [sp]
	ldr	x8, [x8, #8]
	str	x8, [x19]
	ldr	x0, [sp]
	ldr	w8, [x0]
Lloh14:
	adrp	x9, _RTCF_LOCAL@GOTPAGE
Lloh15:
	ldr	x9, [x9, _RTCF_LOCAL@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	and	w23, w9, w8
	bl	_ip_rt_put
	cbz	w23, LBB0_16
; %bb.12:
	str	xzr, [sp]
	ldr	w8, [x21, #8]
	str	w8, [sp, #16]
	ldr	d0, [x21]
	str	d0, [sp, #8]
	ldr	x0, [x20]
	bl	_dev_net
	mov	x1, sp
	add	x2, sp, #8
	bl	_ip_route_output_key
	ldr	x1, [sp]
	cbnz	x0, LBB0_15
; %bb.13:
	ldr	x8, [x1, #8]
	ldr	x8, [x8]
Lloh17:
	adrp	x9, _ARPHRD_TUNNEL@GOTPAGE
Lloh18:
	ldr	x9, [x9, _ARPHRD_TUNNEL@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_15
; %bb.14:
	mov	x0, x19
	bl	_skb_dst_set
	b	LBB0_18
LBB0_15:
	mov	x0, x1
	bl	_ip_rt_put
	b	LBB0_23
LBB0_16:
	ldp	w2, w1, [x21, #4]
	ldr	w3, [x21]
	ldr	x4, [x19]
	mov	x0, x19
	bl	_ip_route_input
	cbnz	x0, LBB0_23
; %bb.17:
	mov	x0, x19
	bl	_skb_dst
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
Lloh20:
	adrp	x9, _ARPHRD_TUNNEL@GOTPAGE
Lloh21:
	ldr	x9, [x9, _ARPHRD_TUNNEL@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_23
LBB0_18:
	ldr	w20, [sp, #40]
	ldr	w8, [x22]
	cmp	w20, w8
	b.ne	LBB0_22
; %bb.19:
	ldr	w8, [sp, #36]
Lloh23:
	adrp	x9, _ICMP_FRAG_NEEDED@GOTPAGE
Lloh24:
	ldr	x9, [x9, _ICMP_FRAG_NEEDED@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_22
; %bb.20:
	ldr	x20, [sp, #24]
	mov	x0, x19
	bl	_skb_dst
	bl	_dst_mtu
	cmp	x20, x0
	b.gt	LBB0_23
; %bb.21:
	mov	x0, x19
	bl	_skb_dst
	ldr	x8, [x0]
	ldr	x20, [x8]
	mov	x0, x19
	bl	_skb_dst
	ldr	x1, [sp, #24]
	blr	x20
	ldr	w20, [sp, #40]
LBB0_22:
	ldr	w21, [sp, #36]
	ldr	x0, [sp, #24]
	bl	_htonl
	mov	x3, x0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_icmp_send
LBB0_23:
	mov	x0, x19
	bl	_kfree_skb
LBB0_24:
	mov	w0, #0
LBB0_25:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_IPPROTO_IPIP,4,2               ; @IPPROTO_IPIP
	.comm	_ICMPV6_ADDR_UNREACH,4,2        ; @ICMPV6_ADDR_UNREACH
	.comm	_ICMP_DEST_UNREACH,4,2          ; @ICMP_DEST_UNREACH
	.comm	_ICMP_HOST_UNREACH,4,2          ; @ICMP_HOST_UNREACH
	.comm	_ICMP_FRAG_NEEDED,4,2           ; @ICMP_FRAG_NEEDED
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_RTCF_LOCAL,4,2                 ; @RTCF_LOCAL
	.comm	_ARPHRD_TUNNEL,8,3              ; @ARPHRD_TUNNEL
	.no_dead_strip	_ip4ip6_err
.subsections_via_symbols
