	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function DrawAllSpritesFull
_DrawAllSpritesFull:                    ## @DrawAllSpritesFull
	.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
	subq	$664, %rsp                      ## imm = 0x298
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_START_ROW@GOTPCREL(%rip), %rax
	movl	(%rax), %r11d
	shll	$3, %r11d
	movq	_END_ROW@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	shll	$3, %r8d
	movq	_Pico@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	8(%rax), %rax
	movl	48(%rax), %r10d
	andl	$1, %r10d
	xorl	$127, %r10d
	andl	20(%rax), %r10d
	shlq	$8, %r10
	movl	$0, -692(%rbp)                  ## 4-byte Folded Spill
	movl	$79, %r12d
	xorl	%r9d, %r9d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%r10,%rbx,4), %edx
	andl	$32764, %edx                    ## imm = 0x7FFC
	movl	(%r15,%rdx), %ebx
	movl	%ebx, %r13d
	andl	$511, %r13d                     ## imm = 0x1FF
	movl	%ebx, %ecx
	shrl	$21, %ecx
	andl	$24, %ecx
	leal	(%rcx,%r13), %r14d
	addl	$-120, %r14d
	cmpl	%r11d, %r14d
	jle	LBB0_21
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	addl	$-128, %r13d
	cmpl	%r8d, %r13d
	jg	LBB0_21
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	addq	%r15, %rdx
	movl	4(%rdx), %eax
	movl	%eax, %ecx
	shrl	$16, %ecx
	andl	$511, %ecx                      ## imm = 0x1FF
	je	LBB0_4
## %bb.17:                              ##   in Loop: Header=BB0_1 Depth=1
	shrl	$15, %eax
	andl	$1, %eax
	cmpl	%edi, %eax
	jne	LBB0_21
## %bb.18:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$97, %ecx
	jb	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_1 Depth=1
	addl	$-120, %ecx
	cmpl	%esi, %ecx
	jge	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_1 Depth=1
	movslq	%r9d, %rax
	incl	%r9d
	movq	%rdx, -688(%rbp,%rax,8)
	jmp	LBB0_21
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	-692(%rbp), %eax                ## 4-byte Reload
	testl	%eax, %eax
	je	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %edx
	sarl	$16, %edx
	leal	1(%rdx), %ecx
	movzwl	%ax, %eax
	cmpl	%r13d, %ecx
	jl	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%r14d, %edx
	jg	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%r13d, %eax
	jge	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %r13d
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%r11d, %r13d
	jle	LBB0_11
	jmp	LBB0_13
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%r14d, %edx
	cmovlel	%r14d, %edx
	leal	-1(%rax), %ecx
	cmpl	%r14d, %ecx
	cmovgl	%r14d, %edx
	cmpl	%r13d, %eax
	cmovgel	%edx, %r14d
	cmpl	%r11d, %r13d
	jg	LBB0_13
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%r11d, %r14d
	jl	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	incl	%r14d
	movl	%r14d, %r11d
	jmp	LBB0_21
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%r8d, %r14d
	jl	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%r8d, %r13d
	jg	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_1 Depth=1
	decl	%r13d
	movl	%r13d, %r8d
	jmp	LBB0_21
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	shll	$16, %r14d
	orl	%r13d, %r14d
	movl	%r14d, -692(%rbp)               ## 4-byte Spill
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_1 Depth=1
	shrl	$16, %ebx
	subl	$1, %r12d
	setb	%al
	andl	$127, %ebx
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_1 Depth=1
	testb	%al, %al
	je	LBB0_1
LBB0_23:
	testl	%r9d, %r9d
	jle	LBB0_26
## %bb.24:
	movl	%r9d, %ebx
	incq	%rbx
	.p2align	4, 0x90
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	leal	-2(%rbx), %eax
	movq	-688(%rbp,%rax,8), %rdi
	callq	_DrawSpriteFull
	decq	%rbx
	cmpq	$1, %rbx
	ja	LBB0_25
