	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function advance_line
_advance_line:                          ## @advance_line
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rcx), %r10d
	addl	%r9d, %r10d
	movl	%r10d, (%rcx)
	cmpl	%r8d, %r10d
	jge	LBB0_2
## %bb.1:
	imull	%edx, %r9d
	movslq	%r9d, %rax
	leaq	(%rsi,%rax,4), %rax
	popq	%rbp
	retq
LBB0_2:
	incl	%r10d
	decl	%r9d
	xorl	%eax, %eax
	andl	%r10d, %r9d
	movl	%r9d, (%rcx)
	je	LBB0_5
## %bb.3:
	cmpl	%r8d, %r9d
	jge	LBB0_5
## %bb.4:
	imull	%edx, %r9d
	movslq	%r9d, %rax
	leaq	(%rdi,%rax,4), %rax
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_advance_line
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function advance_line
_advance_line:                          ; @advance_line
	.cfi_startproc
; %bb.0:
	ldr	w8, [x3]
	add	w8, w8, w5
	cmp	w8, w4
	str	w8, [x3]
	b.ge	LBB0_2
; %bb.1:
	mul	w8, w5, w2
	add	x0, x1, w8, sxtw #2
	ret
LBB0_2:
	add	w8, w8, #1
	sub	w9, w5, #1
	and	w8, w8, w9
	str	w8, [x3]
	cmp	w8, #0
	ccmp	w8, w4, #0, ne
	b.lt	LBB0_4
; %bb.3:
	mov	x0, #0
	ret
LBB0_4:
	mul	w8, w8, w2
	add	x0, x0, w8, sxtw #2
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_advance_line
.subsections_via_symbols
