	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function codeview_add_type_enum_field_list
_codeview_add_type_enum_field_list:     ## @codeview_add_type_enum_field_list
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	(%rdx), %rbx
	movslq	%ebx, %rax
	leaq	(%rdx,%rax), %r13
	addq	$2, %r13
	movq	_TRUE@GOTPCREL(%rip), %rax
	cmpq	%r13, %rbx
	jae	LBB0_12
## %bb.1:
	movq	%rdi, %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	andl	$15, %eax
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	%rax, %rbx
	cmpq	%r13, %rbx
	jae	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %eax
	cmpq	$240, %rax
	jae	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %esi
	cmpl	$128, %esi
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$129, %esi
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	-48(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_numeric_leaf
	movslq	%eax, %r12
	leaq	(%rbx,%r12), %rdi
	callq	_terminate_string
	movl	-48(%rbp), %ecx
	movq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rax, %rdx
	callq	_symt_add_enum_element
	movl	(%rbx,%r12), %r14d
	addl	%r12d, %r14d
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	-44(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_numeric_leaf
	movslq	%eax, %r14
	leaq	(%rbx,%r14), %r12
	movl	-44(%rbp), %ecx
	movq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	callq	_symt_add_enum_element
	movq	%r12, %rdi
	callq	_strlen
	addl	%eax, %r14d
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	addl	$5, %r14d
	movslq	%r14d, %rax
	jmp	LBB0_4
LBB0_5:
	movq	_TRUE@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	leaq	L_.str(%rip), %rdi
	callq	_FIXME
	movq	_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unsupported type %04x in ENUM field list\n"

	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_codeview_add_type_enum_field_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function codeview_add_type_enum_field_list
_codeview_add_type_enum_field_list:     ; @codeview_add_type_enum_field_list
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	x21, [x2]
	add	x8, x2, w21, sxtw
	add	x25, x8, #2
	cmp	x21, x25
	b.hs	LBB0_10
; %bb.1:
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x24, _TRUE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _TRUE@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	and	w8, w8, #0xf
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, x8
	cmp	x21, x25
	b.hs	LBB0_11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x21]
	cmp	w8, #240
	b.hs	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x21]
	cmp	w1, #128
	b.eq	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w1, #129
	b.ne	LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #12
	mov	x1, x21
	bl	_numeric_leaf
	mov	x22, x0
	add	x23, x21, w0, sxtw
	mov	x0, x23
	bl	_terminate_string
	mov	x2, x0
	ldr	w3, [sp, #12]
	mov	x0, x20
	mov	x1, x19
	bl	_symt_add_enum_element
	ldr	w8, [x23]
	add	w8, w8, w22
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #8
	mov	x1, x21
	bl	_numeric_leaf
	mov	x22, x0
	add	x23, x21, w0, sxtw
	ldr	w3, [sp, #8]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	bl	_symt_add_enum_element
	mov	x0, x23
	bl	_strlen
	add	w8, w0, w22
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w8, w8, #5
	sxtw	x8, w8
	b	LBB0_3
LBB0_10:
Lloh2:
	adrp	x24, _TRUE@GOTPAGE
Lloh3:
	ldr	x24, [x24, _TRUE@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x24]
	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
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_12:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_FIXME
Lloh6:
	adrp	x24, _FALSE@GOTPAGE
Lloh7:
	ldr	x24, [x24, _FALSE@GOTPAGEOFF]
	b	LBB0_11
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unsupported type %04x in ENUM field list\n"

	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_codeview_add_type_enum_field_list
.subsections_via_symbols
