	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ctf_add_enumerator             ## -- Begin function ctf_add_enumerator
	.p2align	4, 0x90
_ctf_add_enumerator:                    ## @ctf_add_enumerator
	.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
	movl	%ecx, %r15d
	movq	%rdx, %rbx
	movq	%rdi, %r12
	callq	_ctf_dtd_lookup
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.3:
	movq	%rax, %r14
	movq	_LCTF_RDWR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_4
## %bb.5:
	testq	%r14, %r14
	je	LBB0_6
## %bb.7:
	movl	32(%r14), %edi
	callq	_CTF_INFO_KIND
	movq	%rax, %r13
	movl	32(%r14), %edi
	callq	_CTF_INFO_ISROOT
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	32(%r14), %edi
	callq	_CTF_INFO_VLEN
	movq	_CTF_K_ENUM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r13
	jne	LBB0_8
## %bb.9:
	movq	_CTF_MAX_VLEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.10:
	movq	_ECTF_DTFULL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	_ECTF_RDONLY@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_6:
	movq	_ECTF_BADID@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_8:
	movq	_ECTF_NOTENUM@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %esi
	movq	%r12, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ctf_set_errno                  ## TAILCALL
LBB0_11:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_ctf_list_next
	testq	%rax, %rax
	je	LBB0_16
## %bb.12:
	movq	%rax, %r13
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rdi
	movq	%rbx, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%r13, %rdi
	callq	_ctf_list_next
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_13
LBB0_16:
	movl	$32, %edi
	callq	_ctf_alloc
	testq	%rax, %rax
	je	LBB0_17
## %bb.18:
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_ctf_strdup
	testq	%rax, %rax
	je	LBB0_19
## %bb.20:
	movq	%rax, %rbx
	movq	%rax, (%r13)
	movq	_CTF_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r13)
	movq	$0, 16(%r13)
	movl	%r15d, 8(%r13)
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	incq	%rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_CTF_TYPE_INFO
	movl	%eax, 32(%r14)
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_ctf_list_append
	movq	%rbx, %rdi
	callq	_strlen
	movl	4(%r12), %ecx
	addl	%ecx, %eax
	incl	%eax
	movl	%eax, 4(%r12)
	movq	_LCTF_DIRTY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r12)
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	_ECTF_DUPMEMBER@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_17:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_19:
	movq	%r13, %rdi
	movl	$32, %esi
	callq	_ctf_free
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_LCTF_RDWR,4,2                  ## @LCTF_RDWR
	.comm	_ECTF_RDONLY,4,2                ## @ECTF_RDONLY
	.comm	_ECTF_BADID,4,2                 ## @ECTF_BADID
	.comm	_CTF_K_ENUM,8,3                 ## @CTF_K_ENUM
	.comm	_ECTF_NOTENUM,4,2               ## @ECTF_NOTENUM
	.comm	_CTF_MAX_VLEN,8,3               ## @CTF_MAX_VLEN
	.comm	_ECTF_DTFULL,4,2                ## @ECTF_DTFULL
	.comm	_ECTF_DUPMEMBER,4,2             ## @ECTF_DUPMEMBER
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_CTF_ERR,4,2                    ## @CTF_ERR
	.comm	_LCTF_DIRTY,4,2                 ## @LCTF_DIRTY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ctf_add_enumerator             ; -- Begin function ctf_add_enumerator
	.p2align	2
_ctf_add_enumerator:                    ; @ctf_add_enumerator
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x3
	mov	x22, x2
	mov	x19, x0
	bl	_ctf_dtd_lookup
	cbz	x22, LBB0_6
; %bb.1:
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _LCTF_RDWR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LCTF_RDWR@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.2:
	mov	x20, x0
	cbz	x0, LBB0_8
