	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LoadFile                       ## -- Begin function LoadFile
	.p2align	4, 0x90
_LoadFile:                              ## @LoadFile
	.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	%ecx, %r13d
	movl	%edx, %r12d
	movq	%rsi, %r14
	callq	_SafeOpenRead
	movq	%rax, %r15
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_fseek
	testl	%r13d, %r13d
	jne	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_Q_filelength
	movl	%eax, %r13d
LBB0_2:
	leal	1(%r13), %edi
	callq	_GetMemory
	movq	%rax, %rbx
	movslq	%r13d, %r12
	movb	$0, (%rax,%r12)
	movq	%r15, %rdi
	movq	%rax, %rsi
	movl	%r12d, %edx
	callq	_SafeRead
	movq	%r15, %rdi
	callq	_fclose
	movq	%rbx, (%r14)
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LoadFile                       ; -- Begin function LoadFile
	.p2align	2
_LoadFile:                              ; @LoadFile
	.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, x3
	mov	x22, x2
	mov	x19, x1
	bl	_SafeOpenRead
	mov	x21, x0
Lloh0:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x22
	bl	_fseek
	cbnz	w20, LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_Q_filelength
	mov	x20, x0
LBB0_2:
	add	w0, w20, #1
	bl	_GetMemory
	mov	x22, x0
	strb	wzr, [x0, w20, sxtw]
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	bl	_SafeRead
	mov	x0, x21
	bl	_fclose
	str	x22, [x19]
	mov	x0, x20
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
.subsections_via_symbols
