	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dwarf2_parse_enumeration_type
_dwarf2_parse_enumeration_type:         ## @dwarf2_parse_enumeration_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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rsi), %rax
	testq	%rax, %rax
	jne	LBB0_18
## %bb.1:
	movq	%rsi, %r15
	movq	%rdi, %r14
	callq	_dwarf2_debug_ctx
	movl	%eax, %ebx
	movq	%r15, %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	-80(%rbp), %rcx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_dwarf2_find_attribute
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	$0, -72(%rbp)
LBB0_3:
	movq	_DW_AT_byte_size@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-64(%rbp), %rcx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_dwarf2_find_attribute
	testl	%eax, %eax
	je	LBB0_4
## %bb.6:
	movl	-64(%rbp), %eax
	cmpl	$2, %eax
	je	LBB0_9
## %bb.7:
	cmpl	$1, %eax
	jne	LBB0_5
## %bb.8:
	movl	(%r14), %edi
	movq	_btInt@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movl	$1, %ecx
	jmp	LBB0_10
LBB0_4:
	movl	$4, -64(%rbp)
LBB0_5:
	movl	(%r14), %edi
	movq	_btInt@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	movl	$4, %ecx
	jmp	LBB0_10
LBB0_9:
	movl	(%r14), %edi
	movq	_btInt@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	movl	$2, %ecx
LBB0_10:
	callq	_symt_new_basic
	movl	(%r14), %edi
	movq	-72(%rbp), %rsi
	movq	%rax, %rdx
	callq	_symt_new_enum
	movq	%rax, (%r15)
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_dwarf2_get_di_children
	testq	%rax, %rax
	je	LBB0_17
## %bb.11:
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_vector_length
	testl	%eax, %eax
	je	LBB0_17
## %bb.12:
	xorl	%ebx, %ebx
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	8(%r15), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_dwarf2_debug_ctx
	movq	%r14, %r12
	movl	%eax, %r14d
	movq	%r15, %rdi
	callq	_dwarf2_debug_di
	leaq	L_.str.4(%rip), %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r14d, %edx
	movq	%r12, %r14
	movl	%eax, %ecx
	callq	_FIXME
LBB0_16:                                ##   in Loop: Header=BB0_13 Depth=1
	incl	%ebx
	movq	%r13, %rdi
	callq	_vector_length
	cmpl	%eax, %ebx
	jae	LBB0_17
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_vector_at
	movq	(%rax), %rsi
	movq	8(%rsi), %rax
	cmpl	$128, (%rax)
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	(%r15), %rdx
	movq	%r14, %rdi
	callq	_dwarf2_parse_enumerator
	jmp	LBB0_16
LBB0_17:
	movq	(%r15), %rax
LBB0_18:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- 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	_btInt,4,2                      ## @btInt
L_.str.1:                               ## @.str.1
	.asciz	"char"

L_.str.2:                               ## @.str.2
	.asciz	"short"

L_.str.3:                               ## @.str.3
	.asciz	"int"

L_.str.4:                               ## @.str.4
	.asciz	"Unhandled Tag type 0x%lx at %s, for %s\n"

	.no_dead_strip	_dwarf2_parse_enumeration_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_enumeration_type
_dwarf2_parse_enumeration_type:         ; @dwarf2_parse_enumeration_type
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x0
	ldr	x0, [x1]
	cbnz	x0, LBB0_18
; %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, #16
	mov	x0, x20
	mov	x1, x19
	bl	_dwarf2_find_attribute
	cbnz	w0, LBB0_3
; %bb.2:
	str	xzr, [sp, #24]
LBB0_3:
Lloh5:
	adrp	x8, _DW_AT_byte_size@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DW_AT_byte_size@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x3, sp
	mov	x0, x20
	mov	x1, x19
	bl	_dwarf2_find_attribute
	cbz	w0, LBB0_7
; %bb.4:
	ldr	w8, [sp]
	cmp	w8, #2
	b.eq	LBB0_9
; %bb.5:
	cmp	w8, #1
	b.ne	LBB0_8
; %bb.6:
	ldr	w0, [x20]
Lloh8:
	adrp	x8, _btInt@GOTPAGE
Lloh9:
	ldr	x8, [x8, _btInt@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x2, l_.str.1@PAGE
Lloh12:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w3, #1
	b	LBB0_10
LBB0_7:
	mov	w8, #4
	str	w8, [sp]
LBB0_8:
	ldr	w0, [x20]
Lloh13:
	adrp	x8, _btInt@GOTPAGE
Lloh14:
	ldr	x8, [x8, _btInt@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
Lloh16:
	adrp	x2, l_.str.3@PAGE
Lloh17:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	w3, #4
	b	LBB0_10
LBB0_9:
	ldr	w0, [x20]
Lloh18:
	adrp	x8, _btInt@GOTPAGE
Lloh19:
	ldr	x8, [x8, _btInt@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
Lloh21:
	adrp	x2, l_.str.2@PAGE
Lloh22:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	w3, #2
LBB0_10:
	bl	_symt_new_basic
	mov	x2, x0
	ldr	w0, [x20]
	ldr	x1, [sp, #24]
	bl	_symt_new_enum
	str	x0, [x19]
	mov	x0, x20
	mov	x1, x19
	bl	_dwarf2_get_di_children
	cbz	x0, LBB0_17
; %bb.11:
	mov	x21, x0
	bl	_vector_length
	cbz	w0, LBB0_17
; %bb.12:
	mov	w22, #0
Lloh23:
	adrp	x23, l_.str.4@PAGE
Lloh24:
	add	x23, x23, l_.str.4@PAGEOFF
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x8, [x19, #8]
	ldr	w24, [x8]
	mov	x0, x20
	bl	_dwarf2_debug_ctx
	mov	x25, x0
	mov	x0, x19
	bl	_dwarf2_debug_di
	mov	x3, x0
	mov	x0, x23
	mov	x1, x24
	mov	x2, x25
	bl	_FIXME
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	w22, w22, #1
	mov	x0, x21
	bl	_vector_length
	cmp	w22, w0
	b.hs	LBB0_17
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x22
	bl	_vector_at
	ldr	x1, [x0]
	ldr	x8, [x1, #8]
	ldr	w8, [x8]
	cmp	w8, #128
	b.ne	LBB0_13
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x2, [x19]
	mov	x0, x20
	bl	_dwarf2_parse_enumerator
	b	LBB0_14
LBB0_17:
	ldr	x0, [x19]
LBB0_18:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- 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	_btInt,4,2                      ; @btInt
l_.str.1:                               ; @.str.1
	.asciz	"char"

l_.str.2:                               ; @.str.2
	.asciz	"short"

l_.str.3:                               ; @.str.3
	.asciz	"int"

l_.str.4:                               ; @.str.4
	.asciz	"Unhandled Tag type 0x%lx at %s, for %s\n"

	.no_dead_strip	_dwarf2_parse_enumeration_type
.subsections_via_symbols
