	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_F_BunnyScroll                  ## -- Begin function F_BunnyScroll
	.p2align	4, 0x90
_F_BunnyScroll:                         ## @F_BunnyScroll
	.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	$24, %rsp
	.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	_PU_LEVEL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	callq	_W_CacheLumpName
	movq	%rax, %r14
	movl	(%rbx), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_W_CacheLumpName
	movq	%rax, %r15
	movq	_SCREENWIDTH@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	_SCREENHEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_V_MarkRect
	movq	_finalecount@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	-230(%rax), %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	addl	$-230, %ecx
	sarl	%ecx
	negl	%ecx
	movl	%ecx, %edx
	sarl	$31, %edx
	andl	%ecx, %edx
	cmpl	$-319, %edx                     ## imm = 0xFEC1
	movl	$-320, %r12d                    ## imm = 0xFEC0
	cmovgel	%edx, %r12d
	movl	(%r13), %ecx
	testl	%ecx, %ecx
	jg	LBB0_1
## %bb.6:
	cmpl	$1130, %eax                     ## imm = 0x46A
	jge	LBB0_7
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%ebx, %edi
	movq	%r15, %rsi
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	callq	_F_DrawPatchCol
	incl	%ebx
	movl	(%r13), %ecx
	cmpl	%ecx, %ebx
	jge	LBB0_5
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%r12,%rbx), %edx
	cmpl	$2147483328, %edx               ## imm = 0x7FFFFEC0
	jb	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	leal	(%r12,%rbx), %edx
	addl	$320, %edx                      ## imm = 0x140
	movl	%ebx, %edi
	movq	%r14, %rsi
	jmp	LBB0_4
LBB0_5:
	movq	_finalecount@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$1130, %eax                     ## imm = 0x46A
	jl	LBB0_12
LBB0_7:
	cmpl	$1179, %eax                     ## imm = 0x49B
	ja	LBB0_9
## %bb.8:
	movl	%ecx, %eax
	addl	$-104, %eax
	shrl	$31, %eax
	leal	(%rcx,%rax), %r14d
	addl	$-104, %r14d
	sarl	%r14d
	movq	_SCREENHEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	addl	$-64, %ecx
	shrl	$31, %ecx
	leal	(%rax,%rcx), %ebx
	addl	$-64, %ebx
	sarl	%ebx
	movq	_PU_CACHE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdi
	callq	_W_CacheLumpName
	movl	%r14d, %edi
	movl	%ebx, %esi
	xorl	%edx, %edx
	movq	%rax, %rcx
	callq	_V_DrawPatch
	movl	$0, _F_BunnyScroll.laststage(%rip)
	jmp	LBB0_12
LBB0_9:
	addl	$-1180, %eax                    ## imm = 0xFB64
	movl	$3435973837, %ecx               ## imm = 0xCCCCCCCD
	imulq	%rax, %rcx
	shrq	$34, %rcx
	cmpl	$6, %ecx
	movl	$6, %ebx
	cmovll	%ecx, %ebx
	cmpl	_F_BunnyScroll.laststage(%rip), %ebx
	jle	LBB0_11
## %bb.10:
	movq	_sfx_pistol@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_S_StartSound
	movl	%ebx, _F_BunnyScroll.laststage(%rip)
LBB0_11:
	leaq	L_.str.3(%rip), %rsi
	leaq	-58(%rbp), %r14
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_sprintf
	movl	(%r13), %eax
	movl	%eax, %ecx
	addl	$-104, %ecx
	shrl	$31, %ecx
	leal	(%rax,%rcx), %r15d
	addl	$-104, %r15d
	sarl	%r15d
	movq	_SCREENHEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	addl	$-64, %ecx
	shrl	$31, %ecx
	leal	(%rax,%rcx), %ebx
	addl	$-64, %ebx
	sarl	%ebx
	movq	_PU_CACHE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_W_CacheLumpName
	movl	%r15d, %edi
	movl	%ebx, %esi
	xorl	%edx, %edx
	movq	%rax, %rcx
	callq	_V_DrawPatch
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_F_BunnyScroll.laststage,4,2 ## @F_BunnyScroll.laststage
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PFUB2"

	.comm	_PU_LEVEL,4,2                   ## @PU_LEVEL
L_.str.1:                               ## @.str.1
	.asciz	"PFUB1"

	.comm	_SCREENWIDTH,4,2                ## @SCREENWIDTH
	.comm	_SCREENHEIGHT,4,2               ## @SCREENHEIGHT
	.comm	_finalecount,4,2                ## @finalecount
L_.str.2:                               ## @.str.2
	.asciz	"END0"

	.comm	_PU_CACHE,4,2                   ## @PU_CACHE
	.comm	_sfx_pistol,4,2                 ## @sfx_pistol
L_.str.3:                               ## @.str.3
	.asciz	"END%i"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_F_BunnyScroll                  ; -- Begin function F_BunnyScroll
	.p2align	2
