	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function agraph_print
_agraph_print:                          ## @agraph_print
	.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	%rcx, %rbx
	movq	%rdx, %r15
	movl	%esi, %r12d
	movq	%rdi, %r13
	leaq	-44(%rbp), %rdi
	callq	_r_cons_get_size
	movl	%eax, %r14d
	movq	%r13, %rdi
	movl	%r12d, %esi
	movq	%r15, %rdx
	movq	%rbx, %rcx
	callq	_check_changes
	xorl	%ebx, %ebx
	testl	%eax, %eax
	je	LBB0_29
## %bb.1:
	testl	%r12d, %r12d
	je	LBB0_2
## %bb.4:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_r_cons_clear00
	movl	-44(%rbp), %edx
	movq	24(%r13), %rdi
	movl	%r14d, %esi
	callq	_r_cons_canvas_resize
	testl	%eax, %eax
	je	LBB0_29
## %bb.5:
	leaq	24(%r13), %rbx
	cmpq	$0, 40(%r13)
	jne	LBB0_7
	jmp	LBB0_10
LBB0_2:
	movq	%r13, %rdi
	callq	_update_graph_sizes
	movl	(%r13), %edx
	incl	%edx
	movl	%edx, -44(%rbp)
	movl	4(%r13), %r14d
	addl	$2, %r14d
	movq	24(%r13), %rdi
	movl	%r14d, %esi
	callq	_r_cons_canvas_resize
	testl	%eax, %eax
	je	LBB0_29
## %bb.3:
	leaq	24(%r13), %rbx
	xorl	%eax, %eax
	subl	8(%r13), %eax
	movq	24(%r13), %rcx
	movl	%eax, (%rcx)
	movl	12(%r13), %eax
	notl	%eax
	movl	%eax, 4(%rcx)
	cmpq	$0, 40(%r13)
	je	LBB0_10
LBB0_7:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rax
	movl	$1, %edi
	subl	(%rax), %edi
	movl	$2, %esi
	subl	4(%rax), %esi
	callq	_G
	movl	8(%r15), %edi
	leaq	L_.str(%rip), %rsi
	callq	_r_config_get_i
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	8(%r15), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_r_config_get_i
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	8(%r15), %edi
	leaq	L_.str.2(%rip), %rbx
	movq	%rbx, %rsi
	callq	_r_config_get_i
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	8(%r15), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%edx, %edx
	callq	_r_config_set_i
	movl	8(%r15), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%edx, %edx
	callq	_r_config_set_i
	movl	8(%r15), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_r_config_set_i
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_r_core_cmd_str
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_W
	movq	%rbx, %rdi
	callq	_free
LBB0_9:
	movl	8(%r15), %edi
	leaq	L_.str(%rip), %rsi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	callq	_r_config_set_i
	movl	8(%r15), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	callq	_r_config_set_i
	movl	8(%r15), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_r_config_set_i
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
LBB0_10:
	movq	16(%r13), %rax
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	cmpb	$0, (%rax)
	je	LBB0_13
## %bb.12:
	movq	(%rbx), %rax
	incl	4(%rax)
LBB0_13:
	movq	%r13, %rdi
	callq	_agraph_print_edges
	movq	%r13, %rdi
	callq	_agraph_print_nodes
	movq	16(%r13), %rax
	testq	%rax, %rax
	je	LBB0_16
## %bb.14:
	cmpb	$0, (%rax)
	je	LBB0_16
## %bb.15:
	movq	(%rbx), %rax
	decl	4(%rax)
LBB0_16:
	movq	24(%r13), %rax
	xorl	%esi, %esi
	xorl	%edi, %edi
	subl	(%rax), %edi
	subl	4(%rax), %esi
	callq	_G
	cmpl	$0, 32(%r13)
	je	LBB0_17
## %bb.18:
	testl	%r12d, %r12d
	je	LBB0_28
