	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prism2_get_ram_size
_prism2_get_ram_size:                   ## @prism2_get_ram_size
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	$31, %esi
	callq	_prism2_enable_genesis
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	movl	$15, %esi
	callq	_prism2_enable_genesis
	xorl	%esi, %esi
	testq	%rax, %rax
	setne	%sil
	shll	$4, %esi
	orl	$7, %esi
	xorl	%ebx, %ebx
	negq	%rax
	sbbl	%ebx, %ebx
	orl	$16, %ebx
	jmp	LBB0_3
LBB0_1:
	movl	$8, %ebx
	movl	$23, %esi
LBB0_3:
	movq	(%r14), %rax
	movq	%r14, %rdi
	callq	*(%rax)
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_prism2_get_ram_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prism2_get_ram_size
_prism2_get_ram_size:                   ; @prism2_get_ram_size
	.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	x19, x0
	mov	w1, #31
	bl	_prism2_enable_genesis
	mov	w20, #23
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #15
	bl	_prism2_enable_genesis
	cmp	x0, #0
	mov	w8, #7
	csel	w20, w8, w20, eq
	mov	w8, #16
	csinv	w21, w8, wzr, eq
	b	LBB0_3
LBB0_2:
	mov	w21, #8
LBB0_3:
	ldr	x8, [x19]
	ldr	x8, [x8]
	mov	x0, x19
	mov	x1, x20
	blr	x8
	mov	x0, x21
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_prism2_get_ram_size
.subsections_via_symbols
