	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %rbx
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	movl	%edx, %r13d
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r14
	xorl	%r15d, %r15d
	movl	%ecx, -80(%rbp)                 ## 4-byte Spill
	movl	%ecx, %edi
	subl	%esi, %edi
	setg	%r15b
	callq	_FFABS
	movl	%eax, %r12d
	leal	(%r15,%r15), %eax
	decl	%eax
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	xorl	%r15d, %r15d
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	subl	%r13d, %edi
	setg	%r15b
	callq	_FFABS
	movl	-44(%rbp), %r10d                ## 4-byte Reload
	leal	(%r15,%r15), %ecx
	decl	%ecx
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	movl	%eax, %ecx
	negl	%ecx
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	cmpl	%eax, %r12d
	cmovgl	%r12d, %ecx
	movl	%ecx, %eax
	shrl	$31, %eax
	addl	%ecx, %eax
	sarl	%eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	%r12d, -76(%rbp)                ## 4-byte Spill
	negl	%r12d
	movl	%r12d, -60(%rbp)                ## 4-byte Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	cmpl	-60(%rbp), %edi                 ## 4-byte Folded Reload
	movl	$0, %eax
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	cmovgl	%esi, %eax
	movl	$0, %ecx
	cmovgl	-72(%rbp), %ecx                 ## 4-byte Folded Reload
	movl	%edi, %edx
	subl	%eax, %edx
	addl	%ecx, %r10d
	cmpl	%esi, %edi
	movl	$0, %eax
	cmovll	-64(%rbp), %eax                 ## 4-byte Folded Reload
	movl	$0, %ecx
	cmovll	-76(%rbp), %ecx                 ## 4-byte Folded Reload
	addl	%eax, %r13d
	addl	%edx, %ecx
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	testl	%r10d, %r10d
	js	LBB0_16
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	testl	%r13d, %r13d
	js	LBB0_16
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	(%rbx), %r10d
	jge	LBB0_16
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	4(%rbx), %r13d
	jge	LBB0_16
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_16
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	movl	%r10d, -44(%rbp)                ## 4-byte Spill
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=2
	movq	8(%rbx), %rax
	movslq	(%rax,%r12), %rax
	movq	16(%r14), %rcx
	movzbl	(%rcx,%r12), %ecx
	movl	%r13d, %esi
	sarl	%cl, %esi
	movq	24(%r14), %rcx
	movslq	%esi, %rsi
	imulq	%rax, %rsi
	shlq	$2, %rsi
	movzbl	(%rcx,%r12), %ecx
	movl	%r10d, %eax
	sarl	%cl, %eax
	addq	(%rdx,%r12,2), %rsi
	addl	%eax, %eax
	cltq
	leaq	(%rsi,%rax,4), %rdi
	movq	16(%rbp), %rax
	movq	(%rax), %rax
	movq	(%rax,%r12,4), %rax
	movl	(%rax), %esi
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=2
	callq	_AV_WN16
	movl	-44(%rbp), %r10d                ## 4-byte Reload
LBB0_15:                                ##   in Loop: Header=BB0_7 Depth=2
	incq	%r15
	movslq	(%r14), %rax
	addq	$4, %r12
	cmpq	%rax, %r15
	jge	LBB0_16
