	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function codeview_add_type_enum
_codeview_add_type_enum:                ## @codeview_add_type_enum
	.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
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.1:
	movq	_SymTagEnum@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rsi, %rdi
	movl	%eax, %esi
	callq	_codeview_cast_symt
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_5
## %bb.2:
	xorl	%ebx, %ebx
	jmp	LBB0_5
LBB0_3:
	movl	%ecx, %r15d
	movq	%rdx, %rbx
	movq	%rdi, %r14
	movl	(%rdi), %r12d
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r8d, %esi
	callq	_codeview_fetch_type
	movl	%r12d, %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_symt_new_enum
	movq	%rax, %rbx
	testl	%r15d, %r15d
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_codeview_jump_to_type
	movl	(%r14), %edi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_codeview_add_type_enum_field_list
LBB0_5:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SymTagEnum,4,2                 ## @SymTagEnum
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_codeview_add_type_enum
.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
_codeview_add_type_enum:                ; @codeview_add_type_enum
	.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
	cbz	x1, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _SymTagEnum@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SymTagEnum@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	x0, x1
	mov	x1, x8
	bl	_codeview_cast_symt
	mov	x19, x0
	b	LBB0_4
LBB0_2:
	mov	x21, x3
	mov	x19, x2
	mov	x20, x0
	ldr	w22, [x0]
Lloh3:
	adrp	x8, _FALSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x1, x4
	bl	_codeview_fetch_type
	mov	x2, x0
	mov	x0, x22
	mov	x1, x19
	bl	_symt_new_enum
	mov	x19, x0
	cbz	w21, LBB0_4
; %bb.3:
	mov	x0, x20
	mov	x1, x21
	bl	_codeview_jump_to_type
	mov	x2, x0
	ldr	w0, [x20]
	mov	x1, x19
	bl	_codeview_add_type_enum_field_list
LBB0_4:
	mov	x0, x19
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SymTagEnum,4,2                 ; @SymTagEnum
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_codeview_add_type_enum
.subsections_via_symbols
