	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function recurse_one
_recurse_one:                           ## @recurse_one
	.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
	movq	%rsi, %rdx
	movq	%rdi, %r13
	movq	(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	xorl	%r12d, %r12d
	movq	%rax, %rbx
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %r14
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r12
	movq	%r14, %rbx
	cmpq	-56(%rbp), %r12                 ## 8-byte Folded Reload
	je	LBB0_19
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ##       Child Loop BB0_11 Depth 3
	movq	(%r13,%r12,8), %rdi
	callq	_recurse
	movq	(%r13,%r12,8), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r15d, %r15d
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	(%r13,%r12,8), %rax
	movq	8(%rax), %rax
	movq	(%rax,%r15,8), %rax
	movq	%rax, (%r13,%rbx,8)
	movq	%r14, %rbx
LBB0_17:                                ##   in Loop: Header=BB0_6 Depth=2
	incq	%r15
	movq	(%r13,%r12,8), %rax
	cmpq	(%rax), %r15
	jae	LBB0_18
LBB0_6:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_11 Depth 3
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	8(%rax), %rax
	movq	(%rax,%r15,8), %rcx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_3 Depth=1
                                        ##     Parent Loop BB0_6 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	cmpq	(%r13,%rax,8), %rcx
	je	LBB0_8
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=3
	incq	%rax
	cmpq	%rax, %rbx
	jne	LBB0_11
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_6 Depth=2
	xorl	%eax, %eax
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=2
	cmpq	%rbx, %rax
	jne	LBB0_9
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=2
	leaq	1(%rbx), %r14
	movq	(%rdx), %rsi
	cmpq	%rsi, %r14
	jb	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=2
	leaq	(%rsi,%rsi), %rax
	movq	%rax, (%rdx)
	shlq	$4, %rsi
	movq	%r13, %rdi
	callq	_realloc
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_16
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=2
	movq	%rbx, %r14
	jmp	LBB0_17
LBB0_1:
	xorl	%r14d, %r14d
LBB0_19:
	movq	%r14, (%rdx)
	movq	%r13, %rax
LBB0_20:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	_recurse_one.cold.1
	xorl	%eax, %eax
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function recurse_one.cold.1
_recurse_one.cold.1:                    ## @recurse_one.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str(%rip), %rsi
	pushq	$1
	popq	%rdi
	callq	_err
	ud2
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"realloc(d)"

	.no_dead_strip	_recurse_one
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function recurse_one
_recurse_one:                           ; @recurse_one
	.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	x19, x1
	mov	x20, x0
	ldr	x21, [x1]
	cbz	x21, LBB0_15
; %bb.1:
	mov	x22, #0
	mov	x23, x21
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #1
	cmp	x22, x21
	b.eq	LBB0_16
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;       Child Loop BB0_9 Depth 3
	lsl	x24, x22, #3
	ldr	x0, [x20, x24]
	bl	_recurse
	ldr	x8, [x20, x24]
	ldr	x9, [x8]
	cbz	x9, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x24, #0
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=2
	ldr	x8, [x20, x22, lsl #3]
	ldr	x8, [x8, #8]
	ldr	x8, [x8, x24, lsl #3]
	str	x8, [x20, x23, lsl #3]
	mov	x23, x25
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	add	x24, x24, #1
	ldr	x8, [x20, x22, lsl #3]
	ldr	x9, [x8]
	cmp	x24, x9
	b.hs	LBB0_2
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_9 Depth 3
	mov	x9, #0
	cbz	x23, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x8, [x8, #8]
	ldr	x8, [x8, x24, lsl #3]
LBB0_9:                                 ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x10, [x20, x9, lsl #3]
	cmp	x8, x10
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=3
	add	x9, x9, #1
	cmp	x23, x9
	b.ne	LBB0_9
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=2
	cmp	x9, x23
	b.ne	LBB0_6
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=2
	add	x25, x23, #1
	ldr	x8, [x19]
	cmp	x25, x8
	b.lo	LBB0_5
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=2
	lsl	x9, x8, #1
	str	x9, [x19]
	lsl	x1, x8, #4
	mov	x0, x20
	bl	_realloc
	mov	x20, x0
	cbnz	x0, LBB0_5
; %bb.14:
	bl	_recurse_one.cold.1
LBB0_15:
	mov	x23, #0
LBB0_16:
	str	x23, [x19]
	mov	x0, x20
	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
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function recurse_one.cold.1
_recurse_one.cold.1:                    ; @recurse_one.cold.1
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
	brk	#0x1
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"realloc(d)"

	.no_dead_strip	_recurse_one
.subsections_via_symbols
