	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_complete_on_enum               ## -- Begin function complete_on_enum
	.p2align	4, 0x90
_complete_on_enum:                      ## @complete_on_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_strlen
	movl	%eax, %r13d
	movl	$80, %edi
	callq	_xmalloc
	movq	(%rbx), %r15
	testq	%r15, %r15
	je	LBB0_15
## %bb.1:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rax
	subq	%r14, %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	subq	%r12, %r14
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	addq	$8, %rbx
	xorl	%r14d, %r14d
	movl	$10, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%r12, -104(%rbp)                ## 8-byte Spill
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	jmp	LBB0_2
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	-88(%rbp), %r15                 ## 8-byte Folded Reload
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_strcpy
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	incl	%r14d
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %r15
	addq	$8, %rbx
	testq	%r15, %r15
	je	LBB0_13
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%r13d, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_12
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	cmpl	%esi, %r14d
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	leal	(%rsi,%rsi), %r13d
	shll	$4, %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_xrealloc
	movq	%rax, %r12
	movl	%r13d, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_6
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %r12                 ## 8-byte Reload
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_strlen
	movl	%eax, %r13d
	movq	%r15, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%r13), %edi
	incl	%edi
	callq	_xmalloc
	movslq	-64(%rbp), %r13                 ## 4-byte Folded Reload
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, (%r12,%r13,8)
	movq	-104(%rbp), %r12                ## 8-byte Reload
	cmpq	%r12, %r14
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	ja	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movl	%r14d, %edx
	callq	_strncpy
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%r13,8), %rax
	movb	$0, (%rax,%r14)
	movq	(%rcx,%r13,8), %rdi
	movq	%r15, %rsi
	callq	_strcat
	jmp	LBB0_11
LBB0_13:
	testl	%r14d, %r14d
	je	LBB0_14
## %bb.16:
	leal	8(,%r14,8), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_xrealloc
	movslq	%r14d, %rcx
	movq	$0, (%rax,%rcx,8)
	jmp	LBB0_17
LBB0_14:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
LBB0_15:
	movq	%rax, %rdi
	callq	_xfree
	xorl	%eax, %eax
LBB0_17:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_complete_on_enum               ; -- Begin function complete_on_enum
	.p2align	2
_complete_on_enum:                      ; @complete_on_enum
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x20, x1
	mov	x25, x0
	mov	x0, x1
	bl	_strlen
	mov	x22, x0
	mov	w0, #80
	bl	_xmalloc
	mov	x21, x0
	ldr	x24, [x25]
	cbz	x24, LBB0_15
; %bb.1:
	mov	w26, #0
	sub	x23, x20, x19
	sub	x8, x19, x20
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	add	x28, x25, #8
	mov	w27, #10
	b	LBB0_6
LBB0_2:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x1, x24
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	bl	_strcpy
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w26, w26, #1
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x24, [x28], #8
	cbz	x24, LBB0_13
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	mov	x1, x20
	mov	x2, x22
	bl	_strncmp
	cbnz	x0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w26, w27
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	lsl	w25, w27, #1
	lsl	w1, w27, #4
	mov	x0, x21
	bl	_xrealloc
	mov	x21, x0
	mov	x27, x25
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_strlen
	mov	x25, x0
	mov	x0, x24
	bl	_strlen
	add	w8, w25, w0
	add	w0, w8, #1
	bl	_xmalloc
	str	x0, [x21, w26, sxtw #3]
	cmp	x19, x20
	b.eq	LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	b.ls	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	add	x1, x24, x8
	b	LBB0_3
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	sxtw	x25, w26
	mov	x1, x19
	mov	x2, x23
	bl	_strncpy
	lsl	x8, x25, #3
	ldr	x9, [x21, x8]
	strb	wzr, [x9, x23]
	ldr	x0, [x21, x8]
	mov	x1, x24
	bl	_strcat
	b	LBB0_4
LBB0_13:
	cbz	w26, LBB0_15
; %bb.14:
	lsl	w8, w26, #3
	add	w1, w8, #8
	mov	x0, x21
	bl	_xrealloc
	str	xzr, [x0, w26, sxtw #3]
	b	LBB0_16
LBB0_15:
	mov	x0, x21
	bl	_xfree
	mov	x0, #0
LBB0_16:
	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
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
