	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_line0
_process_line0:                         ## @process_line0
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r8d killed $r8d def $r8
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	testl	%esi, %esi
	jle	LBB0_1
## %bb.2:
	movl	%r9d, %r13d
	movq	%rcx, %r12
	movq	%rdi, %rbx
	decl	%r13d
	leal	(%r8,%r8), %eax
	shll	$2, %r8d
	leal	(%rax,%rax,2), %edi
	cltq
	movslq	%r8d, %rdx
	movslq	%edi, %rdi
	movl	%esi, %r14d
	leaq	(%rcx,%rdi,4), %rsi
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	leaq	(%rcx,%rdx,4), %rdx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	leaq	(%rcx,%rax,4), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	-44(%rbp)                       ## 4-byte Folded Spill
	movl	$255, %eax
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, (%rdx,%r15,4)
	incq	%r15
	cmpq	%r15, %r14
	je	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%rbx,%r15,4)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r15,4), %eax
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	addl	(%rdx,%r15,4), %eax
	leal	(%rax,%rax,8), %esi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movl	(%rdx,%r15,4), %edx
	addl	(%r12,%r15,4), %edx
	leal	(%rax,%rsi,2), %eax
	leal	(%rdx,%rdx,2), %edx
	subl	%edx, %eax
	leal	31(%rax), %edi
	testl	%eax, %eax
	cmovnsl	%eax, %edi
	sarl	$5, %edi
	movl	%r13d, %esi
	callq	_FFMIN
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_FFMAX
	jmp	LBB0_6
LBB0_1:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_7:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_process_line0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_line0
_process_line0:                         ; @process_line0
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cmp	w1, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x19, x3
	mov	x20, x2
	mov	x22, x0
	mov	w21, #0
	lsl	w8, w4, #1
	lsl	w9, w4, #2
	add	w10, w8, w4
	lsl	w10, w10, #1
	sub	w23, w5, #1
	sxtw	x24, w8
	sxtw	x25, w9
	sxtw	x26, w10
	mov	w27, w1
	mov	w28, #19
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w21, w21, #1
	mov	w0, #255
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	w0, [x20], #4
	add	x19, x19, #4
	add	x22, x22, #4
	subs	x27, x27, #1
	b.eq	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	cbz	w8, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19, x24, lsl #2]
	ldr	w9, [x19, x25, lsl #2]
	add	w8, w9, w8
	ldr	w9, [x19]
	ldr	w10, [x19, x26, lsl #2]
	add	w9, w10, w9
	sub	w9, w9, w9, lsl #2
	madd	w8, w8, w28, w9
	add	w9, w8, #31
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w0, w8, #5
	mov	x1, x23
	bl	_FFMIN
	mov	w1, #0
	bl	_FFMAX
	b	LBB0_3
LBB0_6:
	mov	w21, #0
LBB0_7:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_process_line0
.subsections_via_symbols
