	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function make_rewrite
_make_rewrite:                          ## @make_rewrite
	.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
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %r13
	movl	(%rdi), %esi
	testl	%esi, %esi
	jle	LBB0_9
## %bb.1:
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%rax), %esi
	movq	%r14, %rdi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_8
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	movq	(%rax,%rbx,8), %rax
	testl	%r15d, %r15d
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r15d, (%rax)
	jne	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%rax), %esi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_7
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	(%r13), %rsi
	cmpq	%rsi, %rbx
	jl	LBB0_2
LBB0_9:
	movq	8(%r13), %rdi
	incl	%esi
	movl	16(%r13), %edx
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_ALLOC_GROW
	movl	$1, %edi
	movl	$8, %esi
	callq	_xcalloc
	movq	%rax, %r12
	movq	8(%r13), %rax
	movslq	(%r13), %rcx
	leal	1(%rcx), %edx
	movl	%edx, (%r13)
	movq	%r12, (%rax,%rcx,8)
	testl	%r15d, %r15d
	je	LBB0_11
## %bb.10:
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_xstrndup
	movl	%eax, 4(%r12)
	movl	%r15d, (%r12)
	jmp	LBB0_12
LBB0_11:
	movq	%r14, %rdi
	callq	_xstrdup
	movl	%eax, 4(%r12)
	movq	%r14, %rdi
	callq	_strlen
	movl	%eax, (%r12)
	jmp	LBB0_12
LBB0_7:
	movq	8(%r13), %rax
	movq	(%rax,%rbx,8), %r12
LBB0_12:
	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	_make_rewrite
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function make_rewrite
_make_rewrite:                          ; @make_rewrite
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x22, #0
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x8, #4]
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_7
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.ge	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	ldr	x8, [x8, x22, lsl #3]
	cbz	w20, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x8]
	cmp	w9, w20
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x8, #4]
	mov	x0, x19
	mov	x2, x20
	bl	_strncmp
	cbnz	w0, LBB0_3
LBB0_7:
	ldr	x8, [x21, #8]
	ldr	x22, [x8, x22, lsl #3]
	b	LBB0_11
LBB0_8:
	ldr	x0, [x21, #8]
	add	w1, w8, #1
	ldr	w2, [x21, #16]
	bl	_ALLOC_GROW
	mov	w0, #1
	mov	w1, #8
	bl	_xcalloc
	mov	x22, x0
	ldr	x8, [x21, #8]
	ldrsw	x9, [x21]
	add	w10, w9, #1
	str	w10, [x21]
	str	x0, [x8, x9, lsl #3]
	cbz	w20, LBB0_10
; %bb.9:
	mov	x0, x19
	mov	x1, x20
	bl	_xstrndup
	stp	w20, w0, [x22]
	b	LBB0_11
LBB0_10:
	mov	x0, x19
	bl	_xstrdup
	str	w0, [x22, #4]
	mov	x0, x19
	bl	_strlen
	str	w0, [x22]
LBB0_11:
	mov	x0, x22
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_make_rewrite
.subsections_via_symbols