LBB0_7:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	32(%r14), %rcx
	movq	(%rcx), %rcx
	cmpl	$8, (%rcx,%r12)
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	movq	16(%rbp), %rcx
	movq	(%rcx), %rcx
	cmpl	$1, %eax
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=2
	movq	8(%rcx), %rcx
	movq	8(%rbx), %rdx
	movq	16(%rbx), %rax
	movq	(%rax), %rax
	movq	8(%r14), %rsi
	movl	(%rcx), %r8d
	movq	%rbx, %r9
	movl	(%rdx), %ebx
	imull	%r13d, %ebx
	movl	(%rsi), %edi
	imull	%r10d, %edi
	addl	%ebx, %edi
	movslq	%edi, %rdi
	movl	%r8d, (%rax,%rdi,4)
	movl	4(%rcx), %r8d
	movl	(%rdx), %ebx
	imull	%r13d, %ebx
	movl	(%rsi), %edi
	imull	%r10d, %edi
	addl	%ebx, %edi
	incl	%edi
	movslq	%edi, %rdi
	movl	%r8d, (%rax,%rdi,4)
	movl	8(%rcx), %r8d
	movl	(%rdx), %ebx
	imull	%r13d, %ebx
	movl	(%rsi), %edi
	imull	%r10d, %edi
	addl	%ebx, %edi
	addl	$2, %edi
	movq	%r9, %rbx
	movslq	%edi, %rdi
	movl	%r8d, (%rax,%rdi,4)
	movl	12(%rcx), %ecx
	movl	(%rdx), %edx
	imull	%r13d, %edx
	movl	(%rsi), %esi
	imull	%r10d, %esi
	addl	%esi, %edx
	addl	$3, %edx
	movslq	%edx, %rdx
	movl	%ecx, (%rax,%rdx,4)
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=2
	movq	16(%rbx), %rdx
	cmpl	$1, %eax
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=2
	movq	8(%rbx), %rax
	movslq	(%rax), %rax
	movslq	-52(%rbp), %r13                 ## 4-byte Folded Reload
	imulq	%r13, %rax
	shlq	$2, %rax
	addq	(%rdx), %rax
	movq	8(%r14), %rcx
	movslq	(%rcx), %rcx
	movslq	%r10d, %rdx
	imulq	%rcx, %rdx
	leaq	(%rax,%rdx,8), %rdi
	movq	16(%rbp), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	callq	_AV_WN16
	movq	8(%rbx), %rax
	movq	16(%rbx), %rcx
	movslq	(%rax), %rax
	imulq	%r13, %rax
	shlq	$2, %rax
	addq	(%rcx), %rax
	movq	8(%r14), %rcx
	movl	(%rcx), %ecx
	imull	-44(%rbp), %ecx                 ## 4-byte Folded Reload
	addl	%ecx, %ecx
	addl	$2, %ecx
	movslq	%ecx, %rcx
	leaq	(%rax,%rcx,4), %rdi
	movq	16(%rbp), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movl	4(%rax), %esi
	callq	_AV_WN16
	movq	8(%rbx), %rax
	movq	16(%rbx), %rcx
	movslq	(%rax), %rax
	imulq	%r13, %rax
	shlq	$2, %rax
	addq	(%rcx), %rax
	movq	8(%r14), %rcx
	movl	(%rcx), %ecx
	imull	-44(%rbp), %ecx                 ## 4-byte Folded Reload
	addl	%ecx, %ecx
	addl	$4, %ecx
	movslq	%ecx, %rcx
	leaq	(%rax,%rcx,4), %rdi
	movq	16(%rbp), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movl	8(%rax), %esi
	callq	_AV_WN16
	movq	8(%rbx), %rax
	movq	16(%rbx), %rcx
	movslq	(%rax), %rax
	imulq	%r13, %rax
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	shlq	$2, %rax
	addq	(%rcx), %rax
	movq	8(%r14), %rcx
	movl	(%rcx), %ecx
	imull	-44(%rbp), %ecx                 ## 4-byte Folded Reload
	addl	%ecx, %ecx
	addl	$6, %ecx
	movslq	%ecx, %rcx
	leaq	(%rax,%rcx,4), %rdi
	movq	16(%rbp), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movl	12(%rax), %esi
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=2
	movq	8(%rcx,%r12,4), %rax
	movl	(%rax), %eax
	movq	8(%rbx), %rdx
	movq	16(%r14), %rcx
	movzbl	(%rcx,%r12), %ecx
	movl	%r13d, %esi
	sarl	%cl, %esi
	movq	16(%rbx), %rdi
	movq	24(%r14), %rcx
	imull	(%rdx,%r12), %esi
	movzbl	(%rcx,%r12), %ecx
	movl	%r10d, %edx
	sarl	%cl, %edx
	movq	(%rdi,%r12,2), %rcx
	addl	%esi, %edx
	movslq	%edx, %rdx
	movl	%eax, (%rcx,%rdx,4)
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpl	-80(%rbp), %r10d                ## 4-byte Folded Reload
	jne	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpl	-48(%rbp), %r13d                ## 4-byte Folded Reload
	jne	LBB0_18
