	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dwarf2_parse_base_type
_dwarf2_parse_base_type:                ## @dwarf2_parse_base_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
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rsi), %rax
	testq	%rax, %rax
	jne	LBB0_32
## %bb.1:
	movq	%rsi, %r12
	movq	%rdi, %r14
	callq	_dwarf2_debug_ctx
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_dwarf2_debug_di
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_TRACE
	movq	_DW_AT_name@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-64(%rbp), %rcx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_dwarf2_find_attribute
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	$0, -56(%rbp)
LBB0_3:
	movq	_DW_AT_byte_size@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rcx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_dwarf2_find_attribute
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movl	$0, -48(%rbp)
LBB0_5:
	movq	_DW_AT_encoding@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-80(%rbp), %rcx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_dwarf2_find_attribute
	testl	%eax, %eax
	je	LBB0_6
## %bb.8:
	movl	$-130, %ecx
	addl	-80(%rbp), %ecx
	cmpl	$8, %ecx
	ja	LBB0_15
## %bb.9:
	movq	_btULong@GOTPCREL(%rip), %rax
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_14:
	movq	_btChar@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_6:
	movl	$130, -80(%rbp)
LBB0_7:
	movl	8(%r14), %edi
	movq	-56(%rbp), %rdx
	movl	-48(%rbp), %ecx
	movl	$128, %esi
	callq	_symt_new_basic
	movq	%rax, (%r12)
	jmp	LBB0_18
LBB0_15:
	movq	_btNoType@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_13:
	movq	_btUInt@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_19:
	movl	8(%r14), %edi
	movq	-56(%rbp), %rdx
	movl	-48(%rbp), %ecx
	movl	$129, %esi
	callq	_symt_new_basic
	movq	%rax, (%r12)
	jmp	LBB0_20
LBB0_12:
	movq	_btFloat@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_11:
	movq	_btComplex@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_10:
	movq	_btBool@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %r15d
	movl	8(%r14), %edi
	movq	-56(%rbp), %rdx
	movl	-48(%rbp), %ecx
	movl	%r15d, %esi
	callq	_symt_new_basic
	movq	%rax, (%r12)
	cmpl	$129, %r15d
	je	LBB0_20
## %bb.17:
	cmpl	$128, %r15d
	jne	LBB0_29
LBB0_18:
	xorl	%edi, %edi
	cmpl	$0, -48(%rbp)
	sete	%dil
	callq	_assert
	movq	_sc_void@GOTPCREL(%rip), %rax
LBB0_26:
	movslq	(%rax), %rax
	cmpq	$-1, %rax
	je	LBB0_29
## %bb.27:
	movq	(%r14), %rcx
	cmpq	$0, (%rcx,%rax,8)
	jne	LBB0_29
## %bb.28:
	movq	(%r12), %rdx
	movq	%rdx, (%rcx,%rax,8)
	jmp	LBB0_29
LBB0_20:
	movl	-48(%rbp), %eax
	cmpl	$1, %eax
	je	LBB0_21
## %bb.22:
	cmpl	$4, %eax
	je	LBB0_25
## %bb.23:
	cmpl	$2, %eax
	jne	LBB0_29
## %bb.24:
	movq	_sc_int2@GOTPCREL(%rip), %rax
	jmp	LBB0_26
LBB0_29:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_dwarf2_get_di_children
	testq	%rax, %rax
	je	LBB0_31
## %bb.30:
	leaq	L_.str.1(%rip), %rdi
	callq	_FIXME
LBB0_31:
	movq	(%r12), %rax
LBB0_32:
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	movq	_sc_int1@GOTPCREL(%rip), %rax
	jmp	LBB0_26
