	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p_type                         ## -- Begin function p_type
	.p2align	4, 0x90
_p_type:                                ## @p_type
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %r14d
	movq	___p_type_syms@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-20(%rbp), %rdx
	movl	%r14d, %esi
	callq	_sym_ntos
	cmpl	$0, -20(%rbp)
	je	LBB0_2
## %bb.1:
	movq	%rax, %rbx
	jmp	LBB0_5
LBB0_2:
	cmpl	$65535, %r14d                   ## imm = 0xFFFF
	jbe	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rbx
	jmp	LBB0_5
LBB0_4:
	leaq	_p_type.typebuf(%rip), %rbx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_sprintf
LBB0_5:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_p_type.typebuf,20,4 ## @p_type.typebuf
	.comm	___p_type_syms,4,2              ## @__p_type_syms
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"BADTYPE"

L_.str.1:                               ## @.str.1
	.asciz	"TYPE%d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p_type                         ; -- Begin function p_type
	.p2align	2
_p_type:                                ; @p_type
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, ___p_type_syms@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___p_type_syms@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x2, sp, #12
	mov	x1, x19
	bl	_sym_ntos
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x20, x0
	b	LBB0_5
LBB0_2:
	lsr	w8, w19, #16
	cbz	w8, LBB0_4
; %bb.3:
Lloh3:
	adrp	x20, l_.str@PAGE
Lloh4:
	add	x20, x20, l_.str@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh5:
	adrp	x20, _p_type.typebuf@PAGE
Lloh6:
	add	x20, x20, _p_type.typebuf@PAGEOFF
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_sprintf
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_p_type.typebuf,20,0 ; @p_type.typebuf
	.comm	___p_type_syms,4,2              ; @__p_type_syms
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"BADTYPE"

l_.str.1:                               ; @.str.1
	.asciz	"TYPE%d"

.subsections_via_symbols
