	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tun_flags
_tun_flags:                             ## @tun_flags
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	movq	_TUN_TUN_DEV@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	_IFF_TAP@GOTPCREL(%rip), %rdx
	jmp	LBB0_3
LBB0_1:
	movq	_IFF_TUN@GOTPCREL(%rip), %rdx
LBB0_3:
	movq	_TUN_NO_PI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ecx, %eax
	je	LBB0_5
## %bb.4:
	movq	_IFF_NO_PI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_5:
	movq	_TUN_ONE_QUEUE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	andl	%ecx, %esi
	je	LBB0_7
## %bb.6:
	movq	_IFF_ONE_QUEUE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
LBB0_7:
	orl	(%rdx), %eax
	movq	_TUN_VNET_HDR@GOTPCREL(%rip), %rdx
	andl	(%rdx), %ecx
	je	LBB0_9
## %bb.8:
	movq	_IFF_VNET_HDR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_9:
	orl	%ecx, %esi
	orl	%esi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TUN_TUN_DEV,4,2                ## @TUN_TUN_DEV
	.comm	_IFF_TUN,4,2                    ## @IFF_TUN
	.comm	_IFF_TAP,4,2                    ## @IFF_TAP
	.comm	_TUN_NO_PI,4,2                  ## @TUN_NO_PI
	.comm	_IFF_NO_PI,4,2                  ## @IFF_NO_PI
	.comm	_TUN_ONE_QUEUE,4,2              ## @TUN_ONE_QUEUE
	.comm	_IFF_ONE_QUEUE,4,2              ## @IFF_ONE_QUEUE
	.comm	_TUN_VNET_HDR,4,2               ## @TUN_VNET_HDR
	.comm	_IFF_VNET_HDR,4,2               ## @IFF_VNET_HDR
	.no_dead_strip	_tun_flags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tun_flags
_tun_flags:                             ; @tun_flags
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _TUN_TUN_DEV@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TUN_TUN_DEV@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _IFF_TAP@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IFF_TAP@GOTPAGEOFF]
Lloh5:
	adrp	x11, _IFF_TUN@GOTPAGE
Lloh6:
	ldr	x11, [x11, _IFF_TUN@GOTPAGEOFF]
	tst	w9, w8
	csel	x9, x10, x11, eq
	ldr	w9, [x9]
Lloh7:
	adrp	x10, _TUN_NO_PI@GOTPAGE
Lloh8:
	ldr	x10, [x10, _TUN_NO_PI@GOTPAGEOFF]
Lloh9:
	adrp	x11, _IFF_NO_PI@GOTPAGE
Lloh10:
	ldr	x11, [x11, _IFF_NO_PI@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
Lloh12:
	ldr	w11, [x11]
	tst	w10, w8
	csel	w10, wzr, w11, eq
Lloh13:
	adrp	x11, _TUN_ONE_QUEUE@GOTPAGE
Lloh14:
	ldr	x11, [x11, _TUN_ONE_QUEUE@GOTPAGEOFF]
	orr	w9, w10, w9
Lloh15:
	ldr	w10, [x11]
Lloh16:
	adrp	x11, _IFF_ONE_QUEUE@GOTPAGE
Lloh17:
	ldr	x11, [x11, _IFF_ONE_QUEUE@GOTPAGEOFF]
Lloh18:
	ldr	w11, [x11]
	tst	w10, w8
	csel	w10, wzr, w11, eq
	orr	w9, w9, w10
Lloh19:
	adrp	x10, _TUN_VNET_HDR@GOTPAGE
Lloh20:
	ldr	x10, [x10, _TUN_VNET_HDR@GOTPAGEOFF]
Lloh21:
	adrp	x11, _IFF_VNET_HDR@GOTPAGE
Lloh22:
	ldr	x11, [x11, _IFF_VNET_HDR@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
Lloh24:
	ldr	w11, [x11]
	tst	w10, w8
	csel	w8, wzr, w11, eq
	orr	w0, w9, w8
	ret
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh23
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh11
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TUN_TUN_DEV,4,2                ; @TUN_TUN_DEV
	.comm	_IFF_TUN,4,2                    ; @IFF_TUN
	.comm	_IFF_TAP,4,2                    ; @IFF_TAP
	.comm	_TUN_NO_PI,4,2                  ; @TUN_NO_PI
	.comm	_IFF_NO_PI,4,2                  ; @IFF_NO_PI
	.comm	_TUN_ONE_QUEUE,4,2              ; @TUN_ONE_QUEUE
	.comm	_IFF_ONE_QUEUE,4,2              ; @IFF_ONE_QUEUE
	.comm	_TUN_VNET_HDR,4,2               ; @TUN_VNET_HDR
	.comm	_IFF_VNET_HDR,4,2               ; @IFF_VNET_HDR
	.no_dead_strip	_tun_flags
.subsections_via_symbols