LBB0_25:
	movq	_sc_int4@GOTPCREL(%rip), %rax
	jmp	LBB0_26
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_14
	.long	L0_0_set_13
	.long	L0_0_set_14
	.long	L0_0_set_19
	.long	L0_0_set_12
	.long	L0_0_set_11
	.long	L0_0_set_10
	.long	L0_0_set_16
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s, for %s\n"

	.comm	_DW_AT_name,4,2                 ## @DW_AT_name
	.comm	_DW_AT_byte_size,4,2            ## @DW_AT_byte_size
	.comm	_DW_AT_encoding,4,2             ## @DW_AT_encoding
	.comm	_btULong,4,2                    ## @btULong
	.comm	_btBool,4,2                     ## @btBool
	.comm	_btComplex,4,2                  ## @btComplex
	.comm	_btFloat,4,2                    ## @btFloat
	.comm	_btUInt,4,2                     ## @btUInt
	.comm	_btChar,4,2                     ## @btChar
	.comm	_btNoType,4,2                   ## @btNoType
	.comm	_sc_void,4,2                    ## @sc_void
	.comm	_sc_int1,4,2                    ## @sc_int1
	.comm	_sc_int2,4,2                    ## @sc_int2
	.comm	_sc_int4,4,2                    ## @sc_int4
L_.str.1:                               ## @.str.1
	.asciz	"Unsupported children\n"

	.no_dead_strip	_dwarf2_parse_base_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dwarf2_parse_base_type
_dwarf2_parse_base_type:                ; @dwarf2_parse_base_type
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x0
	ldr	x0, [x1]
	cbnz	x0, LBB0_30
; %bb.1:
	mov	x19, x1
	mov	x0, x20
	bl	_dwarf2_debug_ctx
	mov	x21, x0
	mov	x0, x19
	bl	_dwarf2_debug_di
	mov	x2, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_TRACE
Lloh2:
	adrp	x8, _DW_AT_name@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DW_AT_name@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	add	x3, sp, #32
	mov	x0, x20
	mov	x1, x19
	bl	_dwarf2_find_attribute
	cbnz	w0, LBB0_3
