	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compute_adler32_of_screen
_compute_adler32_of_screen:             ## @compute_adler32_of_screen
	.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	_Z_NULL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	xorl	%edx, %edx
	callq	_adler32
	movq	_Screen_HEIGHT@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_3
## %bb.1:
	movq	_Screen_atari@GOTPCREL(%rip), %r15
	movq	_Screen_WIDTH@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rcx
	movslq	(%r12), %rdx
	movslq	%ebx, %rbx
	imulq	%rbx, %rdx
	leaq	(%rcx,%rdx), %rsi
	addq	$24, %rsi
	movl	%eax, %edi
	movl	$336, %edx                      ## imm = 0x150
	callq	_adler32
	incl	%ebx
	cmpl	(%r14), %ebx
	jl	LBB0_2
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Z_NULL,8,3                     ## @Z_NULL
	.comm	_Screen_HEIGHT,4,2              ## @Screen_HEIGHT
	.comm	_Screen_atari,8,3               ## @Screen_atari
	.comm	_Screen_WIDTH,4,2               ## @Screen_WIDTH
	.no_dead_strip	_compute_adler32_of_screen
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compute_adler32_of_screen
_compute_adler32_of_screen:             ; @compute_adler32_of_screen
	.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
Lloh0:
	adrp	x8, _Z_NULL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Z_NULL@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x8]
	mov	w0, #0
	mov	w2, #0
	bl	_adler32
Lloh3:
	adrp	x19, _Screen_HEIGHT@GOTPAGE
Lloh4:
	ldr	x19, [x19, _Screen_HEIGHT@GOTPAGEOFF]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w20, #0
Lloh5:
	adrp	x21, _Screen_atari@GOTPAGE
Lloh6:
	ldr	x21, [x21, _Screen_atari@GOTPAGEOFF]
Lloh7:
	adrp	x22, _Screen_WIDTH@GOTPAGE
Lloh8:
	ldr	x22, [x22, _Screen_WIDTH@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldrsw	x9, [x22]
	sxtw	x10, w20
	madd	x8, x9, x10, x8
	add	x1, x8, #24
	mov	w2, #336
	bl	_adler32
	add	w20, w20, #1
	ldr	w8, [x19]
	cmp	w20, w8
	b.lt	LBB0_2
LBB0_3:
	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
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_Z_NULL,8,3                     ; @Z_NULL
	.comm	_Screen_HEIGHT,4,2              ; @Screen_HEIGHT
	.comm	_Screen_atari,8,3               ; @Screen_atari
	.comm	_Screen_WIDTH,4,2               ; @Screen_WIDTH
	.no_dead_strip	_compute_adler32_of_screen
.subsections_via_symbols
