	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function DrawLine
_DrawLine:                              ## @DrawLine
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movsd	%xmm4, -128(%rbp)               ## 8-byte Spill
	movaps	%xmm2, -112(%rbp)               ## 16-byte Spill
	movsd	%xmm1, -120(%rbp)               ## 8-byte Spill
	movsd	%xmm0, -88(%rbp)                ## 8-byte Spill
	movl	%ecx, %eax
                                        ## kill: def $edx killed $edx def $rdx
	movl	%esi, %r12d
	movl	%edi, %r13d
	movl	%ecx, %esi
	subl	%r12d, %esi
	negl	%esi
	xorl	%ecx, %ecx
	subl	%r12d, %eax
	setg	%cl
	cmovlel	%esi, %eax
	movl	%edx, %esi
	subl	%edi, %esi
	negl	%esi
	xorl	%edi, %edi
	subl	%r13d, %edx
	cmovlel	%esi, %edx
	setg	%dil
	leal	-1(%rdi,%rdi), %esi
	movl	%esi, -64(%rbp)                 ## 4-byte Spill
	addl	%ecx, %ecx
	decl	%ecx
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	cmpl	%eax, %edx
	jle	LBB0_13
## %bb.1:
	testl	%edx, %edx
	js	LBB0_2
## %bb.3:
	addl	%eax, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	%eax, %r14d
	subl	%edx, %r14d
	movl	%r14d, %eax
	subl	%edx, %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movaps	-112(%rbp), %xmm0               ## 16-byte Reload
	movlhps	%xmm3, %xmm0                    ## xmm0 = xmm0[0],xmm3[0]
	movaps	%xmm0, -112(%rbp)               ## 16-byte Spill
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	leal	1(%rdx), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movl	$123456789, -44(%rbp)           ## 4-byte Folded Spill
                                        ## imm = 0x75BCD15
	xorl	%r15d, %r15d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movsd	-88(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movl	%ebx, %edi
	callq	_getpixel
	movl	%r13d, %edi
	movl	%r12d, %esi
	callq	_putpixel
	addl	-60(%rbp), %r12d                ## 4-byte Folded Reload
	movl	-52(%rbp), %eax                 ## 4-byte Reload
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	addl	%eax, %r14d
	incl	%r15d
	cmpl	%r15d, -56(%rbp)                ## 4-byte Folded Reload
	je	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	_leftColumnColor@GOTPCREL(%rip), %rax
	movupd	(%rax), %xmm0
	addpd	-112(%rbp), %xmm0               ## 16-byte Folded Reload
	movupd	%xmm0, (%rax)
	movsd	16(%rax), %xmm0                 ## xmm0 = mem[0],zero
	addsd	-128(%rbp), %xmm0               ## 8-byte Folded Reload
	xorps	%xmm1, %xmm1
	cvtsi2sd	%r15d, %xmm1
	movsd	%xmm0, 16(%rax)
	mulsd	-120(%rbp), %xmm1               ## 8-byte Folded Reload
	cvttsd2si	%xmm1, %ebx
	movsd	-88(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movl	%ebx, %edi
	callq	_getpixel
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_currentPixel@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	incl	%ecx
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	cmpl	$2, %ecx
	jne	LBB0_9
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	%r13d, %edi
	movl	%r12d, %esi
	callq	_putpixel
	movq	_currentPixel@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	addl	-64(%rbp), %r13d                ## 4-byte Folded Reload
	testl	%r14d, %r14d
	jns	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax
	jmp	LBB0_12
LBB0_13:
	testl	%eax, %eax
	js	LBB0_24
## %bb.14:
	addl	%edx, %edx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movl	%edx, %ebx
	subl	%eax, %ebx
	movl	%ebx, %ecx
	subl	%eax, %ecx
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movaps	-112(%rbp), %xmm0               ## 16-byte Reload
	movlhps	%xmm3, %xmm0                    ## xmm0 = xmm0[0],xmm3[0]
	movaps	%xmm0, -112(%rbp)               ## 16-byte Spill
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	incl	%eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movl	$123456789, -44(%rbp)           ## 4-byte Folded Spill
                                        ## imm = 0x75BCD15
	xorl	%r15d, %r15d
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_15 Depth=1
	movsd	-88(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movl	%r14d, %edi
	callq	_getpixel
	movl	%r13d, %edi
	movl	%r12d, %esi
	callq	_putpixel
	addl	-64(%rbp), %r13d                ## 4-byte Folded Reload
	movl	-52(%rbp), %eax                 ## 4-byte Reload
LBB0_22:                                ##   in Loop: Header=BB0_15 Depth=1
	addl	%eax, %ebx
	incl	%r15d
	cmpl	%r15d, -56(%rbp)                ## 4-byte Folded Reload
	je	LBB0_23
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	_leftColumnColor@GOTPCREL(%rip), %rax
	movupd	(%rax), %xmm0
	addpd	-112(%rbp), %xmm0               ## 16-byte Folded Reload
	movupd	%xmm0, (%rax)
	movsd	16(%rax), %xmm0                 ## xmm0 = mem[0],zero
	addsd	-128(%rbp), %xmm0               ## 8-byte Folded Reload
	xorps	%xmm1, %xmm1
	cvtsi2sd	%r15d, %xmm1
	movsd	%xmm0, 16(%rax)
	mulsd	-120(%rbp), %xmm1               ## 8-byte Folded Reload
	cvttsd2si	%xmm1, %r14d
	movsd	-88(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movl	%r14d, %edi
	callq	_getpixel
	testq	%rax, %rax
	je	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	_currentPixel@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	je	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	incl	%ecx
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	cmpl	$2, %ecx
	jne	LBB0_19
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_15 Depth=1
	movl	%r13d, %edi
	movl	%r12d, %esi
	callq	_putpixel
	movq	_currentPixel@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
LBB0_19:                                ##   in Loop: Header=BB0_15 Depth=1
	addl	-60(%rbp), %r12d                ## 4-byte Folded Reload
	testl	%ebx, %ebx
	jns	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax
	jmp	LBB0_22
LBB0_7:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax def $rax
	jmp	LBB0_24
LBB0_23:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_24
LBB0_2:
	movl	%edx, %eax
LBB0_24:
	incl	%eax
                                        ## kill: def $eax killed $eax killed $rax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_leftColumnColor,24,3           ## @leftColumnColor
	.comm	_currentPixel,4,2               ## @currentPixel
	.no_dead_strip	_DrawLine
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function DrawLine
_DrawLine:                              ; @DrawLine
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	d11, d10, [sp, #32]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #48]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	.cfi_offset b10, -120
	.cfi_offset b11, -128
	fmov	d8, d4
                                        ; kill: def $d3 killed $d3 def $q3
	str	q2, [sp, #16]                   ; 16-byte Folded Spill
	fmov	d9, d1
	fmov	d10, d0
	mov	x19, x1
	mov	x20, x0
	sub	w8, w0, w2
	subs	w9, w2, w0
	csel	w11, w9, w8, gt
	mov	w8, #1
	cneg	w9, w8, le
	str	w9, [sp, #12]                   ; 4-byte Folded Spill
	sub	w9, w1, w3
	subs	w10, w3, w1
	csel	w9, w10, w9, gt
	cneg	w23, w8, le
	cmp	w11, w9
	b.le	LBB0_12
; %bb.1:
	tbnz	w11, #31, LBB0_24
; %bb.2:
	mov	w26, #0
	mov	w27, #0
	lsl	w8, w9, #1
	stp	w11, w8, [sp]                   ; 8-byte Folded Spill
	sub	w28, w8, w11
	sub	w8, w28, w11
	str	w8, [sp, #8]                    ; 4-byte Folded Spill
	ldr	q0, [sp, #16]                   ; 16-byte Folded Reload
	mov.d	v0[1], v3[0]
	str	q0, [sp, #16]                   ; 16-byte Folded Spill
	mov	w22, #52501
	movk	w22, #1883, lsl #16
	add	w25, w11, #1
Lloh0:
	adrp	x24, _leftColumnColor@GOTPAGE
Lloh1:
	ldr	x24, [x24, _leftColumnColor@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	fmov	d0, d10
	mov	x0, x21
	bl	_getpixel
	mov	x0, x20
	mov	x1, x19
	bl	_putpixel
	add	w19, w19, w23
	ldr	w8, [sp, #8]                    ; 4-byte Folded Reload
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w28, w8, w28
	add	w27, w27, #1
	cmp	w25, w27
	b.eq	LBB0_23
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	q0, [x24]
	ldr	q1, [sp, #16]                   ; 16-byte Folded Reload
	fadd.2d	v0, v0, v1
	str	q0, [x24]
	ldr	d0, [x24, #16]
	fadd	d0, d0, d8
	str	d0, [x24, #16]
	scvtf	d0, w27
	fmul	d0, d0, d9
	fcvtzs	w21, d0
	fmov	d0, d10
	mov	x0, x21
	bl	_getpixel
	cbz	x0, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh2:
	adrp	x8, _currentPixel@GOTPAGE
Lloh3:
	ldr	x8, [x8, _currentPixel@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, w22
	b.eq	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w26, w26, #1
	cmp	w26, #2
	b.eq	LBB0_23
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x22, x8
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_putpixel
Lloh5:
	adrp	x8, _currentPixel@GOTPAGE
Lloh6:
	ldr	x8, [x8, _currentPixel@GOTPAGEOFF]
Lloh7:
	ldr	w22, [x8]
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	add	w20, w20, w8
	tbz	w28, #31, LBB0_3
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [sp, #4]                    ; 4-byte Folded Reload
	b	LBB0_4
LBB0_12:
	tbnz	w9, #31, LBB0_25
; %bb.13:
	mov	w26, #0
	mov	w27, #0
	lsl	w8, w11, #1
	stp	w9, w8, [sp]                    ; 8-byte Folded Spill
	sub	w28, w8, w9
	sub	w8, w28, w9
	str	w8, [sp, #8]                    ; 4-byte Folded Spill
	ldr	q0, [sp, #16]                   ; 16-byte Folded Reload
	mov.d	v0[1], v3[0]
	str	q0, [sp, #16]                   ; 16-byte Folded Spill
	mov	w22, #52501
	movk	w22, #1883, lsl #16
	add	w24, w9, #1
Lloh8:
	adrp	x25, _leftColumnColor@GOTPAGE
Lloh9:
	ldr	x25, [x25, _leftColumnColor@GOTPAGEOFF]
	b	LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_16 Depth=1
	fmov	d0, d10
	mov	x0, x21
	bl	_getpixel
	mov	x0, x20
	mov	x1, x19
	bl	_putpixel
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	add	w20, w20, w8
	ldr	w8, [sp, #8]                    ; 4-byte Folded Reload
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	add	w28, w8, w28
	add	w27, w27, #1
	cmp	w24, w27
	b.eq	LBB0_23
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	q0, [x25]
	ldr	q1, [sp, #16]                   ; 16-byte Folded Reload
	fadd.2d	v0, v0, v1
	str	q0, [x25]
	ldr	d0, [x25, #16]
	fadd	d0, d0, d8
	str	d0, [x25, #16]
	scvtf	d0, w27
	fmul	d0, d0, d9
	fcvtzs	w21, d0
	fmov	d0, d10
	mov	x0, x21
	bl	_getpixel
	cbz	x0, LBB0_21
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
Lloh10:
	adrp	x8, _currentPixel@GOTPAGE
Lloh11:
	ldr	x8, [x8, _currentPixel@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w8, w22
	b.eq	LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=1
	add	w26, w26, #1
	cmp	w26, #2
	b.eq	LBB0_23
; %bb.19:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x22, x8
LBB0_20:                                ;   in Loop: Header=BB0_16 Depth=1
	add	w19, w19, w23
	tbz	w28, #31, LBB0_14
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_putpixel
Lloh13:
	adrp	x8, _currentPixel@GOTPAGE
Lloh14:
	ldr	x8, [x8, _currentPixel@GOTPAGEOFF]
Lloh15:
	ldr	w22, [x8]
	add	w19, w19, w23
	tbz	w28, #31, LBB0_14
LBB0_22:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	w8, [sp, #4]                    ; 4-byte Folded Reload
	b	LBB0_15
LBB0_23:
	ldr	w9, [sp]                        ; 4-byte Folded Reload
	b	LBB0_25
LBB0_24:
	mov	x9, x11
LBB0_25:
	add	w0, w9, #1
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #48]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_leftColumnColor,24,3           ; @leftColumnColor
	.comm	_currentPixel,4,2               ; @currentPixel
	.no_dead_strip	_DrawLine
.subsections_via_symbols