LBB0_19:
	movq	16(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_21
## %bb.20:
	callq	_strlen
	movq	(%rbx), %rdi
	subl	%eax, %r14d
	subl	(%rdi), %eax
	xorl	%edx, %edx
	subl	4(%rdi), %edx
	movl	%eax, %esi
	movl	%r14d, %ecx
	movl	$1, %r8d
	movl	$32, %r9d
	callq	_r_cons_canvas_fill
LBB0_21:
	movq	(%rbx), %rdi
	callq	_r_cons_canvas_print_region
	xorl	%eax, %eax
	callq	_r_cons_newline
	movl	8(%r15), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_r_config_get
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_r_cons_visual_flush
	movb	$1, %r14b
	testq	%rbx, %rbx
	je	LBB0_24
## %bb.22:
	cmpb	$0, (%rbx)
	je	LBB0_24
## %bb.23:
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	movl	$2, %esi
	callq	_r_cons_gotoxy
	movq	_Color_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_r_cons_strcat
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_r_core_cmd0
LBB0_24:
	cmpq	$0, (%r15)
	je	LBB0_26
## %bb.25:
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	callq	_r_core_cmd0
LBB0_26:
	movl	$1, %ebx
	testb	%r14b, %r14b
	jne	LBB0_29
## %bb.27:
	xorl	%eax, %eax
	callq	_r_cons_flush
	jmp	LBB0_29
LBB0_17:
	movq	16(%r13), %rdi
	callq	_W
	testl	%r12d, %r12d
	jne	LBB0_19
LBB0_28:
	movq	(%rbx), %rdi
	callq	_r_cons_canvas_print_region
	movl	$1, %ebx
LBB0_29:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"scr.utf8"

L_.str.1:                               ## @.str.1
	.asciz	"asm.bytes"

L_.str.2:                               ## @.str.2
	.asciz	"asm.cmt.right"

L_.str.3:                               ## @.str.3
	.asciz	"pd $r"

L_.str.4:                               ## @.str.4
	.asciz	"cmd.gprompt"

	.comm	_Color_RESET,4,2                ## @Color_RESET
L_.str.5:                               ## @.str.5
	.asciz	"pg"

	.no_dead_strip	_agraph_print
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function agraph_print
_agraph_print:                          ; @agraph_print
	.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	x23, x3
	mov	x19, x2
	mov	x22, x1
	mov	x21, x0
	add	x0, sp, #12
	bl	_r_cons_get_size
	mov	x20, x0
	mov	x0, x21
	mov	x1, x22
	mov	x2, x19
	mov	x3, x23
	bl	_check_changes
	cbz	w0, LBB0_29
; %bb.1:
	cbz	w22, LBB0_7
; %bb.2:
	bl	_r_cons_clear00
	ldr	w2, [sp, #12]
	mov	x23, x21
	ldr	x0, [x23, #24]!
	mov	x1, x20
	bl	_r_cons_canvas_resize
	cbz	w0, LBB0_29
; %bb.3:
	ldr	x8, [x21, #40]
	cbz	x8, LBB0_9
LBB0_4:
	ldr	x8, [x23]
	mov	w9, #1
	ldp	w10, w8, [x8]
	sub	w0, w9, w10
	mov	w9, #2
	sub	w1, w9, w8
	bl	_G
	ldr	w0, [x19, #8]
Lloh0:
	adrp	x26, l_.str@PAGE
Lloh1:
	add	x26, x26, l_.str@PAGEOFF
	mov	x1, x26
	bl	_r_config_get_i
	str	w0, [sp, #8]                    ; 4-byte Folded Spill
	ldr	w0, [x19, #8]
Lloh2:
	adrp	x27, l_.str.1@PAGE
Lloh3:
	add	x27, x27, l_.str.1@PAGEOFF
	mov	x1, x27
	bl	_r_config_get_i
	mov	x24, x0
	ldr	w0, [x19, #8]
Lloh4:
	adrp	x28, l_.str.2@PAGE
Lloh5:
	add	x28, x28, l_.str.2@PAGEOFF
	mov	x1, x28
	bl	_r_config_get_i
	mov	x25, x0
	ldr	w0, [x19, #8]
	mov	x1, x26
	mov	w2, #0
	bl	_r_config_set_i
	ldr	w0, [x19, #8]
	mov	x1, x27
	mov	w2, #0
	bl	_r_config_set_i
	ldr	w0, [x19, #8]
	mov	x1, x28
	mov	w2, #0
	bl	_r_config_set_i
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_r_core_cmd_str
	cbz	x0, LBB0_6
; %bb.5:
	mov	x26, x0
	bl	_W
	mov	x0, x26
	bl	_free
LBB0_6:
	ldr	w0, [x19, #8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	ldr	w2, [sp, #8]                    ; 4-byte Folded Reload
	bl	_r_config_set_i
	ldr	w0, [x19, #8]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x24
	bl	_r_config_set_i
	ldr	w0, [x19, #8]
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x25
	bl	_r_config_set_i
	ldr	x8, [x21, #16]
	cbnz	x8, LBB0_10
	b	LBB0_12
LBB0_7:
	mov	x0, x21
	bl	_update_graph_sizes
	ldp	w8, w9, [x21]
	add	w2, w8, #1
	str	w2, [sp, #12]
	add	w20, w9, #2
	mov	x23, x21
	ldr	x0, [x23, #24]!
	mov	x1, x20
	bl	_r_cons_canvas_resize
	cbz	w0, LBB0_29
; %bb.8:
	ldr	x8, [x21, #24]
	ldr	d0, [x21, #8]
	neg.2s	v1, v0
	mvn.8b	v0, v0
	mov.s	v1[1], v0[1]
	str	d1, [x8]
	ldr	x8, [x21, #40]
	cbnz	x8, LBB0_4
LBB0_9:
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_12
LBB0_10:
	ldrb	w8, [x8]
	cbz	w8, LBB0_12
; %bb.11:
	ldr	x8, [x23]
	ldr	w9, [x8, #4]
	add	w9, w9, #1
	str	w9, [x8, #4]
LBB0_12:
	mov	x0, x21
	bl	_agraph_print_edges
	mov	x0, x21
	bl	_agraph_print_nodes
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_15
; %bb.13:
	ldrb	w8, [x8]
	cbz	w8, LBB0_15
; %bb.14:
	ldr	x8, [x23]
	ldr	w9, [x8, #4]
	sub	w9, w9, #1
	str	w9, [x8, #4]
LBB0_15:
	ldr	x8, [x21, #24]
	ldp	w9, w8, [x8]
	neg	w0, w9
	neg	w1, w8
	bl	_G
	ldr	w8, [x21, #32]
	cbz	w8, LBB0_22
; %bb.16:
	cbz	w22, LBB0_23
LBB0_17:
	ldr	x0, [x21, #16]
	cbz	x0, LBB0_19
; %bb.18:
	bl	_strlen
	ldr	x8, [x23]
	ldp	w9, w10, [x8]
	sub	w1, w0, w9
	neg	w2, w10
	sub	w3, w20, w0
	mov	x0, x8
	mov	w4, #1
	mov	w5, #32
	bl	_r_cons_canvas_fill
LBB0_19:
	ldr	x0, [x23]
	bl	_r_cons_canvas_print_region
	bl	_r_cons_newline
	ldr	w0, [x19, #8]
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_r_config_get
	mov	x20, x0
	bl	_r_cons_visual_flush
	cbz	x20, LBB0_24
; %bb.20:
	ldrb	w8, [x20]
	cbz	w8, LBB0_24
; %bb.21:
	mov	w0, #0
	mov	w1, #2
	bl	_r_cons_gotoxy
Lloh16:
	adrp	x8, _Color_RESET@GOTPAGE
Lloh17:
	ldr	x8, [x8, _Color_RESET@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	bl	_r_cons_strcat
	mov	x0, x19
	mov	x1, x20
	bl	_r_core_cmd0
	mov	w20, #0
	ldr	x8, [x19]
	cbnz	x8, LBB0_25
	b	LBB0_26
LBB0_22:
	ldr	x0, [x21, #16]
	bl	_W
	cbnz	w22, LBB0_17
LBB0_23:
	ldr	x0, [x23]
	bl	_r_cons_canvas_print_region
	b	LBB0_28
LBB0_24:
	mov	w20, #1
	ldr	x8, [x19]
	cbz	x8, LBB0_26
LBB0_25:
Lloh19:
	adrp	x1, l_.str.5@PAGE
Lloh20:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_r_core_cmd0
LBB0_26:
	tbnz	w20, #0, LBB0_28
; %bb.27:
	bl	_r_cons_flush
LBB0_28:
	mov	w0, #1
LBB0_29:
	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
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"scr.utf8"

l_.str.1:                               ; @.str.1
	.asciz	"asm.bytes"

l_.str.2:                               ; @.str.2
	.asciz	"asm.cmt.right"

l_.str.3:                               ; @.str.3
	.asciz	"pd $r"

l_.str.4:                               ; @.str.4
	.asciz	"cmd.gprompt"

	.comm	_Color_RESET,4,2                ; @Color_RESET
l_.str.5:                               ; @.str.5
	.asciz	"pg"

	.no_dead_strip	_agraph_print
.subsections_via_symbols
