	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_z2ram
_get_z2ram:                             ## @get_z2ram
	.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	_Z2RAM_SIZE@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	movq	_Z2RAM_CHUNKSIZE@GOTPCREL(%rip), %r15
	cltd
	idivl	(%r15)
	testl	%eax, %eax
	jle	LBB0_5
## %bb.1:
	xorl	%ebx, %ebx
	movq	_zorro_unused_z2ram@GOTPCREL(%rip), %r12
	movq	_z2ram_size@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%ebx
	movl	(%r14), %eax
	cltd
	idivl	(%r15)
	cmpl	%eax, %ebx
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	movl	%ebx, %edi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_z2_count@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	_Z2RAM_START@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ZTWO_VADDR
	movq	_Z2RAM_CHUNKSHIFT@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	movl	%ebx, %edx
	shll	%cl, %edx
	movslq	%edx, %rcx
	addq	%rax, %rcx
	movq	_z2ram_map@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	(%r13), %rdx
	leal	1(%rdx), %esi
	movl	%esi, (%r13)
	movq	%rcx, (%rax,%rdx,8)
	movl	(%r12), %esi
	movl	%ebx, %edi
	callq	_clear_bit
	jmp	LBB0_4
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Z2RAM_SIZE,4,2                 ## @Z2RAM_SIZE
	.comm	_Z2RAM_CHUNKSIZE,4,2            ## @Z2RAM_CHUNKSIZE
	.comm	_zorro_unused_z2ram,4,2         ## @zorro_unused_z2ram
	.comm	_z2_count,4,2                   ## @z2_count
	.comm	_Z2RAM_START,4,2                ## @Z2RAM_START
	.comm	_Z2RAM_CHUNKSHIFT,4,2           ## @Z2RAM_CHUNKSHIFT
	.comm	_z2ram_map,8,3                  ## @z2ram_map
	.comm	_z2ram_size,4,2                 ## @z2ram_size
	.no_dead_strip	_get_z2ram
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_z2ram
_get_z2ram:                             ; @get_z2ram
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x20, _Z2RAM_SIZE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _Z2RAM_SIZE@GOTPAGEOFF]
	ldr	w8, [x20]
Lloh2:
	adrp	x21, _Z2RAM_CHUNKSIZE@GOTPAGE
Lloh3:
	ldr	x21, [x21, _Z2RAM_CHUNKSIZE@GOTPAGEOFF]
	ldr	w9, [x21]
	sdiv	w8, w8, w9
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	w19, #0
Lloh4:
	adrp	x22, _zorro_unused_z2ram@GOTPAGE
Lloh5:
	ldr	x22, [x22, _zorro_unused_z2ram@GOTPAGEOFF]
Lloh6:
	adrp	x23, _z2_count@GOTPAGE
Lloh7:
	ldr	x23, [x23, _z2_count@GOTPAGEOFF]
Lloh8:
	adrp	x24, _Z2RAM_START@GOTPAGE
Lloh9:
	ldr	x24, [x24, _Z2RAM_START@GOTPAGEOFF]
Lloh10:
	adrp	x25, _Z2RAM_CHUNKSHIFT@GOTPAGE
Lloh11:
	ldr	x25, [x25, _Z2RAM_CHUNKSHIFT@GOTPAGEOFF]
Lloh12:
	adrp	x26, _z2ram_map@GOTPAGE
Lloh13:
	ldr	x26, [x26, _z2ram_map@GOTPAGEOFF]
Lloh14:
	adrp	x27, _z2ram_size@GOTPAGE
Lloh15:
	ldr	x27, [x27, _z2ram_size@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w19, w19, #1
	ldr	w8, [x20]
	ldr	w9, [x21]
	sdiv	w8, w8, w9
	cmp	w19, w8
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x22]
	mov	x0, x19
	bl	_test_bit
	cbz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x23]
	add	w8, w8, #1
	str	w8, [x23]
	ldr	w0, [x24]
	bl	_ZTWO_VADDR
	ldr	w8, [x25]
	lsl	w8, w19, w8
	add	x8, x0, w8, sxtw
	ldr	x9, [x26]
	ldrsw	x10, [x27]
	add	w11, w10, #1
	str	w11, [x27]
	str	x8, [x9, x10, lsl #3]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_clear_bit
	b	LBB0_2
LBB0_5:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_Z2RAM_SIZE,4,2                 ; @Z2RAM_SIZE
	.comm	_Z2RAM_CHUNKSIZE,4,2            ; @Z2RAM_CHUNKSIZE
	.comm	_zorro_unused_z2ram,4,2         ; @zorro_unused_z2ram
	.comm	_z2_count,4,2                   ; @z2_count
	.comm	_Z2RAM_START,4,2                ; @Z2RAM_START
	.comm	_Z2RAM_CHUNKSHIFT,4,2           ; @Z2RAM_CHUNKSHIFT
	.comm	_z2ram_map,8,3                  ; @z2ram_map
	.comm	_z2ram_size,4,2                 ; @z2ram_size
	.no_dead_strip	_get_z2ram
.subsections_via_symbols
