	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function draw_max_line
_draw_max_line:                         ## @draw_max_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rdi, %r15
	cmpq	$0, 24(%rdi)
	je	LBB0_1
## %bb.4:
	movl	4(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_7
## %bb.5:
	movq	16(%r15), %rcx
	movq	(%rcx), %rdx
	movq	8(%rcx), %rcx
	movslq	(%rdx), %rdx
	movslq	%esi, %rsi
	imulq	%rdx, %rsi
	shlq	$2, %rsi
	addq	(%rcx), %rsi
	addl	(%r15), %eax
	imull	%eax, %r14d
	shll	$2, %r14d
	movslq	%r14d, %rax
	leaq	(%rsi,%rax,4), %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%r15), %esi
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_memcpy
	incq	%rbx
	movslq	4(%r15), %rax
	addq	$16, %r14
	cmpq	%rax, %rbx
	jl	LBB0_6
	jmp	LBB0_7
LBB0_1:
	movl	4(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_7
## %bb.2:
	shll	$2, %esi
	movslq	%esi, %r12
	xorl	%ebx, %ebx
	shlq	$2, %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rcx
	movq	(%rcx), %rdx
	movq	8(%rcx), %rcx
	movq	(%rcx), %rcx
	addl	(%r15), %eax
	addq	%r12, %rcx
	imull	%r14d, %eax
	addl	%ebx, %eax
	movslq	(%rdx), %rdx
	cltq
	imulq	%rdx, %rax
	leaq	(%rcx,%rax,4), %rdi
	movl	8(%r15), %esi
	movl	$4, %edx
	callq	_memcpy
	incl	%ebx
	movl	4(%r15), %eax
	cmpl	%eax, %ebx
	jl	LBB0_3
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_draw_max_line
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function draw_max_line
_draw_max_line:                         ; @draw_max_line
	.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	x20, x2
	mov	x19, x0
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.2:
	mov	x21, #0
	ldr	x9, [x19, #16]
	ldp	x9, x10, [x9]
	ldr	x10, [x10]
	ldr	w9, [x9]
	mul	w9, w9, w1
	add	x9, x10, w9, sxtw #2
	ldr	w10, [x19]
	add	w8, w8, w10
	mul	w8, w20, w8
	lsl	w8, w8, #2
	add	x20, x9, w8, sxtw #2
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x19, #8]
	mov	x0, x20
	mov	w2, #4
	bl	_memcpy
	add	x21, x21, #1
	ldrsw	x8, [x19, #4]
	add	x20, x20, #16
	cmp	x21, x8
	b.lt	LBB0_3
	b	LBB0_7
LBB0_4:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.5:
	mov	w21, #0
	lsl	w9, w1, #2
	sxtw	x22, w9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #16]
	ldp	x9, x10, [x9]
	ldr	x10, [x10]
	ldr	w11, [x19]
	add	w8, w11, w8
	madd	w8, w8, w20, w21
	ldr	w9, [x9]
	mul	w8, w8, w9
	add	x9, x10, x22, lsl #2
	add	x0, x9, w8, sxtw #2
	ldr	w1, [x19, #8]
	mov	w2, #4
	bl	_memcpy
	add	w21, w21, #1
	ldr	w8, [x19, #4]
	cmp	w21, w8
	b.lt	LBB0_6
LBB0_7:
	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	_draw_max_line
.subsections_via_symbols
