	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_InitMem                        ## -- Begin function InitMem
	.p2align	4, 0x90
_InitMem:                               ## @InitMem
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_max_mem@GOTPCREL(%rip), %rax
	movl	%esi, (%rax)
	movq	_mem_start_p@GOTPCREL(%rip), %rax
	movq	%rdi, (%rax)
	movq	_mcb_count@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_allocated_mem@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movslq	%esi, %rdx
	leaq	(%rdi,%rdx), %rax
	movq	_heap_end@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	xorl	%esi, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	popq	%rbp
	jmp	_memset                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_max_mem,4,2                    ## @max_mem
	.comm	_mem_start_p,8,3                ## @mem_start_p
	.comm	_mcb_count,8,3                  ## @mcb_count
	.comm	_allocated_mem,8,3              ## @allocated_mem
	.comm	_heap_end,8,3                   ## @heap_end
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_InitMem                        ; -- Begin function InitMem
	.p2align	2
_InitMem:                               ; @InitMem
	.cfi_startproc
; %bb.0:
	mov	x2, x1
Lloh0:
	adrp	x8, _max_mem@GOTPAGE
Lloh1:
	ldr	x8, [x8, _max_mem@GOTPAGEOFF]
Lloh2:
	str	w1, [x8]
Lloh3:
	adrp	x8, _mem_start_p@GOTPAGE
Lloh4:
	ldr	x8, [x8, _mem_start_p@GOTPAGEOFF]
Lloh5:
	adrp	x9, _mcb_count@GOTPAGE
Lloh6:
	ldr	x9, [x9, _mcb_count@GOTPAGEOFF]
Lloh7:
	str	x0, [x8]
Lloh8:
	str	xzr, [x9]
Lloh9:
	adrp	x8, _allocated_mem@GOTPAGE
Lloh10:
	ldr	x8, [x8, _allocated_mem@GOTPAGEOFF]
Lloh11:
	str	xzr, [x8]
	add	x8, x0, w1, sxtw
Lloh12:
	adrp	x9, _heap_end@GOTPAGE
Lloh13:
	ldr	x9, [x9, _heap_end@GOTPAGEOFF]
Lloh14:
	str	x8, [x9]
	mov	w1, #0
	b	_memset
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_max_mem,4,2                    ; @max_mem
	.comm	_mem_start_p,8,3                ; @mem_start_p
	.comm	_mcb_count,8,3                  ; @mcb_count
	.comm	_allocated_mem,8,3              ; @allocated_mem
	.comm	_heap_end,8,3                   ; @heap_end
.subsections_via_symbols
