	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_map
_read_map:                              ## @read_map
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_feof
	testl	%eax, %eax
	je	LBB0_1
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_table_cnt@GOTPCREL(%rip), %r14
	movq	_table_size@GOTPCREL(%rip), %r15
	movq	_table@GOTPCREL(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_feof
	testl	%eax, %eax
	jne	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %ecx
	movl	(%r15), %eax
	cmpl	%eax, %ecx
	jge	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12), %rax
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	leal	10000(%rax), %ecx
	movl	%ecx, (%r15)
	movq	(%r12), %rdi
	leal	40000(,%rax,4), %esi
	callq	_realloc
	movq	%rax, (%r12)
	testq	%rax, %rax
	je	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r14), %ecx
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movslq	%ecx, %rcx
	leaq	(%rax,%rcx,4), %rsi
	movq	%rbx, %rdi
	callq	_read_symbol
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%r14), %rax
	movq	(%r12), %rcx
	movl	%eax, (%rcx,%rax,4)
	incl	(%r14)
	jmp	LBB0_8
LBB0_10:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_table_cnt,4,2                  ## @table_cnt
	.comm	_table_size,4,2                 ## @table_size
	.comm	_table,8,3                      ## @table
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"out of memory\n"

	.no_dead_strip	_read_map
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_map
_read_map:                              ; @read_map
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	bl	_feof
	cbz	w0, LBB0_2
LBB0_1:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh0:
	adrp	x20, _table_cnt@GOTPAGE
Lloh1:
	ldr	x20, [x20, _table_cnt@GOTPAGEOFF]
Lloh2:
	adrp	x21, _table_size@GOTPAGE
Lloh3:
	ldr	x21, [x21, _table_size@GOTPAGEOFF]
	mov	w22, #10000
Lloh4:
	adrp	x23, _table@GOTPAGE
Lloh5:
	ldr	x23, [x23, _table@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_feof
	cbnz	w0, LBB0_1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20]
	ldr	w9, [x21]
	cmp	w8, w9
	b.ge	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x23]
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w8, w9, w22
	str	w8, [x21]
	ldr	x0, [x23]
	lsl	w1, w8, #2
	bl	_realloc
	str	x0, [x23]
	cbz	x0, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x20]
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x1, x0, w8, sxtw #2
	mov	x0, x19
	bl	_read_symbol
	cbnz	x0, LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrsw	x8, [x20]
	ldr	x9, [x23]
	str	w8, [x9, x8, lsl #2]
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	b	LBB0_3
LBB0_10:
Lloh6:
	adrp	x8, _stderr@GOTPAGE
Lloh7:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_table_cnt,4,2                  ; @table_cnt
	.comm	_table_size,4,2                 ; @table_size
	.comm	_table,8,3                      ; @table
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"out of memory\n"

	.no_dead_strip	_read_map
.subsections_via_symbols
