	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lag_decode_line
_lag_decode_line:                       ## @lag_decode_line
	.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
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	cmpl	$1, %r9d
	movl	$0, %r14d
	sbbl	%r14d, %r14d
	movl	%ecx, %ebx
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	orl	%r9d, %r14d
	movq	8(%rdi), %rdi
	xorl	%r15d, %r15d
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	testq	%rdi, %rdi
	je	LBB0_3
LBB0_2:
	movl	%ebx, %esi
	subl	%r15d, %esi
	callq	_FFMIN
	movl	%eax, %r13d
	movslq	%r15d, %r15
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r15,8), %rdi
	xorl	%esi, %esi
	movl	%r13d, %edx
	callq	_memset
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	addl	%r13d, %r15d
	movslq	%r13d, %rax
	subq	%rax, 8(%r12)
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	%r15, %rcx
	movslq	%ecx, %r15
	cmpl	%ebx, %r15d
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	cmovgl	%ecx, %ebx
	movslq	%ebx, %rax
	movq	%rdx, %r13
	leaq	(%rdx,%r15,8), %r13
	subq	%rax, %r15
	xorl	%ebx, %ebx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=2
	movl	%ecx, (%r12)
	decq	%rbx
	addq	$8, %r13
	cmpl	%r14d, %ecx
	je	LBB0_8
LBB0_4:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%rbx, %r15
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_lag_get_rac
	movq	%rax, (%r13)
	xorl	%ecx, %ecx
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=2
	movl	(%r12), %ecx
	incl	%ecx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	subl	%ebx, %r15d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_lag_get_rac
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	subl	%ebx, %ecx
	incl	%ecx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	$0, (%r12)
	movl	%eax, %edi
	callq	_lag_calc_zero_run
	movq	%rax, %rdi
	movq	%rax, 8(%r12)
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	testq	%rdi, %rdi
	jne	LBB0_2
	jmp	LBB0_3
LBB0_9:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	subl	%ebx, %eax
                                        ## kill: def $eax killed $eax killed $rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_lag_decode_line
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lag_decode_line
_lag_decode_line:                       ; @lag_decode_line
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x23, x0
	mov	w22, #0
	mov	w25, #0
	cmp	w5, #0
	csinv	w26, w5, wzr, ne
	ldr	x0, [x0, #8]
	cbz	x0, LBB0_2
LBB0_1:
	sub	w1, w19, w25
	bl	_FFMIN
	mov	x24, x0
	add	x0, x20, w25, sxtw #3
	mov	w1, #0
	mov	x2, x24
	bl	_memset
	add	w25, w24, w25
	ldr	x8, [x23, #8]
	sub	x8, x8, w24, sxtw
	str	x8, [x23, #8]
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	sxtw	x8, w25
	cmp	w25, w19
	csel	w9, w25, w19, gt
	sxtw	x9, w9
	sub	x24, x9, x8
	add	x27, x20, w25, sxtw #3
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=2
	ldr	w8, [x23]
	add	w8, w8, #1
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=2
	sub	x24, x24, #1
	str	w8, [x23]
	add	x27, x27, #8
	add	w25, w25, #1
	add	w22, w22, #1
	cmp	w8, w26
	b.eq	LBB0_8
LBB0_5:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cbz	x24, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	mov	x0, x21
	bl	_lag_get_rac
	str	x0, [x27]
	cbz	x0, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=2
	mov	w8, #0
	b	LBB0_4
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x21
	bl	_lag_get_rac
	add	w22, w22, #1
	str	wzr, [x23]
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_lag_calc_zero_run
	str	x0, [x23, #8]
	cbnz	x0, LBB0_1
	b	LBB0_2
LBB0_9:
	mov	x0, x22
	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	_lag_decode_line
.subsections_via_symbols
