	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vxlan_nl2flag
_vxlan_nl2flag:                         ## @vxlan_nl2flag
	.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	%rdi, %r15
	movslq	%edx, %rax
	movq	(%rsi,%rax,8), %rdi
	xorl	%ebx, %ebx
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.1:
	movq	%rcx, %r14
	testl	%r8d, %r8d
	je	LBB0_4
## %bb.2:
	testl	%r9d, %r9d
	jne	LBB0_4
## %bb.3:
	movq	16(%rbp), %rsi
	movl	%edx, %edi
	callq	_vxlan_flag_attr_error
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_10
LBB0_4:
	movq	_vxlan_policy@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%rax,8), %rax
	movq	_NLA_FLAG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	orq	(%r15), %r14
	jmp	LBB0_9
LBB0_6:
	callq	_nla_get_u8
	movq	(%r15), %rcx
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	orq	%rcx, %r14
	jmp	LBB0_9
LBB0_8:
	notq	%r14
	andq	%rcx, %r14
LBB0_9:
	movq	%r14, (%r15)
LBB0_10:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_vxlan_policy,8,3               ## @vxlan_policy
	.comm	_NLA_FLAG,8,3                   ## @NLA_FLAG
	.no_dead_strip	_vxlan_nl2flag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vxlan_nl2flag
_vxlan_nl2flag:                         ; @vxlan_nl2flag
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
                                        ; kill: def $w2 killed $w2 def $x2
	mov	x19, x0
	ldr	x0, [x1, w2, sxtw #3]
	cbz	x0, LBB0_8
; %bb.1:
	mov	x20, x3
	cbz	w4, LBB0_4
; %bb.2:
	cbnz	w5, LBB0_4
; %bb.3:
	mov	x0, x2
	mov	x1, x6
	bl	_vxlan_flag_attr_error
Lloh0:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_8
LBB0_4:
	sxtw	x8, w2
Lloh3:
	adrp	x9, _vxlan_policy@GOTPAGE
Lloh4:
	ldr	x9, [x9, _vxlan_policy@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	x8, [x9, x8, lsl #3]
Lloh6:
	adrp	x9, _NLA_FLAG@GOTPAGE
Lloh7:
	ldr	x9, [x9, _NLA_FLAG@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
	ldr	x8, [x19]
	orr	x8, x8, x20
	b	LBB0_7
LBB0_6:
	bl	_nla_get_u8
	ldr	x8, [x19]
	bic	x9, x8, x20
	orr	x8, x8, x20
	cmp	x0, #0
	csel	x8, x9, x8, eq
LBB0_7:
	mov	w0, #0
	str	x8, [x19]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_vxlan_policy,8,3               ; @vxlan_policy
	.comm	_NLA_FLAG,8,3                   ; @NLA_FLAG
	.no_dead_strip	_vxlan_nl2flag
.subsections_via_symbols
