	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function draw_line
_draw_line:                             ## @draw_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -64(%rbp)                 ## 4-byte Spill
	movl	%r8d, %r12d
	movl	%edx, %r13d
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	movl	%ecx, %edi
	subl	%esi, %edi
	callq	_FFABS
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%r15d, %r15d
	movl	%r12d, -48(%rbp)                ## 4-byte Spill
	subl	%r13d, %r12d
	setg	%r15b
	movl	%r12d, %edi
	callq	_FFABS
	movl	%eax, %r12d
	leal	(%r15,%r15), %eax
	decl	%eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	%r12d, %eax
	negl	%eax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	cmpl	%r12d, %ecx
	cmovgl	%ecx, %eax
	movl	%eax, %r15d
	shrl	$31, %r15d
	addl	%eax, %r15d
	sarl	%r15d
	movl	%ecx, %eax
	negl	%eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	cmpl	-52(%rbp), %r15d                ## 4-byte Folded Reload
	movl	$0, %ecx
	cmovgl	%r12d, %ecx
	setg	%al
	movl	%r15d, %edx
	subl	%ecx, %edx
	subl	%eax, %ebx
	cmpl	%r12d, %r15d
	movl	$0, %eax
	cmovll	-56(%rbp), %eax                 ## 4-byte Folded Reload
	movl	$0, %r15d
	cmovll	-44(%rbp), %r15d                ## 4-byte Folded Reload
	addl	%eax, %r13d
	addl	%edx, %r15d
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movq	8(%r14), %rcx
	movslq	(%rax), %rax
	movslq	%r13d, %rdx
	imulq	%rax, %rdx
	leal	(,%rbx,4), %eax
	movslq	%eax, %rdi
	addq	(%rcx), %rdi
	addq	%rdx, %rdi
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	callq	_AV_WL32
	cmpl	-60(%rbp), %ebx                 ## 4-byte Folded Reload
	jne	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	-48(%rbp), %r13d                ## 4-byte Folded Reload
	jne	LBB0_3
## %bb.4:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_draw_line
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function draw_line
_draw_line:                             ; @draw_line
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
	sub	w0, w3, w1
	bl	_FFABS
	mov	x25, x0
	str	w20, [sp, #12]                  ; 4-byte Folded Spill
	subs	w0, w20, w22
	mov	w8, #1
	cneg	w27, w8, le
	bl	_FFABS
	mov	x26, x0
	cmp	w25, w0
	csneg	w8, w25, w0, gt
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w28, w8, #1
	neg	w20, w25
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	w28, w20
	csel	w8, w26, wzr, gt
	cset	w9, gt
	sub	w23, w23, w9
	cmp	w28, w26
	csel	w9, w27, wzr, lt
	add	w22, w9, w22
	csel	w9, w25, wzr, lt
	sub	w8, w28, w8
	add	w28, w8, w9
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x9, x8, [x24]
	ldr	x8, [x8]
	ldrsw	x9, [x9]
	sxtw	x10, w22
	lsl	w11, w23, #2
	add	x8, x8, w11, sxtw
	madd	x0, x9, x10, x8
	mov	x1, x19
	bl	_AV_WL32
	cmp	w23, w21
	b.ne	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cmp	w22, w8
	b.ne	LBB0_1
; %bb.4:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_draw_line
.subsections_via_symbols
