	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function geneve_get_v4_rt
_geneve_get_v4_rt:                      ## @geneve_get_v4_rt
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movq	%rcx, %rbx
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	%r8, %rsi
	callq	_ip_tunnel_dst_cache_usable
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_netdev_priv
	testq	%r14, %r14
	je	LBB0_1
## %bb.3:
	movq	%rax, %r12
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$20, %edx
	callq	_memset
	movl	(%r13), %eax
	movl	%eax, 16(%rbx)
	movq	_IPPROTO_UDP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movl	12(%r15), %eax
	movl	%eax, 4(%rbx)
	movl	8(%r15), %eax
	movl	%eax, (%rbx)
	movl	4(%r15), %edi
	cmpl	$1, %edi
	jne	LBB0_6
## %bb.4:
	cmpl	$0, 4(%r12)
	je	LBB0_5
LBB0_6:
	callq	_RT_TOS
	movl	%eax, 8(%rbx)
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_7
## %bb.8:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_dst_cache_get_ip4
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_16
## %bb.9:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_10
LBB0_1:
	movq	_EIO@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_5:
	movq	%r13, %rdi
	callq	_ip_hdr
	movl	%eax, %edi
	movq	%r13, %rsi
	callq	_ip_tunnel_get_dsfield
	movl	%eax, %edi
	callq	_RT_TOS
	movl	%eax, 8(%rbx)
LBB0_7:
	movb	$1, %al
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
LBB0_10:
	leaq	4(%rbx), %r14
	movl	(%r12), %edi
	movq	%rbx, %rsi
	callq	_ip_route_output_key
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	leaq	L_.str(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	_netdev_dbg
	movq	_ENETUNREACH@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%edi, %edi
	subl	(%rax), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_12:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	cmpq	%rdi, (%r13)
	je	LBB0_13
## %bb.14:
	cmpb	$0, -44(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_16
## %bb.15:
	movl	(%rbx), %edx
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_dst_cache_set_ip4
LBB0_16:
	movq	%r13, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdx
	callq	_netdev_dbg
	movq	%r13, %rdi
	callq	_ip_rt_put
	movq	_ELOOP@GOTPCREL(%rip), %rax
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.comm	_IPPROTO_UDP,4,2                ## @IPPROTO_UDP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no route to %pI4\n"

	.comm	_ENETUNREACH,4,2                ## @ENETUNREACH
L_.str.1:                               ## @.str.1
	.asciz	"circular route to %pI4\n"

	.comm	_ELOOP,4,2                      ## @ELOOP
	.no_dead_strip	_geneve_get_v4_rt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function geneve_get_v4_rt
_geneve_get_v4_rt:                      ; @geneve_get_v4_rt
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x4
	mov	x21, x3
	mov	x25, x2
	mov	x20, x1
	mov	x23, x0
	mov	x1, x4
	bl	_ip_tunnel_dst_cache_usable
	mov	x24, x0
	mov	x0, x20
	bl	_netdev_priv
	cbz	x25, LBB0_6
; %bb.1:
	mov	x22, x0
	mov	x0, x21
	mov	w1, #0
	mov	w2, #20
	bl	_memset
	ldr	w8, [x23]
Lloh0:
	adrp	x9, _IPPROTO_UDP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IPPROTO_UDP@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #12]
	ldr	d0, [x19, #8]
	str	d0, [x21]
	ldr	w0, [x19, #4]
	cmp	w0, #1
	b.ne	LBB0_3
; %bb.2:
	ldr	w8, [x22, #4]
	cbz	w8, LBB0_7
LBB0_3:
	bl	_RT_TOS
	str	w0, [x21, #8]
	cbz	w24, LBB0_8
; %bb.4:
	mov	x0, x19
	mov	x1, x21
	bl	_dst_cache_get_ip4
	mov	x23, x0
	cbnz	x0, LBB0_15
; %bb.5:
	mov	w25, #0
	b	LBB0_9
LBB0_6:
Lloh3:
	adrp	x8, _EIO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_11
LBB0_7:
	mov	x0, x23
	bl	_ip_hdr
	mov	x1, x23
	bl	_ip_tunnel_get_dsfield
	bl	_RT_TOS
	str	w0, [x21, #8]
LBB0_8:
	mov	w25, #1
LBB0_9:
	add	x24, x21, #4
	ldr	w0, [x22]
	mov	x1, x21
	bl	_ip_route_output_key
	mov	x23, x0
	bl	_IS_ERR
	cbz	x0, LBB0_12
; %bb.10:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x24
	bl	_netdev_dbg
Lloh7:
	adrp	x8, _ENETUNREACH@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENETUNREACH@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_ERR_PTR
LBB0_12:
	ldr	x8, [x23]
	cmp	x8, x20
	b.eq	LBB0_16
; %bb.13:
	tbnz	w25, #0, LBB0_15
; %bb.14:
	ldr	w2, [x21]
	mov	x0, x19
	mov	x1, x23
	bl	_dst_cache_set_ip4
LBB0_15:
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_16:
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x24
	bl	_netdev_dbg
	mov	x0, x23
	bl	_ip_rt_put
Lloh11:
	adrp	x8, _ELOOP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ELOOP@GOTPAGEOFF]
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.comm	_IPPROTO_UDP,4,2                ; @IPPROTO_UDP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no route to %pI4\n"

	.comm	_ENETUNREACH,4,2                ; @ENETUNREACH
l_.str.1:                               ; @.str.1
	.asciz	"circular route to %pI4\n"

	.comm	_ELOOP,4,2                      ; @ELOOP
	.no_dead_strip	_geneve_get_v4_rt
.subsections_via_symbols
