	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function coff_lookup_type
_coff_lookup_type:                      ## @coff_lookup_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movq	_type_vector_length@GOTPCREL(%rip), %r15
	movslq	(%r15), %rbx
	cmpl	%edi, %ebx
	jg	LBB0_2
## %bb.1:
	leal	(%rbx,%rbx), %eax
	leal	(%r14,%r14), %esi
	cmpl	%r14d, %eax
	cmovgl	%eax, %esi
	movl	%esi, (%r15)
	movq	_type_vector@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	shll	$3, %esi
	callq	_xrealloc
	movq	%rax, (%r12)
	leaq	(%rax,%rbx,8), %rdi
	movl	(%r15), %edx
	subl	%ebx, %edx
	shll	$3, %edx
	xorl	%esi, %esi
	callq	_memset
LBB0_2:
	movq	_type_vector@GOTPCREL(%rip), %rcx
	movslq	%r14d, %rax
	shlq	$3, %rax
	addq	(%rcx), %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_type_vector_length,4,2         ## @type_vector_length
	.comm	_type_vector,8,3                ## @type_vector
	.no_dead_strip	_coff_lookup_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function coff_lookup_type
_coff_lookup_type:                      ; @coff_lookup_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, x0
Lloh0:
	adrp	x22, _type_vector_length@GOTPAGE
Lloh1:
	ldr	x22, [x22, _type_vector_length@GOTPAGEOFF]
	ldrsw	x21, [x22]
Lloh2:
	adrp	x20, _type_vector@GOTPAGE
Lloh3:
	ldr	x20, [x20, _type_vector@GOTPAGEOFF]
	cmp	w21, w0
	b.gt	LBB0_2
; %bb.1:
	lsl	w8, w21, #1
	lsl	w9, w19, #1
	cmp	w8, w19
	csel	w8, w8, w9, gt
	str	w8, [x22]
	ldr	x0, [x20]
	lsl	w1, w8, #3
	bl	_xrealloc
	str	x0, [x20]
	add	x0, x0, x21, lsl #3
	ldr	w8, [x22]
	sub	w8, w8, w21
	lsl	w2, w8, #3
	mov	w1, #0
	bl	_memset
LBB0_2:
	ldr	x8, [x20]
	add	x0, x8, w19, sxtw #3
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_type_vector_length,4,2         ; @type_vector_length
	.comm	_type_vector,8,3                ; @type_vector
	.no_dead_strip	_coff_lookup_type
.subsections_via_symbols