## %bb.19:
	addq	$40, %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, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x6
	mov	x20, x5
	mov	x22, x4
	mov	x23, x2
	mov	x24, x1
	mov	x25, x0
	subs	w0, w3, w1
	mov	w21, #1
	cneg	w8, w21, le
	stp	w8, w3, [sp, #24]               ; 8-byte Folded Spill
	bl	_FFABS
	mov	x26, x0
	str	w22, [sp, #12]                  ; 4-byte Folded Spill
	subs	w0, w22, w23
	cneg	w8, w21, le
	str	w8, [sp, #20]                   ; 4-byte Folded Spill
	bl	_FFABS
	mov	x27, x0
	cmp	w26, w0
	csneg	w8, w26, w0, gt
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w28, w8, #1
	neg	w8, w26
	str	w8, [sp, #16]                   ; 4-byte Folded Spill
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [sp, #16]                   ; 4-byte Folded Reload
	cmp	w28, w8
	csel	w8, w27, wzr, gt
	ldr	w9, [sp, #24]                   ; 4-byte Folded Reload
	csel	w9, w9, wzr, gt
	add	w24, w9, w24
	cmp	w28, w27
	ldr	w9, [sp, #20]                   ; 4-byte Folded Reload
	csel	w9, w9, wzr, lt
	add	w23, w9, w23
	csel	w9, w26, wzr, lt
	sub	w8, w28, w8
	add	w28, w8, w9
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	tbnz	w24, #31, LBB0_17
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	tbnz	w23, #31, LBB0_17
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x20]
	cmp	w24, w8
	b.ge	LBB0_17
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x20, #4]
	cmp	w23, w8
	b.ge	LBB0_17
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x22, #0
	mov	x21, #0
	b	LBB0_11
LBB0_8:                                 ;   in Loop: Header=BB0_11 Depth=2
	ldr	x8, [x20, #8]
	lsl	x10, x21, #2
	ldr	w8, [x8, x10]
	ldp	x11, x12, [x25, #16]
	ldr	w11, [x11, x10]
	asr	w11, w23, w11
	mul	w8, w11, w8
	ldr	x9, [x9, x21, lsl #3]
	add	x8, x9, w8, sxtw #2
	ldr	w9, [x12, x10]
	asr	w9, w24, w9
	lsl	w9, w9, #1
	add	x0, x8, w9, sxtw #2
	ldr	x8, [x19]
	ldr	x8, [x8, x22]
	ldr	w1, [x8]
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=2
	bl	_AV_WN16
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=2
	add	x21, x21, #1
	ldrsw	x8, [x25]
	add	x22, x22, #16
	cmp	x21, x8
	b.ge	LBB0_17
LBB0_11:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x25, #32]
	ldr	x9, [x9]
	ldr	w9, [x9, x21, lsl #2]
	cmp	w9, #8
	b.ne	LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	x9, [x19]
	cmp	w8, #1
	b.ne	LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	x8, [x9, #8]
	ldp	x10, x9, [x20, #8]
	ldr	x9, [x9]
	ldr	x11, [x25, #8]
	ldr	w12, [x8]
	ldr	w13, [x10]
	ldr	w14, [x11]
	mul	w14, w14, w24
	madd	w13, w13, w23, w14
	str	w12, [x9, w13, sxtw #2]
	ldr	w12, [x8, #4]
	ldr	w13, [x10]
	ldr	w14, [x11]
	mul	w14, w14, w24
	madd	w13, w13, w23, w14
	add	w13, w13, #1
	str	w12, [x9, w13, sxtw #2]
	ldr	w12, [x8, #8]
	ldr	w13, [x10]
	ldr	w14, [x11]
	mul	w14, w14, w24
	madd	w13, w13, w23, w14
	add	w13, w13, #2
	str	w12, [x9, w13, sxtw #2]
	ldr	w8, [x8, #12]
	ldr	w10, [x10]
	ldr	w11, [x11]
	mul	w11, w11, w24
	madd	w10, w10, w23, w11
	add	w10, w10, #3
	str	w8, [x9, w10, sxtw #2]
	b	LBB0_10
LBB0_14:                                ;   in Loop: Header=BB0_11 Depth=2
	ldr	x9, [x20, #16]
	cmp	w8, #1
	b.ne	LBB0_8
; %bb.15:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	x8, [x9]
	ldr	x9, [x20, #8]
	ldr	w9, [x9]
	mul	w9, w9, w23
	add	x8, x8, w9, sxtw #2
	ldr	x9, [x25, #8]
	ldr	w9, [x9]
	mul	w9, w9, w24
	lsl	w9, w9, #1
	add	x0, x8, w9, sxtw #2
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	w1, [x8]
	bl	_AV_WN16
	ldp	x9, x8, [x20, #8]
	ldr	x8, [x8]
	ldr	w9, [x9]
	mul	w9, w9, w23
	add	x8, x8, w9, sxtw #2
	ldr	x9, [x25, #8]
	ldr	w9, [x9]
	mul	w9, w9, w24
	lsl	w9, w9, #1
	add	w9, w9, #2
	add	x0, x8, w9, sxtw #2
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	w1, [x8, #4]
	bl	_AV_WN16
	ldp	x9, x8, [x20, #8]
	ldr	x8, [x8]
	ldr	w9, [x9]
	mul	w9, w9, w23
	add	x8, x8, w9, sxtw #2
	ldr	x9, [x25, #8]
	ldr	w9, [x9]
	mul	w9, w9, w24
	lsl	w9, w9, #1
	add	w9, w9, #4
	add	x0, x8, w9, sxtw #2
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	w1, [x8, #8]
	bl	_AV_WN16
	ldp	x9, x8, [x20, #8]
	ldr	x8, [x8]
	ldr	w9, [x9]
	mul	w9, w9, w23
	add	x8, x8, w9, sxtw #2
	ldr	x9, [x25, #8]
	ldr	w9, [x9]
	mul	w9, w9, w24
	lsl	w9, w9, #1
	add	w9, w9, #6
	add	x0, x8, w9, sxtw #2
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	w1, [x8, #12]
	b	LBB0_9
LBB0_16:                                ;   in Loop: Header=BB0_11 Depth=2
	add	x8, x9, x22
	ldr	x8, [x8, #8]
	ldp	x10, x9, [x20, #8]
	ldr	x9, [x9, x21, lsl #3]
	lsl	x11, x21, #2
	ldr	w10, [x10, x11]
	ldr	w8, [x8]
	ldp	x12, x13, [x25, #16]
	ldr	w12, [x12, x11]
	asr	w12, w23, w12
	ldr	w11, [x13, x11]
	asr	w11, w24, w11
	madd	w10, w12, w10, w11
	str	w8, [x9, w10, sxtw #2]
	b	LBB0_10
LBB0_17:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	cmp	w24, w8
	b.ne	LBB0_1
; %bb.18:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cmp	w23, w8
	b.ne	LBB0_1
; %bb.19:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_draw_line
.subsections_via_symbols
