	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_type_id                    ## -- Begin function get_type_id
	.p2align	4, 0x90
_get_type_id:                           ## @get_type_id
	.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
	movq	%rdi, %rbx
	callq	_strlen
	movl	%eax, %r14d
	movb	(%rbx), %al
	addb	$-49, %al
	cmpb	$8, %al
	ja	LBB0_6
## %bb.1:
	leaq	L_.str(%rip), %rsi
	leaq	-24(%rbp), %rdx
	leaq	-20(%rbp), %rcx
	movq	%rbx, %rdi
	callq	_sscanf
	cmpl	%r14d, -20(%rbp)
	jne	LBB0_5
## %bb.2:
	movl	-24(%rbp), %r14d
	testl	%r14d, %r14d
	jle	LBB0_5
## %bb.3:
	movq	_MAX_TYPE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jge	LBB0_5
## %bb.4:
	movq	_types@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax,%r14,8)
	jne	LBB0_9
LBB0_5:
	xorl	%r14d, %r14d
	jmp	LBB0_9
LBB0_6:
	movq	%rbx, %rdi
	callq	_is_name
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:
	movq	%rbx, %rdi
	callq	_dl_strhash
	movq	_map_type_id@GOTPCREL(%rip), %rdi
	movl	%eax, %esi
	callq	_map_ll_int_get
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movl	(%rax), %r14d
LBB0_9:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d%n"

	.comm	_MAX_TYPE,4,2                   ## @MAX_TYPE
	.comm	_types,8,3                      ## @types
	.comm	_map_type_id,4,2                ## @map_type_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_type_id                    ; -- Begin function get_type_id
	.p2align	2
_get_type_id:                           ; @get_type_id
	.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
	bl	_strlen
	ldrb	w8, [x19]
	sub	w8, w8, #49
	cmp	w8, #8
	b.hi	LBB0_5
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	add	x3, sp, #8
	mov	x0, x19
	bl	_sscanf
	ldr	w8, [sp, #8]
	cmp	w8, w20
	b.ne	LBB0_4
; %bb.2:
	ldr	w0, [sp, #12]
Lloh2:
	adrp	x8, _MAX_TYPE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MAX_TYPE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w0, #1
	ccmp	w0, w8, #0, ge
	b.ge	LBB0_4
; %bb.3:
Lloh5:
	adrp	x8, _types@GOTPAGE
Lloh6:
	ldr	x8, [x8, _types@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x8, [x8, x0, lsl #3]
	cbnz	x8, LBB0_8
LBB0_4:
	mov	w0, #0
	b	LBB0_8
LBB0_5:
	mov	x0, x19
	bl	_is_name
	cbz	w0, LBB0_8
; %bb.6:
	mov	x0, x19
	bl	_dl_strhash
	mov	x1, x0
Lloh8:
	adrp	x0, _map_type_id@GOTPAGE
Lloh9:
	ldr	x0, [x0, _map_type_id@GOTPAGEOFF]
	bl	_map_ll_int_get
	cbz	x0, LBB0_8
; %bb.7:
	ldr	w0, [x0]
LBB0_8:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d%n"

	.comm	_MAX_TYPE,4,2                   ; @MAX_TYPE
	.comm	_types,8,3                      ; @types
	.comm	_map_type_id,4,2                ; @map_type_id
.subsections_via_symbols
