	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function validate_and_copy_set_tun
_validate_and_copy_set_tun:             ## @validate_and_copy_set_tun
	.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, %r14
	callq	_nla_data
	leaq	-32(%rbp), %rsi
	movl	%eax, %edi
	callq	_ovs_ipv4_tun_from_nlattr
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	_OVS_ACTION_ATTR_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_add_nested_action_start
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_3
## %bb.2:
	movq	_OVS_KEY_ATTR_IPV4_TUNNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdx
	movq	%r14, %rdi
	movl	$4, %ecx
	callq	_add_action
	movl	%eax, %r15d
	movq	(%r14), %rdi
	movl	%ebx, %esi
	callq	_add_nested_action_end
	movl	%r15d, %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OVS_ACTION_ATTR_SET,4,2        ## @OVS_ACTION_ATTR_SET
	.comm	_OVS_KEY_ATTR_IPV4_TUNNEL,4,2   ## @OVS_KEY_ATTR_IPV4_TUNNEL
	.no_dead_strip	_validate_and_copy_set_tun
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function validate_and_copy_set_tun
_validate_and_copy_set_tun:             ; @validate_and_copy_set_tun
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	bl	_nla_data
	add	x1, sp, #8
	bl	_ovs_ipv4_tun_from_nlattr
	mov	x20, x0
	cbnz	w0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _OVS_ACTION_ATTR_SET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OVS_ACTION_ATTR_SET@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_add_nested_action_start
	mov	x20, x0
	tbnz	w0, #31, LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _OVS_KEY_ATTR_IPV4_TUNNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OVS_KEY_ATTR_IPV4_TUNNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	mov	w3, #4
	bl	_add_action
	mov	x21, x0
	ldr	x0, [x19]
	mov	x1, x20
	bl	_add_nested_action_end
	mov	x20, x21
LBB0_3:
	mov	x0, x20
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_OVS_ACTION_ATTR_SET,4,2        ; @OVS_ACTION_ATTR_SET
	.comm	_OVS_KEY_ATTR_IPV4_TUNNEL,4,2   ; @OVS_KEY_ATTR_IPV4_TUNNEL
	.no_dead_strip	_validate_and_copy_set_tun
.subsections_via_symbols
