	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enlist
_enlist:                                ## @enlist
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.1:
	movq	%rdx, %r15
	movq	%rdi, %r12
	movq	%rsi, %rdi
	callq	_icpyalloc
	testq	%rax, %rax
	je	LBB0_13
## %bb.2:
	movq	%rax, %r14
	movb	$0, (%rax,%r15)
	movq	(%r12), %rdi
	xorl	%ebx, %ebx
	testq	%rdi, %rdi
	je	LBB0_16
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rsi
	callq	_istrstr
	testq	%rax, %rax
	jne	LBB0_14
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r12,%rbx,8), %rdi
	incq	%rbx
	testq	%rdi, %rdi
	jne	LBB0_3
## %bb.5:
	movq	(%r12), %rsi
	testq	%rsi, %rsi
	je	LBB0_16
## %bb.6:
	xorl	%r15d, %r15d
	movq	%r12, %r13
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_9 Depth=1
	incl	%r15d
LBB0_8:                                 ##   in Loop: Header=BB0_9 Depth=1
	movslq	%r15d, %rax
	leaq	(%r12,%rax,8), %r13
	movq	(%r12,%rax,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_16
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_istrstr
	testq	%rax, %rax
	je	LBB0_7
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	(%r13), %rdi
	callq	_free
	decl	%ebx
	cmpl	%r15d, %ebx
	je	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movslq	%ebx, %rax
	movq	(%r12,%rax,8), %rcx
	movq	%rcx, (%r13)
	movq	$0, (%r12,%rax,8)
	jmp	LBB0_8
LBB0_13:
	movq	%r12, %rdi
	callq	_freelist
	jmp	LBB0_18
LBB0_14:
	movq	%r14, %rdi
	callq	_free
	jmp	LBB0_19
LBB0_15:
	movl	%r15d, %ebx
LBB0_16:
	leal	16(,%rbx,8), %esi
	movq	%r12, %rdi
	callq	_realloc
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	movq	%rax, %r12
	movslq	%ebx, %rax
	movq	%r14, (%r12,%rax,8)
	movq	$0, 8(%r12,%rax,8)
	jmp	LBB0_19
LBB0_18:
	xorl	%r12d, %r12d
LBB0_19:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_enlist
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enlist
_enlist:                                ; @enlist
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	cbz	x0, LBB0_20
; %bb.1:
	mov	x21, x2
	mov	x0, x1
	bl	_icpyalloc
	cbz	x0, LBB0_13
; %bb.2:
	mov	x20, x0
	strb	wzr, [x0, x21]
	ldr	x0, [x19]
	cbz	x0, LBB0_14
; %bb.3:
	mov	x22, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x1, x20
	bl	_istrstr
	cbnz	x0, LBB0_15
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x22, #1
	add	x8, x19, x22, lsl #3
	ldr	x0, [x8, #8]
	mov	x22, x21
	cbnz	x0, LBB0_4
; %bb.6:
	ldr	x1, [x19]
	cbz	x1, LBB0_16
; %bb.7:
	mov	w22, #0
	mov	x23, x19
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	w22, w22, #1
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x23, x19, w22, sxtw #3
	ldr	x1, [x23]
	cbz	x1, LBB0_18
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_istrstr
	cbz	x0, LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x0, [x23]
	bl	_free
	sub	w21, w21, #1
	cmp	w21, w22
	b.eq	LBB0_17
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	sbfiz	x8, x21, #3, #32
	ldr	x9, [x19, x8]
	str	x9, [x23]
	str	xzr, [x19, x8]
	b	LBB0_9
LBB0_13:
	mov	x0, x19
	bl	_freelist
	mov	x19, #0
	b	LBB0_20
LBB0_14:
	mov	w21, #0
	b	LBB0_18
LBB0_15:
	mov	x0, x20
	bl	_free
	b	LBB0_20
LBB0_16:
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	b	LBB0_18
LBB0_17:
	mov	x21, x22
LBB0_18:
	lsl	w8, w21, #3
	add	w1, w8, #16
	mov	x0, x19
	bl	_realloc
	mov	x19, x0
	cbz	x0, LBB0_20
; %bb.19:
	add	x8, x19, w21, sxtw #3
	stp	x20, xzr, [x8]
LBB0_20:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_enlist
.subsections_via_symbols
