	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipgre_err
_ipgre_err:                             ## @ipgre_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	callq	_dev_net
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_icmp_hdr
	movl	(%rax), %r13d
	movq	%rbx, %rdi
	callq	_icmp_hdr
	movl	4(%rax), %eax
	movq	_PACKET_RCVD@GOTPCREL(%rip), %rdx
	cmpl	$128, %r13d
	je	LBB0_3
## %bb.1:
	cmpl	$132, %r13d
	jne	LBB0_20
## %bb.2:
	addl	$-129, %eax
	cmpl	$2, %eax
	jae	LBB0_4
	jmp	LBB0_20
LBB0_3:
	movq	_ICMP_EXC_TTL@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_20
LBB0_4:
	movq	(%r14), %r12
	movq	_ETH_P_TEB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%rax, %r12
	jne	LBB0_6
## %bb.5:
	movq	_gre_tap_net_id@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	_ipgre_net_id@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_net_generic
	movq	(%rbx), %rcx
	movq	8(%rbx), %rdi
	movl	(%rcx), %esi
	movl	8(%r14), %r9d
	movl	12(%r14), %edx
	movl	(%rdi), %r8d
	movl	4(%rdi), %ecx
	movq	%rax, %rdi
	callq	_ip_tunnel_lookup
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	movq	%rax, %rbx
	movq	16(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.9:
	callq	_ipv4_is_multicast
	testq	%rax, %rax
	jne	LBB0_12
## %bb.13:
	cmpq	$0, 24(%rbx)
	jne	LBB0_16
## %bb.14:
	cmpl	$128, %r13d
	jne	LBB0_16
LBB0_12:
	movq	_PACKET_RCVD@GOTPCREL(%rip), %rdx
	jmp	LBB0_20
LBB0_11:
	movq	_PACKET_REJECT@GOTPCREL(%rip), %rdx
LBB0_20:
	movl	(%rdx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	_jiffies@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	movq	_IPTUNNEL_ERR_TIMEO@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	callq	_time_before
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	movl	(%rbx), %eax
	incl	%eax
	jmp	LBB0_19
LBB0_18:
	movl	$1, %eax
LBB0_19:
	movq	_PACKET_RCVD@GOTPCREL(%rip), %rdx
	movl	%eax, (%rbx)
	movq	(%r14), %rax
	movq	%rax, 8(%rbx)
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_PACKET_RCVD,4,2                ## @PACKET_RCVD
	.comm	_ICMP_EXC_TTL,4,2               ## @ICMP_EXC_TTL
	.comm	_ETH_P_TEB,4,2                  ## @ETH_P_TEB
	.comm	_gre_tap_net_id,4,2             ## @gre_tap_net_id
	.comm	_ipgre_net_id,4,2               ## @ipgre_net_id
	.comm	_PACKET_REJECT,4,2              ## @PACKET_REJECT
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_IPTUNNEL_ERR_TIMEO,8,3         ## @IPTUNNEL_ERR_TIMEO
	.no_dead_strip	_ipgre_err
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipgre_err
_ipgre_err:                             ; @ipgre_err
	.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, x2
	mov	x20, x0
	ldr	x0, [x0]
	bl	_dev_net
	mov	x21, x0
	mov	x0, x20
	bl	_icmp_hdr
	ldr	w22, [x0]
	mov	x0, x20
	bl	_icmp_hdr
	ldr	w8, [x0, #4]
	cmp	w22, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w22, #132
	b.ne	LBB0_14
; %bb.2:
	sub	w8, w8, #129
	cmp	w8, #2
	b.hs	LBB0_4
	b	LBB0_14
LBB0_3:
Lloh0:
	adrp	x9, _ICMP_EXC_TTL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ICMP_EXC_TTL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_14
LBB0_4:
	ldr	x23, [x19]
Lloh3:
	adrp	x8, _ETH_P_TEB@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETH_P_TEB@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_htons
Lloh6:
	adrp	x8, _gre_tap_net_id@GOTPAGE
Lloh7:
	ldr	x8, [x8, _gre_tap_net_id@GOTPAGEOFF]
Lloh8:
	adrp	x9, _ipgre_net_id@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ipgre_net_id@GOTPAGEOFF]
	cmp	x23, x0
	csel	x8, x8, x9, eq
	ldr	w1, [x8]
	mov	x0, x21
	bl	_net_generic
	ldp	x9, x8, [x20]
	ldr	w1, [x9]
	ldp	w4, w3, [x8]
	ldp	w5, w2, [x19, #8]
	bl	_ip_tunnel_lookup
	cbz	x0, LBB0_11
; %bb.5:
	mov	x19, x0
	ldr	x0, [x0, #16]
	cbz	x0, LBB0_14
; %bb.6:
	bl	_ipv4_is_multicast
	cbnz	x0, LBB0_14
; %bb.7:
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_9
; %bb.8:
	cmp	w22, #128
	b.eq	LBB0_14
LBB0_9:
Lloh10:
	adrp	x20, _jiffies@GOTPAGE
Lloh11:
	ldr	x20, [x20, _jiffies@GOTPAGEOFF]
	ldr	x0, [x20]
	ldr	x8, [x19, #8]
Lloh12:
	adrp	x9, _IPTUNNEL_ERR_TIMEO@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IPTUNNEL_ERR_TIMEO@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_time_before
	cbz	x0, LBB0_12
; %bb.10:
	ldr	w8, [x19]
	add	w8, w8, #1
	b	LBB0_13
LBB0_11:
Lloh15:
	adrp	x8, _PACKET_REJECT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PACKET_REJECT@GOTPAGEOFF]
	b	LBB0_15
LBB0_12:
	mov	w8, #1
LBB0_13:
	str	w8, [x19]
	ldr	x8, [x20]
	str	x8, [x19, #8]
LBB0_14:
Lloh17:
	adrp	x8, _PACKET_RCVD@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PACKET_RCVD@GOTPAGEOFF]
LBB0_15:
	ldr	w0, [x8]
	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 AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_PACKET_RCVD,4,2                ; @PACKET_RCVD
	.comm	_ICMP_EXC_TTL,4,2               ; @ICMP_EXC_TTL
	.comm	_ETH_P_TEB,4,2                  ; @ETH_P_TEB
	.comm	_gre_tap_net_id,4,2             ; @gre_tap_net_id
	.comm	_ipgre_net_id,4,2               ; @ipgre_net_id
	.comm	_PACKET_REJECT,4,2              ; @PACKET_REJECT
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_IPTUNNEL_ERR_TIMEO,8,3         ; @IPTUNNEL_ERR_TIMEO
	.no_dead_strip	_ipgre_err
.subsections_via_symbols