LBB0_26:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_28
## %bb.27:
	addq	$664, %rsp                      ## imm = 0x298
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_Pico,16,3                      ## @Pico
	.comm	_START_ROW,4,2                  ## @START_ROW
	.comm	_END_ROW,4,2                    ## @END_ROW
	.no_dead_strip	_DrawAllSpritesFull
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function DrawAllSpritesFull
_DrawAllSpritesFull:                    ; @DrawAllSpritesFull
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [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 w27, -40
	.cfi_offset w28, -48
	sub	sp, sp, #656
	mov	w9, #0
	mov	w8, #0
	mov	w16, #0
Lloh0:
	adrp	x10, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x10, [x10, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	stur	x10, [x29, #-40]
Lloh3:
	adrp	x10, _START_ROW@GOTPAGE
Lloh4:
	ldr	x10, [x10, _START_ROW@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	lsl	w10, w10, #3
Lloh6:
	adrp	x11, _END_ROW@GOTPAGE
Lloh7:
	ldr	x11, [x11, _END_ROW@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	lsl	w11, w11, #3
Lloh9:
	adrp	x12, _Pico@GOTPAGE
Lloh10:
	ldr	x12, [x12, _Pico@GOTPAGEOFF]
	ldp	x12, x13, [x12]
	ldr	w14, [x13, #20]
	ldr	w13, [x13, #48]
	and	w13, w13, #0x1
	eor	w13, w13, #0x7f
	and	x13, x13, x14
	lsl	x13, x13, #8
	mov	w14, #79
	add	x15, sp, #8
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	asr	w17, w9, #16
	add	w4, w17, #1
	and	w5, w9, #0xffff
	sub	w6, w5, #1
	cmp	w17, w3
	ccmp	w6, w3, #0, gt
	ccmp	w5, w2, #8, le
	csel	w6, w17, w3, ge
	cmp	w4, w2
	ccmp	w17, w3, #0, ge
	ccmp	w5, w2, #0, le
	csel	w17, w5, w2, lt
	csel	w4, w3, w6, lt
	cmp	w9, #0
	csel	w17, w2, w17, eq
	csel	w2, w3, w4, eq
	orr	w3, w17, w2, lsl #16
	sub	w4, w17, #1
	cmp	w2, w11
	ccmp	w17, w11, #0, ge
	csel	w4, w11, w4, gt
	csel	w3, w3, w9, gt
	cmp	w17, w10
	ccmp	w2, w10, #8, le
	csinc	w10, w10, w2, lt
	csel	w11, w4, w11, lt
	csel	w9, w3, w9, lt
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ubfx	w16, w16, #16, #7
	cmp	w16, #0
	ccmp	w14, #0, #4, ne
	sub	w14, w14, #1
	b.eq	LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	w16, w13, w16, lsl #2
	and	x16, x16, #0x7ffc
	add	x17, x12, x16
	ldr	w16, [x17]
	and	w2, w16, #0x1ff
	sub	w2, w2, #128
	lsr	w3, w16, #21
	and	w3, w3, #0x18
	add	w3, w3, w2
	add	w3, w3, #8
	cmp	w3, w10
	ccmp	w2, w11, #0, gt
	b.gt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w5, [x17, #4]
	ubfx	w4, w5, #16, #9
	cbz	w4, LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ubfx	w2, w5, #15, #1
	cmp	w2, w0
	b.ne	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	w2, w4, #120
	cmp	w4, #97
	ccmp	w2, w1, #0, hs
	b.ge	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	str	x17, [x15, w8, sxtw #3]
	add	w8, w8, #1
	b	LBB0_2
LBB0_8:
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.9:
	mov	w8, w8
	add	x19, x8, #1
	add	x20, sp, #8
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	sub	w8, w19, #2
	ldr	x0, [x20, w8, uxtw #3]
	bl	_DrawSpriteFull
	sub	x19, x19, #1
	cmp	x19, #1
	b.hi	LBB0_10
LBB0_11:
	ldur	x8, [x29, #-40]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	add	sp, sp, #656
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_Pico,16,3                      ; @Pico
	.comm	_START_ROW,4,2                  ; @START_ROW
	.comm	_END_ROW,4,2                    ; @END_ROW
	.no_dead_strip	_DrawAllSpritesFull
.subsections_via_symbols
