	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function geneve_build_skb
_geneve_build_skb:                      ## @geneve_build_skb
	.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
	movl	%r8d, %ebx
	movl	%ecx, %r13d
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	movl	4(%rdx), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_TUNNEL_CSUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %rdi
	callq	_skb_reset_mac_header
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_skb_scrub_packet
	movl	4(%r12), %edi
	callq	_LL_RESERVED_SPACE
	movq	_GENEVE_BASE_HLEN@GOTPCREL(%rip), %rcx
	addl	%eax, %ebx
	addl	(%r12), %ebx
	addl	(%rcx), %ebx
	addl	(%r14), %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_skb_cow_head
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	xorl	%esi, %esi
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, -48(%rbp)                 ## 4-byte Folded Reload
	setne	%sil
	movq	%r15, %rdi
	callq	_udp_tunnel_handle_offloads
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_2
LBB0_3:
	movq	%r12, %rdi
	callq	_dst_release
LBB0_4:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	(%r14), %esi
	addl	$4, %esi
	movq	%r15, %rdi
	callq	___skb_push
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_geneve_build_header
	movq	_ETH_P_TEB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_skb_set_inner_protocol
	xorl	%ebx, %ebx
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_TUNNEL_CSUM,4,2                ## @TUNNEL_CSUM
	.comm	_GENEVE_BASE_HLEN,4,2           ## @GENEVE_BASE_HLEN
	.comm	_ETH_P_TEB,4,2                  ## @ETH_P_TEB
	.no_dead_strip	_geneve_build_skb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function geneve_build_skb
_geneve_build_skb:                      ; @geneve_build_skb
	.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	x22, x4
	mov	x23, x3
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldr	w24, [x2, #4]
Lloh0:
	adrp	x8, _TUNNEL_CSUM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TUNNEL_CSUM@GOTPAGEOFF]
Lloh2:
	ldr	w25, [x8]
	mov	x0, x1
	bl	_skb_reset_mac_header
	mov	x0, x19
	mov	x1, x23
	bl	_skb_scrub_packet
	ldr	w0, [x21, #4]
	bl	_LL_RESERVED_SPACE
	ldr	w8, [x21]
Lloh3:
	adrp	x9, _GENEVE_BASE_HLEN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GENEVE_BASE_HLEN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	ldr	w10, [x20]
	add	w11, w0, w22
	add	w8, w11, w8
	add	w8, w8, w9
	add	w1, w8, w10
	mov	x0, x19
	bl	_skb_cow_head
	mov	x22, x0
	bl	_unlikely
	cbnz	x0, LBB0_2
; %bb.1:
	tst	w25, w24
	cset	w1, ne
	mov	x0, x19
	bl	_udp_tunnel_handle_offloads
	mov	x22, x0
	cbz	w0, LBB0_4
LBB0_2:
	mov	x0, x21
	bl	_dst_release
LBB0_3:
	mov	x0, x22
	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_4:
	ldr	w8, [x20]
	add	w1, w8, #4
	mov	x0, x19
	bl	___skb_push
	mov	x1, x20
	bl	_geneve_build_header
Lloh6:
	adrp	x8, _ETH_P_TEB@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ETH_P_TEB@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_htons
	mov	x1, x0
	mov	x0, x19
	bl	_skb_set_inner_protocol
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_TUNNEL_CSUM,4,2                ; @TUNNEL_CSUM
	.comm	_GENEVE_BASE_HLEN,4,2           ; @GENEVE_BASE_HLEN
	.comm	_ETH_P_TEB,4,2                  ; @ETH_P_TEB
	.no_dead_strip	_geneve_build_skb
.subsections_via_symbols
