	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_draw_line                      ## -- Begin function draw_line
	.p2align	4, 0x90
_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, -56(%rbp)                  ## 8-byte Spill
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r12
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	%rcx, %rax
	subq	%rsi, %rax
	movq	%rax, %r14
	negq	%r14
	cmovsq	%rax, %r14
	movq	%rdx, %rax
	subq	%rdi, %rax
	movq	%rax, %rcx
	negq	%rcx
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	cmovsq	%rax, %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	cmpq	%rcx, %r14
	jbe	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_swap
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_swap
LBB0_2:
	cmpq	%rbx, %r15
	jge	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_swap
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_swap
LBB0_4:
	xorl	%eax, %eax
	cmpq	%r13, %r12
	setg	%cl
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	cmpq	%rbx, %r15
	jle	LBB0_10
## %bb.5:
	movb	%cl, %al
	leaq	(%rax,%rax), %r15
	decq	%r15
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, %r12
	shrq	$63, %r12
	addq	%rax, %r12
	sarq	%r12
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	movq	%r13, %rsi
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_draw_pixel
	subq	%r14, %r12
	movq	%r12, %rax
	sarq	$63, %rax
	movq	%rax, %rcx
	andq	%r15, %rcx
	addq	%rcx, %r13
	andq	-64(%rbp), %rax                 ## 8-byte Folded Reload
	addq	%rax, %r12
	incq	%rbx
	cmpq	%rbx, -80(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_10
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	-72(%rbp), %r14                 ## 8-byte Folded Reload
	jbe	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	jmp	LBB0_9
LBB0_10:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_draw_line                      ; -- Begin function draw_line
	.p2align	2
_draw_line:                             ; @draw_line
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x24, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	subs	x8, x3, x1
	cneg	x25, x8, mi
	subs	x26, x2, x0
	cneg	x27, x26, mi
	cmp	x25, x27
	b.ls	LBB0_2
; %bb.1:
	mov	x0, x23
	mov	x1, x22
	bl	_swap
	mov	x0, x21
	mov	x1, x24
	bl	_swap
LBB0_2:
	cmp	x21, x23
	b.ge	LBB0_4
; %bb.3:
	mov	x0, x23
	mov	x1, x21
	bl	_swap
	mov	x0, x22
	mov	x1, x24
	bl	_swap
LBB0_4:
	cmp	x24, x22
	mov	w8, #1
	cneg	x24, x8, le
	cmp	x21, x23
	b.le	LBB0_10
; %bb.5:
	cmp	x26, #0
	cinc	x8, x26, lt
	asr	x28, x8, #1
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x23
	mov	x1, x22
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x2, x20
	mov	x3, x19
	bl	_draw_pixel
	sub	x8, x28, x25
	asr	x9, x8, #63
	and	x10, x9, x24
	add	x22, x10, x22
	and	x9, x9, x26
	add	x28, x9, x8
	add	x23, x23, #1
	cmp	x21, x23
	b.eq	LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x25, x27
	b.ls	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x22
	mov	x1, x23
	b	LBB0_7
LBB0_10:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