_F_BunnyScroll:                         ; @F_BunnyScroll
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x20, _PU_LEVEL@GOTPAGE
Lloh4:
	ldr	x20, [x20, _PU_LEVEL@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_W_CacheLumpName
	mov	x19, x0
	ldr	w1, [x20]
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_W_CacheLumpName
	mov	x20, x0
Lloh9:
	adrp	x23, _SCREENWIDTH@GOTPAGE
Lloh10:
	ldr	x23, [x23, _SCREENWIDTH@GOTPAGEOFF]
	ldr	w2, [x23]
Lloh11:
	adrp	x22, _SCREENHEIGHT@GOTPAGE
Lloh12:
	ldr	x22, [x22, _SCREENHEIGHT@GOTPAGEOFF]
	ldr	w3, [x22]
	mov	w0, #0
	mov	w1, #0
	bl	_V_MarkRect
Lloh13:
	adrp	x24, _finalecount@GOTPAGE
Lloh14:
	ldr	x24, [x24, _finalecount@GOTPAGEOFF]
	ldr	w8, [x24]
	sub	w9, w8, #230
	sub	w10, w8, #229
	cmp	w9, #0
	csel	w9, w10, w9, lt
	asr	w9, w9, #1
	neg	w10, w9
	cmp	w10, #0
	csneg	w9, wzr, w9, ge
	cmn	w9, #320
	mov	w10, #-320
	csel	w25, w9, w10, gt
	ldr	w9, [x23]
	cmp	w9, #1
	b.lt	LBB0_7
; %bb.1:
	mov	w21, #0
	mov	w26, #65216
	movk	w26, #32767, lsl #16
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	mov	x1, x20
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_F_DrawPatchCol
	add	w21, w21, #1
	ldr	w9, [x23]
	cmp	w21, w9
	b.ge	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	w2, w25, w21
	cmp	w2, w26
	b.lo	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w2, w2, #320
	mov	x0, x21
	mov	x1, x19
	b	LBB0_3
LBB0_6:
	ldr	w8, [x24]
LBB0_7:
	cmp	w8, #1130
	b.lt	LBB0_13
; %bb.8:
	cmp	w8, #1179
	b.hi	LBB0_10
; %bb.9:
	sub	w8, w9, #104
	sub	w9, w9, #103
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w19, w8, #1
	ldr	w8, [x22]
	sub	w9, w8, #64
	sub	w8, w8, #63
	cmp	w9, #0
	csel	w8, w8, w9, lt
	asr	w20, w8, #1
Lloh15:
	adrp	x8, _PU_CACHE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PU_CACHE@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x0, l_.str.2@PAGE
Lloh19:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_W_CacheLumpName
	mov	x3, x0
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_V_DrawPatch
	adrp	x8, _F_BunnyScroll.laststage@PAGE
	str	wzr, [x8, _F_BunnyScroll.laststage@PAGEOFF]
	b	LBB0_13
LBB0_10:
	sub	w8, w8, #1180
	mov	w9, #52429
	movk	w9, #52428, lsl #16
	umull	x8, w8, w9
	lsr	x8, x8, #34
	mov	w9, #6
	cmp	w8, #6
	csel	w19, w8, w9, lt
	adrp	x20, _F_BunnyScroll.laststage@PAGE
	ldr	w8, [x20, _F_BunnyScroll.laststage@PAGEOFF]
	cmp	w19, w8
	b.le	LBB0_12
; %bb.11:
Lloh20:
	adrp	x8, _sfx_pistol@GOTPAGE
Lloh21:
	ldr	x8, [x8, _sfx_pistol@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, #0
	bl	_S_StartSound
	str	w19, [x20, _F_BunnyScroll.laststage@PAGEOFF]
LBB0_12:
Lloh23:
	adrp	x1, l_.str.3@PAGE
Lloh24:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x0, sp, #14
	mov	x2, x19
	bl	_sprintf
	ldr	w8, [x23]
	sub	w9, w8, #104
	sub	w8, w8, #103
	cmp	w9, #0
	csel	w8, w8, w9, lt
	asr	w19, w8, #1
	ldr	w8, [x22]
	sub	w9, w8, #64
	sub	w8, w8, #63
	cmp	w9, #0
	csel	w8, w8, w9, lt
	asr	w20, w8, #1
Lloh25:
	adrp	x8, _PU_CACHE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _PU_CACHE@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	add	x0, sp, #14
	bl	_W_CacheLumpName
	mov	x3, x0
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_V_DrawPatch
LBB0_13:
	ldr	x8, [sp, #24]
Lloh28:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh29:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_F_BunnyScroll.laststage,4,2 ; @F_BunnyScroll.laststage
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PFUB2"

	.comm	_PU_LEVEL,4,2                   ; @PU_LEVEL
l_.str.1:                               ; @.str.1
	.asciz	"PFUB1"

	.comm	_SCREENWIDTH,4,2                ; @SCREENWIDTH
	.comm	_SCREENHEIGHT,4,2               ; @SCREENHEIGHT
	.comm	_finalecount,4,2                ; @finalecount
l_.str.2:                               ; @.str.2
	.asciz	"END0"

	.comm	_PU_CACHE,4,2                   ; @PU_CACHE
	.comm	_sfx_pistol,4,2                 ; @sfx_pistol
l_.str.3:                               ; @.str.3
	.asciz	"END%i"

.subsections_via_symbols
