	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dev_type_enum                  ## -- Begin function dev_type_enum
	.p2align	4, 0x90
_dev_type_enum:                         ## @dev_type_enum
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdx
	callq	_is_dev_type
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_DEV_TYPE_TUN@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_2:
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_is_dev_type
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_DEV_TYPE_TAP@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	leaq	L_.str.2(%rip), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_is_dev_type
	testq	%rax, %rax
	jne	LBB0_5
## %bb.6:
	movq	_DEV_TYPE_UNDEF@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_DEV_TYPE_NULL@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tun"

	.comm	_DEV_TYPE_TUN,4,2               ## @DEV_TYPE_TUN
L_.str.1:                               ## @.str.1
	.asciz	"tap"

	.comm	_DEV_TYPE_TAP,4,2               ## @DEV_TYPE_TAP
L_.str.2:                               ## @.str.2
	.asciz	"null"

	.comm	_DEV_TYPE_NULL,4,2              ## @DEV_TYPE_NULL
	.comm	_DEV_TYPE_UNDEF,4,2             ## @DEV_TYPE_UNDEF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dev_type_enum                  ; -- Begin function dev_type_enum
	.p2align	2
_dev_type_enum:                         ; @dev_type_enum
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	bl	_is_dev_type
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _DEV_TYPE_TUN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DEV_TYPE_TUN@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:
Lloh4:
	adrp	x2, l_.str.1@PAGE
Lloh5:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_is_dev_type
	cbz	x0, LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _DEV_TYPE_TAP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DEV_TYPE_TAP@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh8:
	adrp	x2, l_.str.2@PAGE
Lloh9:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_is_dev_type
Lloh10:
	adrp	x8, _DEV_TYPE_NULL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DEV_TYPE_NULL@GOTPAGEOFF]
Lloh12:
	adrp	x9, _DEV_TYPE_UNDEF@GOTPAGE
Lloh13:
	ldr	x9, [x9, _DEV_TYPE_UNDEF@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tun"

	.comm	_DEV_TYPE_TUN,4,2               ; @DEV_TYPE_TUN
l_.str.1:                               ; @.str.1
	.asciz	"tap"

	.comm	_DEV_TYPE_TAP,4,2               ; @DEV_TYPE_TAP
l_.str.2:                               ; @.str.2
	.asciz	"null"

	.comm	_DEV_TYPE_NULL,4,2              ; @DEV_TYPE_NULL
	.comm	_DEV_TYPE_UNDEF,4,2             ; @DEV_TYPE_UNDEF
.subsections_via_symbols
