	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iftype
_iftype:                                ## @iftype
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %edx
	testl	%edi, %edi
	jle	LBB0_2
## %bb.1:
	movq	_NIFTYPES@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jle	LBB0_2
## %bb.3:
	movq	_if_types@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%edx, %ecx
	movq	(%rax,%rcx,8), %rbx
	jmp	LBB0_4
LBB0_2:
	leaq	_iftype.buf(%rip), %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_sprintf
LBB0_4:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_iftype.buf,256,4 ## @iftype.buf
	.comm	_NIFTYPES,4,2                   ## @NIFTYPES
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown type %d"

	.comm	_if_types,8,3                   ## @if_types
	.no_dead_strip	_iftype
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iftype
_iftype:                                ; @iftype
	.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	x2, x0
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _NIFTYPES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NIFTYPES@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.le	LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _if_types@GOTPAGE
Lloh4:
	ldr	x8, [x8, _if_types@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x19, [x8, w2, uxtw #3]
	b	LBB0_4
LBB0_3:
Lloh6:
	adrp	x19, _iftype.buf@PAGE
Lloh7:
	add	x19, x19, _iftype.buf@PAGEOFF
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_sprintf
LBB0_4:
	mov	x0, x19
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_iftype.buf,256,0 ; @iftype.buf
	.comm	_NIFTYPES,4,2                   ; @NIFTYPES
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown type %d"

	.comm	_if_types,8,3                   ; @if_types
	.no_dead_strip	_iftype
.subsections_via_symbols
