	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function load_crom
_load_crom:                             ## @load_crom
	.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
	movq	%rsi, %r12
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rsi
	callq	_fopen
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	movq	%r15, %rdx
	callq	_err
LBB0_2:
	xorl	%ebx, %ebx
	movq	_DUMP_FORMAT@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%r12,%rbx), %rdx
	movl	(%r15), %esi
	leaq	(%r12,%rbx), %rcx
	addq	$4, %rcx
	leaq	8(%r12,%rbx), %r8
	leaq	12(%r12,%rbx), %r9
	leaq	16(%r12,%rbx), %r10
	leaq	20(%r12,%rbx), %r11
	leaq	24(%r12,%rbx), %r13
	leaq	28(%r12,%rbx), %rax
	movq	%r14, %rdi
	pushq	%rax
	pushq	%r13
	pushq	%r11
	pushq	%r10
	callq	_fscanf
	addq	$32, %rsp
	addq	$32, %rbx
	cmpl	$1024, %ebx                     ## imm = 0x400
	jne	LBB0_3
## %bb.4:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fclose                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

L_.str.1:                               ## @.str.1
	.asciz	"load_crom %s"

	.comm	_DUMP_FORMAT,4,2                ## @DUMP_FORMAT
	.no_dead_strip	_load_crom
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function load_crom
_load_crom:                             ; @load_crom
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x1
	mov	x21, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fopen
	mov	x20, x0
	cbnz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	mov	x2, x21
	bl	_err
LBB0_2:
	mov	x21, #0
Lloh4:
	adrp	x22, _DUMP_FORMAT@GOTPAGE
Lloh5:
	ldr	x22, [x22, _DUMP_FORMAT@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, x19, x21
	ldr	w1, [x22]
	add	x3, x2, #4
	add	x4, x2, #8
	add	x5, x2, #12
	add	x6, x2, #16
	add	x7, x2, #20
	add	x8, x2, #24
	add	x9, x2, #28
	stp	x8, x9, [sp]
	mov	x0, x20
	bl	_fscanf
	add	x21, x21, #32
	cmp	w21, #1024
	b.ne	LBB0_3
; %bb.4:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_fclose
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

l_.str.1:                               ; @.str.1
	.asciz	"load_crom %s"

	.comm	_DUMP_FORMAT,4,2                ; @DUMP_FORMAT
	.no_dead_strip	_load_crom
.subsections_via_symbols