; %bb.2:
	str	xzr, [sp, #40]
LBB0_3:
Lloh5:
	adrp	x8, _DW_AT_byte_size@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DW_AT_byte_size@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	add	x3, sp, #16
	mov	x0, x20
	mov	x1, x19
	bl	_dwarf2_find_attribute
	cbnz	w0, LBB0_5
; %bb.4:
	str	wzr, [sp, #16]
LBB0_5:
Lloh8:
	adrp	x8, _DW_AT_encoding@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DW_AT_encoding@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x3, sp
	mov	x0, x20
	mov	x1, x19
	bl	_dwarf2_find_attribute
	cbz	w0, LBB0_9
; %bb.6:
	ldr	w8, [sp]
	sub	w9, w8, #130
	cmp	w9, #8
	b.hi	LBB0_11
; %bb.7:
Lloh11:
	adrp	x8, _btULong@GOTPAGE
Lloh12:
	ldr	x8, [x8, _btULong@GOTPAGEOFF]
Lloh13:
	adrp	x10, lJTI0_0@PAGE
Lloh14:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_8
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_8:
Lloh15:
	adrp	x8, _btChar@GOTPAGE
Lloh16:
	ldr	x8, [x8, _btChar@GOTPAGEOFF]
	b	LBB0_17
LBB0_9:
	mov	w8, #130
	str	w8, [sp]
LBB0_10:
	ldr	w0, [x20, #8]
	ldr	x2, [sp, #40]
	ldr	w3, [sp, #16]
	mov	w1, #128
	bl	_symt_new_basic
	str	x0, [x19]
	b	LBB0_19
LBB0_11:
Lloh17:
	adrp	x8, _btNoType@GOTPAGE
Lloh18:
	ldr	x8, [x8, _btNoType@GOTPAGEOFF]
	b	LBB0_17
LBB0_12:
Lloh19:
	adrp	x8, _btUInt@GOTPAGE
Lloh20:
	ldr	x8, [x8, _btUInt@GOTPAGEOFF]
	b	LBB0_17
LBB0_13:
	ldr	w0, [x20, #8]
	ldr	x2, [sp, #40]
	ldr	w3, [sp, #16]
	mov	w1, #129
	bl	_symt_new_basic
	str	x0, [x19]
	b	LBB0_23
LBB0_14:
Lloh21:
	adrp	x8, _btFloat@GOTPAGE
Lloh22:
	ldr	x8, [x8, _btFloat@GOTPAGEOFF]
	b	LBB0_17
LBB0_15:
Lloh23:
	adrp	x8, _btComplex@GOTPAGE
Lloh24:
	ldr	x8, [x8, _btComplex@GOTPAGEOFF]
	b	LBB0_17
LBB0_16:
Lloh25:
	adrp	x8, _btBool@GOTPAGE
Lloh26:
	ldr	x8, [x8, _btBool@GOTPAGEOFF]
LBB0_17:
	ldr	w21, [x8]
	ldr	w0, [x20, #8]
	ldr	x2, [sp, #40]
	ldr	w3, [sp, #16]
	mov	x1, x21
	bl	_symt_new_basic
	str	x0, [x19]
	cmp	w21, #129
	b.eq	LBB0_23
; %bb.18:
	cmp	w21, #128
	b.ne	LBB0_27
LBB0_19:
	ldr	w8, [sp, #16]
	cmp	w8, #0
	cset	w0, eq
	bl	_assert
Lloh27:
	adrp	x8, _sc_void@GOTPAGE
Lloh28:
	ldr	x8, [x8, _sc_void@GOTPAGEOFF]
LBB0_20:
	ldrsw	x8, [x8]
	cmn	w8, #1
	b.eq	LBB0_27
; %bb.21:
	ldr	x9, [x20]
	ldr	x10, [x9, x8, lsl #3]
	cbnz	x10, LBB0_27
; %bb.22:
	ldr	x10, [x19]
	str	x10, [x9, x8, lsl #3]
	b	LBB0_27
LBB0_23:
	ldr	w8, [sp, #16]
	cmp	w8, #1
	b.eq	LBB0_31
; %bb.24:
	cmp	w8, #4
	b.eq	LBB0_32
; %bb.25:
	cmp	w8, #2
	b.ne	LBB0_27
; %bb.26:
Lloh29:
	adrp	x8, _sc_int2@GOTPAGE
Lloh30:
	ldr	x8, [x8, _sc_int2@GOTPAGEOFF]
	b	LBB0_20
LBB0_27:
	mov	x0, x20
	mov	x1, x19
	bl	_dwarf2_get_di_children
	cbz	x0, LBB0_29
; %bb.28:
Lloh31:
	adrp	x0, l_.str.1@PAGE
Lloh32:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_FIXME
LBB0_29:
	ldr	x0, [x19]
LBB0_30:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_31:
Lloh33:
	adrp	x8, _sc_int1@GOTPAGE
Lloh34:
	ldr	x8, [x8, _sc_int1@GOTPAGEOFF]
	b	LBB0_20
LBB0_32:
Lloh35:
	adrp	x8, _sc_int4@GOTPAGE
Lloh36:
	ldr	x8, [x8, _sc_int4@GOTPAGEOFF]
	b	LBB0_20
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_10-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_12-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_14-LBB0_8)>>2
	.byte	(LBB0_15-LBB0_8)>>2
	.byte	(LBB0_16-LBB0_8)>>2
	.byte	(LBB0_17-LBB0_8)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s, for %s\n"

	.comm	_DW_AT_name,4,2                 ; @DW_AT_name
	.comm	_DW_AT_byte_size,4,2            ; @DW_AT_byte_size
	.comm	_DW_AT_encoding,4,2             ; @DW_AT_encoding
	.comm	_btULong,4,2                    ; @btULong
	.comm	_btBool,4,2                     ; @btBool
	.comm	_btComplex,4,2                  ; @btComplex
	.comm	_btFloat,4,2                    ; @btFloat
	.comm	_btUInt,4,2                     ; @btUInt
	.comm	_btChar,4,2                     ; @btChar
	.comm	_btNoType,4,2                   ; @btNoType
	.comm	_sc_void,4,2                    ; @sc_void
	.comm	_sc_int1,4,2                    ; @sc_int1
	.comm	_sc_int2,4,2                    ; @sc_int2
	.comm	_sc_int4,4,2                    ; @sc_int4
l_.str.1:                               ; @.str.1
	.asciz	"Unsupported children\n"

	.no_dead_strip	_dwarf2_parse_base_type
.subsections_via_symbols
