	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function flatten_reserve_list
_flatten_reserve_list:                  ## @flatten_reserve_list
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_empty_data@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	movq	%rdi, %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_data_append_re
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_2
LBB0_3:
	movq	_reservenum@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_6
## %bb.4:
	xorl	%ebx, %ebx
	leaq	_flatten_reserve_list.null_re(%rip), %r15
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %edi
	movq	%r15, %rsi
	callq	_data_append_re
	incl	%ebx
	cmpl	(%r14), %ebx
	jl	LBB0_5
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_empty_data,4,2                 ## @empty_data
.zerofill __DATA,__bss,_flatten_reserve_list.null_re,8,2 ## @flatten_reserve_list.null_re
	.comm	_reservenum,4,2                 ## @reservenum
	.no_dead_strip	_flatten_reserve_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function flatten_reserve_list
_flatten_reserve_list:                  ; @flatten_reserve_list
	.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	x19, x0
Lloh0:
	adrp	x8, _empty_data@GOTPAGE
Lloh1:
	ldr	x8, [x8, _empty_data@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	cbz	x19, LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, w0
	mov	x1, x19
	bl	_data_append_re
	ldr	x19, [x19, #8]
	cbnz	x19, LBB0_1
LBB0_2:
Lloh3:
	adrp	x20, _reservenum@GOTPAGE
Lloh4:
	ldr	x20, [x20, _reservenum@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	w21, #0
Lloh5:
	adrp	x19, _flatten_reserve_list.null_re@PAGE
Lloh6:
	add	x19, x19, _flatten_reserve_list.null_re@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, w0
	mov	x1, x19
	bl	_data_append_re
	add	w21, w21, #1
	ldr	w8, [x20]
	cmp	w21, w8
	b.lt	LBB0_4
LBB0_5:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_empty_data,4,2                 ; @empty_data
.zerofill __DATA,__bss,_flatten_reserve_list.null_re,8,2 ; @flatten_reserve_list.null_re
	.comm	_reservenum,4,2                 ; @reservenum
	.no_dead_strip	_flatten_reserve_list
.subsections_via_symbols
