	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ctf_enum_value                 ## -- Begin function ctf_enum_value
	.p2align	4, 0x90
_ctf_enum_value:                        ## @ctf_enum_value
	.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	%rcx, %r14
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	movq	%rdi, -48(%rbp)
	callq	_ctf_type_resolve
	movq	_CTF_ERR@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %eax
	je	LBB0_11
## %bb.1:
	leaq	-48(%rbp), %rdi
	movl	%eax, %esi
	callq	_ctf_lookup_by_id
	testq	%rax, %rax
	je	LBB0_10
## %bb.2:
	movq	%rax, %r12
	movq	-48(%rbp), %rdi
	movl	(%rax), %esi
	callq	_LCTF_INFO_KIND
	movq	_CTF_K_ENUM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.3:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rdi
	leaq	-80(%rbp), %rdx
	leaq	-72(%rbp), %rcx
	movq	%r12, %rsi
	callq	_ctf_get_ctt_size
	movq	-72(%rbp), %r14
	movq	-48(%rbp), %rdi
	movl	(%r12), %esi
	callq	_LCTF_INFO_VLEN
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movq	%rax, %r15
	addq	%r12, %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rdi
	movl	4(%r14,%rbx,8), %esi
	callq	_ctf_strptr
	movl	%eax, %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_5
LBB0_7:
	movq	_ECTF_NOENUMNAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_ctf_set_errno
	movq	_CTF_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_11
LBB0_9:
	movq	_ECTF_NOTENUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_ctf_set_errno
LBB0_10:
	movl	(%rbx), %eax
LBB0_11:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	xorl	%eax, %eax
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	testq	%rdx, %rdx
	je	LBB0_11
## %bb.13:
	movl	(%r14,%rbx,8), %ecx
	movl	%ecx, (%rdx)
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_CTF_ERR,4,2                    ## @CTF_ERR
	.comm	_CTF_K_ENUM,8,3                 ## @CTF_K_ENUM
	.comm	_ECTF_NOTENUM,4,2               ## @ECTF_NOTENUM
	.comm	_ECTF_NOENUMNAM,4,2             ## @ECTF_NOENUMNAM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ctf_enum_value                 ; -- Begin function ctf_enum_value
	.p2align	2
_ctf_enum_value:                        ; @ctf_enum_value
	.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, x3
	mov	x21, x2
	mov	x19, x0
	str	x0, [sp, #24]
	bl	_ctf_type_resolve
	mov	x1, x0
Lloh0:
	adrp	x24, _CTF_ERR@GOTPAGE
Lloh1:
	ldr	x24, [x24, _CTF_ERR@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w0, w8
	b.eq	LBB0_11
; %bb.1:
	add	x0, sp, #24
	bl	_ctf_lookup_by_id
	cbz	x0, LBB0_10
; %bb.2:
	mov	x22, x0
	ldr	x0, [sp, #24]
	ldr	w1, [x22]
	bl	_LCTF_INFO_KIND
Lloh2:
	adrp	x8, _CTF_K_ENUM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CTF_K_ENUM@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.3:
	ldr	x0, [sp, #24]
	add	x2, sp, #16
	add	x3, sp, #8
	mov	x1, x22
	bl	_ctf_get_ctt_size
	ldr	x25, [sp, #8]
	ldr	x0, [sp, #24]
	ldr	w1, [x22]
	bl	_LCTF_INFO_VLEN
	cbz	x0, LBB0_7
; %bb.4:
	mov	x23, x0
	add	x8, x25, x22
	add	x22, x8, #4
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [sp, #24]
	ldr	w1, [x22]
	bl	_ctf_strptr
	mov	x1, x21
	bl	_strcmp
	cbz	x0, LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #8
	subs	x23, x23, #1
	b.ne	LBB0_5
LBB0_7:
Lloh5:
	adrp	x8, _ECTF_NOENUMNAM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ECTF_NOENUMNAM@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh7:
	adrp	x8, _ECTF_NOTENUM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ECTF_NOTENUM@GOTPAGEOFF]
LBB0_9:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ctf_set_errno
LBB0_10:
	ldr	w1, [x24]
LBB0_11:
	mov	x0, x1
	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
LBB0_12:
	mov	w1, #0
	cbz	x20, LBB0_11
; %bb.13:
	ldur	w8, [x22, #-4]
	str	w8, [x20]
	b	LBB0_11
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_CTF_ERR,4,2                    ; @CTF_ERR
	.comm	_CTF_K_ENUM,8,3                 ; @CTF_K_ENUM
	.comm	_ECTF_NOTENUM,4,2               ; @ECTF_NOTENUM
	.comm	_ECTF_NOENUMNAM,4,2             ; @ECTF_NOENUMNAM
.subsections_via_symbols
