	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function repaper_frame_data
_repaper_frame_data:                    ## @repaper_frame_data
	.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
	movl	%ecx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %r13
	movl	(%rdi), %eax
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.1:
	testl	%eax, %eax
	je	LBB0_7
## %bb.2:
	movq	%rdx, %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%r13), %eax
	imull	%ebx, %eax
	shrl	$3, %eax
	leaq	(%r15,%rax,4), %rdx
	leaq	(%r12,%rax,4), %r8
	movq	%r13, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	movl	%r14d, %r9d
	callq	_repaper_one_line
	incl	%ebx
	cmpl	(%r13), %ebx
	jb	LBB0_3
	jmp	LBB0_7
LBB0_4:
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%r13), %eax
	leal	7(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$3, %ecx
	imull	%ebx, %ecx
	leaq	(%r15,%rcx,4), %rdx
	movq	%r13, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movl	%r14d, %r9d
	callq	_repaper_one_line
	incl	%ebx
	cmpl	(%r13), %ebx
	jb	LBB0_6
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_repaper_frame_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function repaper_frame_data
_repaper_frame_data:                    ; @repaper_frame_data
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x3
	mov	x20, x1
	mov	x21, x0
	ldr	w8, [x0]
	cbz	x2, LBB0_4
; %bb.1:
	cbz	w8, LBB0_7
; %bb.2:
	mov	x22, x2
	mov	w23, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21, #4]
	mul	w8, w8, w23
	lsr	w8, w8, #3
	lsl	x8, x8, #2
	add	x2, x20, x8
	add	x4, x22, x8
	mov	x0, x21
	mov	x1, x23
	mov	w3, #0
	mov	x5, x19
	bl	_repaper_one_line
	add	w23, w23, #1
	ldr	w8, [x21]
	cmp	w23, w8
	b.lo	LBB0_3
	b	LBB0_7
LBB0_4:
	cbz	w8, LBB0_7
; %bb.5:
	mov	w22, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21, #4]
	add	w9, w8, #7
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #3
	mul	w8, w8, w22
	add	x2, x20, w8, uxtw #2
	mov	x0, x21
	mov	x1, x22
	mov	w3, #0
	mov	x4, #0
	mov	x5, x19
	bl	_repaper_one_line
	add	w22, w22, #1
	ldr	w8, [x21]
	cmp	w22, w8
	b.lo	LBB0_6
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_repaper_frame_data
.subsections_via_symbols
