	.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
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testl	%r8d, %r8d
	je	LBB0_4
## %bb.1:
	movl	%r9d, %r14d
	movl	%r8d, %ebx
	movq	%rcx, %r15
	movq	%rdi, %r12
	movl	%esi, -56(%rbp)
	movl	%edx, -52(%rbp)
	movq	_VG_GLYPH_ORIGIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-56(%rbp), %rdx
	movl	$2, %esi
	callq	_vgSetfv
	movq	_CHAR_COUNT_MAX@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	cmpl	%ebx, %edx
	jge	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%r15, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	movl	%r14d, %ecx
	movl	$1, %r8d
	callq	_draw_chars
	movslq	(%r13), %rdx
	subl	%edx, %ebx
	addq	%rdx, %r15
	cmpl	%edx, %ebx
	jg	LBB0_2
LBB0_3:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	movl	%r14d, %ecx
	xorl	%r8d, %r8d
	callq	_draw_chars
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_VG_GLYPH_ORIGIN,4,2            ## @VG_GLYPH_ORIGIN
	.comm	_CHAR_COUNT_MAX,4,2             ## @CHAR_COUNT_MAX
	.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, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	cbz	w4, LBB0_4
; %bb.1:
	mov	x19, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x0
	stp	w1, w2, [sp]
Lloh3:
	adrp	x8, _VG_GLYPH_ORIGIN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VG_GLYPH_ORIGIN@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x2, sp
	mov	w1, #2
	bl	_vgSetfv
Lloh6:
	adrp	x23, _CHAR_COUNT_MAX@GOTPAGE
Lloh7:
	ldr	x23, [x23, _CHAR_COUNT_MAX@GOTPAGEOFF]
	ldr	w2, [x23]
	cmp	w2, w20
	b.ge	LBB0_3
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x21
                                        ; kill: def $w2 killed $w2 killed $x2
	mov	x3, x19
	mov	w4, #1
	bl	_draw_chars
	ldrsw	x2, [x23]
	add	x21, x21, x2
	sub	w20, w20, w2
	cmp	w20, w2
	b.gt	LBB0_2
LBB0_3:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	mov	w4, #0
	bl	_draw_chars
LBB0_4:
	ldr	x8, [sp, #8]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_VG_GLYPH_ORIGIN,4,2            ; @VG_GLYPH_ORIGIN
	.comm	_CHAR_COUNT_MAX,4,2             ; @CHAR_COUNT_MAX
	.no_dead_strip	_draw_line
.subsections_via_symbols
