	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sh2rec_mem_init                ## -- Begin function sh2rec_mem_init
	.p2align	4, 0x90
_sh2rec_mem_init:                       ## @sh2rec_mem_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_SH2REC_MEM_INITIAL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_malloc
	leaq	32(%rax), %rcx
	movl	(%rbx), %edx
	movq	_cur_allocation@GOTPCREL(%rip), %rsi
	movl	%edx, (%rsi)
	addl	$-32, %edx
	movl	%edx, 32(%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%rax)
	movq	$0, (%rax)
	movq	_allocblocks@GOTPCREL(%rip), %rdx
	movq	%rax, (%rdx)
	movq	_freeblocks@GOTPCREL(%rip), %rax
	movq	%rcx, (%rax)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SH2REC_MEM_INITIAL,4,2         ## @SH2REC_MEM_INITIAL
	.comm	_cur_allocation,4,2             ## @cur_allocation
	.comm	_allocblocks,8,3                ## @allocblocks
	.comm	_freeblocks,8,3                 ## @freeblocks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sh2rec_mem_init                ; -- Begin function sh2rec_mem_init
	.p2align	2
_sh2rec_mem_init:                       ; @sh2rec_mem_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _SH2REC_MEM_INITIAL@GOTPAGE
Lloh1:
	ldr	x19, [x19, _SH2REC_MEM_INITIAL@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_malloc
	ldr	w8, [x19]
Lloh2:
	adrp	x9, _cur_allocation@GOTPAGE
Lloh3:
	ldr	x9, [x9, _cur_allocation@GOTPAGEOFF]
Lloh4:
	str	w8, [x9]
	sub	w8, w8, #32
	stp	xzr, xzr, [x0, #40]
	str	xzr, [x0]
Lloh5:
	adrp	x9, _allocblocks@GOTPAGE
Lloh6:
	ldr	x9, [x9, _allocblocks@GOTPAGEOFF]
Lloh7:
	str	x0, [x9]
	str	w8, [x0, #32]!
Lloh8:
	adrp	x8, _freeblocks@GOTPAGE
Lloh9:
	ldr	x8, [x8, _freeblocks@GOTPAGEOFF]
Lloh10:
	str	x0, [x8]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SH2REC_MEM_INITIAL,4,2         ; @SH2REC_MEM_INITIAL
	.comm	_cur_allocation,4,2             ; @cur_allocation
	.comm	_allocblocks,8,3                ; @allocblocks
	.comm	_freeblocks,8,3                 ; @freeblocks
.subsections_via_symbols
