	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function free_lines
_free_lines:                            ## @free_lines
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	16(%rdi), %rax
	movl	(%rax), %r14d
	testl	%r14d, %r14d
	jle	LBB0_5
## %bb.1:
	shlq	$3, %r14
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r15), %rax
	addq	$8, %rbx
	cmpq	%rbx, %r14
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rax), %rdi
	addq	%rbx, %rdi
	callq	_av_freep
	cmpq	$0, 8(%r15)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r15), %rax
	movq	8(%rax), %rax
	addq	%r14, %rax
	movq	$0, (%rbx,%rax)
	jmp	LBB0_4
LBB0_5:
	movl	16(%rax), %r14d
	testl	%r14d, %r14d
	jle	LBB0_6
## %bb.7:
	shlq	$3, %r14
	xorl	%ebx, %ebx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	16(%r15), %rax
	addq	$8, %rbx
	cmpq	%rbx, %r14
	je	LBB0_11
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%rax), %rdi
	addq	%rbx, %rdi
	callq	_av_freep
	movq	8(%r15), %rcx
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	16(%r15), %rax
	movq	24(%rax), %rax
	addq	%r14, %rax
	movq	$0, (%rbx,%rax)
	jmp	LBB0_10
LBB0_6:
	movq	8(%r15), %rcx
LBB0_11:
	movq	8(%rax), %rdi
	xorl	%edx, %edx
	testq	%rcx, %rcx
	setne	%dl
	addl	%edx, %edx
	incl	%edx
	imull	(%rax), %edx
	shll	$3, %edx
	xorl	%esi, %esi
	callq	_memset
	movq	16(%r15), %rax
	movq	24(%rax), %rdi
	xorl	%ecx, %ecx
	cmpq	$0, 8(%r15)
	setne	%cl
	leal	(%rcx,%rcx), %edx
	incl	%edx
	imull	16(%rax), %edx
	shll	$3, %edx
	xorl	%esi, %esi
	callq	_memset
	movq	16(%r15), %rax
	movq	40(%rax), %rdi
	xorl	%ecx, %ecx
	cmpq	$0, 8(%r15)
	setne	%cl
	leal	(%rcx,%rcx), %edx
	incl	%edx
	imull	32(%rax), %edx
	shll	$3, %edx
	xorl	%esi, %esi
	callq	_memset
	movq	16(%r15), %rax
	movq	56(%rax), %rdi
	xorl	%ecx, %ecx
	cmpq	$0, 8(%r15)
	setne	%cl
	leal	(%rcx,%rcx), %edx
	incl	%edx
	imull	48(%rax), %edx
	shll	$3, %edx
	xorl	%esi, %esi
	callq	_memset
	movq	$0, (%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_free_lines
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function free_lines
_free_lines:                            ; @free_lines
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	x8, [x0, #16]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x20, #0
	lsl	x21, x9, #3
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #16]
	add	x20, x20, #8
	cmp	x21, x20
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8, #8]
	add	x0, x8, x20
	bl	_av_freep
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #16]
	ldr	x8, [x8, #8]
	add	x8, x8, x21
	str	xzr, [x8, x20]
	b	LBB0_2
LBB0_5:
	ldr	w9, [x8, #16]
	cmp	w9, #0
	b.le	LBB0_10
; %bb.6:
	mov	x20, #0
	lsl	x21, x9, #3
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x19, #16]
	add	x20, x20, #8
	cmp	x21, x20
	b.eq	LBB0_11
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8, #24]
	add	x0, x8, x20
	bl	_av_freep
	ldr	x9, [x19, #8]
	cbz	x9, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x19, #16]
	ldr	x8, [x8, #24]
	add	x8, x8, x21
	str	xzr, [x8, x20]
	b	LBB0_7
LBB0_10:
	ldr	x9, [x19, #8]
LBB0_11:
	ldr	x0, [x8, #8]
	ldr	w8, [x8]
	cmp	x9, #0
	mov	w20, #3
	csinc	w9, w20, wzr, ne
	mul	w8, w8, w9
	lsl	w2, w8, #3
	mov	w1, #0
	bl	_memset
	ldp	x9, x8, [x19, #8]
	ldr	x0, [x8, #24]
	ldr	w8, [x8, #16]
	cmp	x9, #0
	csinc	w9, w20, wzr, ne
	mul	w8, w8, w9
	lsl	w2, w8, #3
	mov	w1, #0
	bl	_memset
	ldp	x9, x8, [x19, #8]
	ldr	x0, [x8, #40]
	ldr	w8, [x8, #32]
	cmp	x9, #0
	csinc	w9, w20, wzr, ne
	mul	w8, w8, w9
	lsl	w2, w8, #3
	mov	w1, #0
	bl	_memset
	ldp	x9, x8, [x19, #8]
	ldr	x0, [x8, #56]
	ldr	w8, [x8, #48]
	cmp	x9, #0
	csinc	w9, w20, wzr, ne
	mul	w8, w8, w9
	lsl	w2, w8, #3
	mov	w1, #0
	bl	_memset
	str	xzr, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_free_lines
.subsections_via_symbols
