	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lookup_fundamental_type        ## -- Begin function lookup_fundamental_type
	.p2align	4, 0x90
_lookup_fundamental_type:               ## @lookup_fundamental_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r13d
	movq	%rdi, %r14
	movq	_FT_NUM_MEMBERS@GOTPCREL(%rip), %r12
	testl	%esi, %esi
	js	LBB0_2
## %bb.1:
	cmpl	%r13d, (%r12)
	jg	LBB0_3
LBB0_2:
	leaq	L_.str(%rip), %rdi
	movl	%r13d, %esi
	callq	_error
LBB0_3:
	movq	(%r14), %rbx
	testq	%rbx, %rbx
	jne	LBB0_5
## %bb.4:
	movl	(%r12), %r15d
	shll	$3, %r15d
	leaq	8(%r14), %rdi
	movl	%r15d, %esi
	callq	_obstack_alloc
	movq	%rax, (%r14)
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	%r15d, %edx
	callq	_memset
	movq	_n_types@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	(%r12), %esi
	movl	%esi, (%rax)
	movq	%r14, %rdi
	callq	_OBJSTAT
	movq	(%r14), %rbx
LBB0_5:
	movslq	%r13d, %r15
	movq	(%rbx,%r15,8), %rax
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_create_fundamental_type
	movq	%rax, (%rbx,%r15,8)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FT_NUM_MEMBERS,4,2             ## @FT_NUM_MEMBERS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"internal error - invalid fundamental type id %d"

	.comm	_n_types,4,2                    ## @n_types
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lookup_fundamental_type        ; -- Begin function lookup_fundamental_type
	.p2align	2
_lookup_fundamental_type:               ; @lookup_fundamental_type
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _FT_NUM_MEMBERS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _FT_NUM_MEMBERS@GOTPAGEOFF]
	tbnz	w1, #31, LBB0_5
; %bb.1:
	ldr	w8, [x22]
	cmp	w8, w19
	b.le	LBB0_5
; %bb.2:
	ldr	x21, [x20]
	cbz	x21, LBB0_6
LBB0_3:
	ldr	x0, [x21, w19, sxtw #3]
	cbz	x0, LBB0_7
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_error
	ldr	x21, [x20]
	cbnz	x21, LBB0_3
LBB0_6:
	ldr	w8, [x22]
	lsl	w21, w8, #3
	add	x0, x20, #8
	mov	x1, x21
	bl	_obstack_alloc
	str	x0, [x20]
	mov	w1, #0
	mov	x2, x21
	bl	_memset
	ldr	w8, [x22]
Lloh4:
	adrp	x9, _n_types@GOTPAGE
Lloh5:
	ldr	x9, [x9, _n_types@GOTPAGEOFF]
	ldr	w10, [x9]
	add	w1, w10, w8
	str	w1, [x9]
	mov	x0, x20
	bl	_OBJSTAT
	ldr	x21, [x20]
	ldr	x0, [x21, w19, sxtw #3]
	cbnz	x0, LBB0_4
LBB0_7:
	sxtw	x22, w19
	mov	x0, x20
	mov	x1, x19
	bl	_create_fundamental_type
	str	x0, [x21, x22, lsl #3]
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FT_NUM_MEMBERS,4,2             ; @FT_NUM_MEMBERS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"internal error - invalid fundamental type id %d"

	.comm	_n_types,4,2                    ; @n_types
.subsections_via_symbols
