	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function flat_read_data
_flat_read_data:                        ## @flat_read_data
	.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), %rcx
	movl	(%rcx), %eax
	movl	4(%rcx), %ebx
	testl	%esi, %esi
	je	LBB0_1
## %bb.2:
	movl	%esi, %r14d
	movq	%rdi, %r15
	shlq	$32, %rbx
	orq	%rax, %rbx
	movq	%rbx, %rdi
	callq	_data_grow_for
	movq	%rax, %rbx
	shrq	$32, %rbx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%r14d, %edx
	callq	_flat_read_chunk
	movq	%r15, %rdi
	movl	$4, %esi
	callq	_flat_realign
	jmp	LBB0_3
LBB0_1:
	movl	%eax, %r14d
LBB0_3:
	shlq	$32, %rbx
	movl	%r14d, %eax
	orq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_empty_data,8,2                 ## @empty_data
	.no_dead_strip	_flat_read_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function flat_read_data
_flat_read_data:                        ; @flat_read_data
	.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, x0
Lloh0:
	adrp	x8, _empty_data@GOTPAGE
Lloh1:
	ldr	x8, [x8, _empty_data@GOTPAGEOFF]
	ldp	w0, w21, [x8]
	cbz	w1, LBB0_2
; %bb.1:
	mov	x19, x1
	bfi	x0, x21, #32, #32
	bl	_data_grow_for
	lsr	x21, x0, #32
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_flat_read_chunk
	mov	x0, x20
	mov	w1, #4
	bl	_flat_realign
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	b	LBB0_3
LBB0_2:
	mov	x19, x0
LBB0_3:
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	mov	w0, w19
	bfi	x0, x21, #32, #32
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_empty_data,8,2                 ; @empty_data
	.no_dead_strip	_flat_read_data
.subsections_via_symbols
