	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dwarf2_lookup_type
_dwarf2_lookup_type:                    ## @dwarf2_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_DW_AT_type@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-24(%rbp), %rcx
	callq	_dwarf2_find_attribute
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	movl	-24(%rbp), %esi
	movq	%rbx, %rdi
	callq	_sparse_array_find
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	%rax, %r14
	movq	(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_8
## %bb.3:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_dwarf2_load_one_entry
	movq	(%r14), %rax
	testq	%rax, %rax
	jne	LBB0_8
## %bb.4:
	movq	8(%r14), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_FIXME
	movq	(%r14), %rax
	jmp	LBB0_8
LBB0_6:
	movl	-24(%rbp), %esi
	leaq	L_.str(%rip), %rdi
	callq	_FIXME
LBB0_7:
	xorl	%eax, %eax
LBB0_8:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DW_AT_type,4,2                 ## @DW_AT_type
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to find back reference to type %lx\n"

L_.str.1:                               ## @.str.1
	.asciz	"Unable to load forward reference for tag %lx\n"

	.no_dead_strip	_dwarf2_lookup_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dwarf2_lookup_type
_dwarf2_lookup_type:                    ; @dwarf2_lookup_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, _DW_AT_type@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DW_AT_type@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x3, sp, #8
	bl	_dwarf2_find_attribute
	cbz	w0, LBB0_6
; %bb.1:
	ldr	w1, [sp, #8]
	mov	x0, x19
	bl	_sparse_array_find
	cbz	x0, LBB0_5
; %bb.2:
	mov	x20, x0
	ldr	x0, [x0]
	cbnz	x0, LBB0_7
; %bb.3:
	mov	x0, x19
	mov	x1, x20
	bl	_dwarf2_load_one_entry
	ldr	x0, [x20]
	cbnz	x0, LBB0_7
; %bb.4:
	ldr	x8, [x20, #8]
	ldr	w1, [x8]
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_FIXME
	ldr	x0, [x20]
	b	LBB0_7
LBB0_5:
	ldr	w1, [sp, #8]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_FIXME
LBB0_6:
	mov	x0, #0
LBB0_7:
	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	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_DW_AT_type,4,2                 ; @DW_AT_type
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to find back reference to type %lx\n"

l_.str.1:                               ; @.str.1
	.asciz	"Unable to load forward reference for tag %lx\n"

	.no_dead_strip	_dwarf2_lookup_type
.subsections_via_symbols