; %bb.3:
	ldr	w0, [x20, #32]
	bl	_CTF_INFO_KIND
	mov	x23, x0
	ldr	w0, [x20, #32]
	bl	_CTF_INFO_ISROOT
	mov	x24, x0
	ldr	w0, [x20, #32]
	bl	_CTF_INFO_VLEN
Lloh3:
	adrp	x8, _CTF_K_ENUM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CTF_K_ENUM@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x23, x8
	b.ne	LBB0_9
; %bb.4:
	mov	x25, x0
Lloh6:
	adrp	x8, _CTF_MAX_VLEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CTF_MAX_VLEN@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.5:
Lloh9:
	adrp	x8, _ECTF_DTFULL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ECTF_DTFULL@GOTPAGEOFF]
	b	LBB0_10
LBB0_6:
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_10
LBB0_7:
Lloh13:
	adrp	x8, _ECTF_RDONLY@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ECTF_RDONLY@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
Lloh15:
	adrp	x8, _ECTF_BADID@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ECTF_BADID@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh17:
	adrp	x8, _ECTF_NOTENUM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ECTF_NOTENUM@GOTPAGEOFF]
LBB0_10:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_ctf_set_errno
LBB0_11:
	mov	x0, x20
	bl	_ctf_list_next
	cbz	x0, LBB0_15
; %bb.12:
	mov	x26, x0
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x26]
	mov	x1, x22
	bl	_strcmp
	cbz	x0, LBB0_18
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x26
	bl	_ctf_list_next
	mov	x26, x0
	cbnz	x0, LBB0_13
LBB0_15:
	mov	w0, #32
	bl	_ctf_alloc
	cbz	x0, LBB0_20
; %bb.16:
	mov	x26, x0
	mov	x0, x22
	bl	_ctf_strdup
	cbz	x0, LBB0_19
; %bb.17:
	mov	x22, x0
Lloh19:
	adrp	x8, _CTF_ERR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _CTF_ERR@GOTPAGEOFF]
	str	x0, [x26]
Lloh21:
	ldr	w8, [x8]
	str	w8, [x26, #24]
	str	xzr, [x26, #16]
	str	w21, [x26, #8]
	add	x2, x25, #1
	mov	x0, x23
	mov	x1, x24
	bl	_CTF_TYPE_INFO
	str	w0, [x20, #32]
	mov	x0, x20
	mov	x1, x26
	bl	_ctf_list_append
	mov	x0, x22
	bl	_strlen
	ldp	w9, w8, [x19]
	add	w8, w0, w8
Lloh22:
	adrp	x10, _LCTF_DIRTY@GOTPAGE
Lloh23:
	ldr	x10, [x10, _LCTF_DIRTY@GOTPAGEOFF]
	add	w8, w8, #1
Lloh24:
	ldr	w10, [x10]
	orr	w9, w9, w10
	stp	w9, w8, [x19]
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_18:
Lloh25:
	adrp	x8, _ECTF_DUPMEMBER@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ECTF_DUPMEMBER@GOTPAGEOFF]
	b	LBB0_10
LBB0_19:
	mov	x0, x26
	mov	w1, #32
	bl	_ctf_free
LBB0_20:
Lloh27:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh28:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_LCTF_RDWR,4,2                  ; @LCTF_RDWR
	.comm	_ECTF_RDONLY,4,2                ; @ECTF_RDONLY
	.comm	_ECTF_BADID,4,2                 ; @ECTF_BADID
	.comm	_CTF_K_ENUM,8,3                 ; @CTF_K_ENUM
	.comm	_ECTF_NOTENUM,4,2               ; @ECTF_NOTENUM
	.comm	_CTF_MAX_VLEN,8,3               ; @CTF_MAX_VLEN
	.comm	_ECTF_DTFULL,4,2                ; @ECTF_DTFULL
	.comm	_ECTF_DUPMEMBER,4,2             ; @ECTF_DUPMEMBER
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_CTF_ERR,4,2                    ; @CTF_ERR
	.comm	_LCTF_DIRTY,4,2                 ; @LCTF_DIRTY
.subsections_via_symbols
