	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function graph_output_collapsing_line
_graph_output_collapsing_line:          ## @graph_output_collapsing_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	%rsi, %r14
	movq	%rdi, %r13
	movl	(%rdi), %edx
	movl	$-1, %r15d
	testl	%edx, %edx
	jle	LBB0_1
## %bb.7:
	movq	8(%r13), %rax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	$-1, (%rax,%rcx,4)
	incq	%rcx
	movslq	(%r13), %rdx
	cmpq	%rdx, %rcx
	jl	LBB0_8
## %bb.2:
	movl	$-1, -44(%rbp)                  ## 4-byte Folded Spill
	testl	%edx, %edx
	jle	LBB0_19
## %bb.3:
	movl	$-1, -44(%rbp)                  ## 4-byte Folded Spill
	xorl	%ebx, %ebx
	movl	$-1, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	xorl	%edi, %edi
	cmpl	$-1, (%rax,%rbx,4)
	sete	%dil
	callq	_assert
	movq	8(%r13), %rax
	movl	%r15d, (%rax,%rbx,4)
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	movslq	(%r13), %rdx
	cmpq	%rdx, %rbx
	jge	LBB0_18
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_14 Depth 2
	movq	16(%r13), %rax
	movslq	(%rax,%rbx,4), %r15
	testq	%r15, %r15
	js	LBB0_17
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %r12
	addq	%r15, %r12
	xorl	%edi, %edi
	cmpq	%r12, %rbx
	setge	%dil
	callq	_assert
	movl	%r12d, %ecx
	movq	8(%r13), %rax
	cmpq	%rcx, %rbx
	je	LBB0_6
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	-4(%rax,%rbx,4), %ecx
	testl	%ecx, %ecx
	js	LBB0_10
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpl	%r15d, %ecx
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=1
	seta	%al
	movzbl	%al, %edi
	callq	_assert
	movq	8(%r13), %rax
	movl	-8(%rax,%rbx,4), %edi
	shrl	$31, %edi
	callq	_assert
	movq	8(%r13), %rax
	xorl	%edi, %edi
	cmpl	%r15d, -12(%rax,%rbx,4)
	sete	%dil
	callq	_assert
	movq	8(%r13), %rax
	movl	%r15d, -8(%rax,%rbx,4)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpl	$-1, %eax
	cmovel	%ebx, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_17
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	%r15d, -4(%rax,%rbx,4)
	cmpl	$-1, -56(%rbp)                  ## 4-byte Folded Reload
	jne	LBB0_17
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	leal	3(%r12), %edx
	leaq	-2(%rbx), %rcx
	movslq	%edx, %rdx
	cmpq	%rdx, %rcx
	jle	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	leal	2(%r12), %edx
	orl	$1, %edx
	movslq	%edx, %rdx
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r15d, (%rax,%rdx,4)
	addq	$2, %rdx
	cmpq	%rcx, %rdx
	jl	LBB0_14
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	%ebx, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%r15d, %eax
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	jmp	LBB0_17
LBB0_18:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_19
LBB0_1:
	movl	$-1, -44(%rbp)                  ## 4-byte Folded Spill
LBB0_19:
	movq	8(%r13), %rax
	movslq	%edx, %rcx
	cmpl	$0, -4(%rax,%rcx,4)
	js	LBB0_20
## %bb.21:
	testl	%edx, %edx
	jg	LBB0_22
	jmp	LBB0_39
LBB0_20:
	decl	%edx
	movl	%edx, (%r13)
	testl	%edx, %edx
	jle	LBB0_39
LBB0_22:
	movslq	%r15d, %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	decl	%r15d
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	xorl	%r12d, %r12d
	shlq	$2, %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rax,%r12,4), %esi
	testl	%esi, %esi
	js	LBB0_24
## %bb.25:                              ##   in Loop: Header=BB0_23 Depth=1
	leaq	(%rsi,%rsi), %rcx
	cmpq	%rcx, %r12
	jne	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_23 Depth=1
	shlq	$2, %rsi
	addq	24(%r13), %rsi
	movq	%r14, %rdi
	movl	$124, %edx
	jmp	LBB0_36
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_23 Depth=1
	movq	%r14, %rdi
	movl	$32, %esi
	callq	_strbuf_addch
	jmp	LBB0_37
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_23 Depth=1
	cmpl	-44(%rbp), %esi                 ## 4-byte Folded Reload
	jne	LBB0_32
## %bb.28:                              ##   in Loop: Header=BB0_23 Depth=1
	cmpq	%r12, %r15
	je	LBB0_32
## %bb.29:                              ##   in Loop: Header=BB0_23 Depth=1
	addl	$3, %ecx
	cmpq	%rcx, %r12
	je	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_23 Depth=1
	movl	$-1, (%rax,%r12,4)
LBB0_31:                                ##   in Loop: Header=BB0_23 Depth=1
	movq	24(%r13), %rsi
	addq	-56(%rbp), %rsi                 ## 8-byte Folded Reload
	movq	%r14, %rdi
	movl	$95, %edx
	callq	_strbuf_write_column
	movw	$1, %bx
	jmp	LBB0_37
LBB0_32:                                ##   in Loop: Header=BB0_23 Depth=1
	testw	%bx, %bx
	je	LBB0_35
## %bb.33:                              ##   in Loop: Header=BB0_23 Depth=1
	cmpq	-64(%rbp), %r12                 ## 8-byte Folded Reload
	jge	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_23 Depth=1
	movl	$-1, (%rax,%r12,4)
LBB0_35:                                ##   in Loop: Header=BB0_23 Depth=1
	shlq	$2, %rsi
	addq	24(%r13), %rsi
	movq	%r14, %rdi
	movl	$47, %edx
LBB0_36:                                ##   in Loop: Header=BB0_23 Depth=1
	callq	_strbuf_write_column
LBB0_37:                                ##   in Loop: Header=BB0_23 Depth=1
	incq	%r12
	movslq	(%r13), %rdx
	cmpq	%rdx, %r12
	jge	LBB0_39
## %bb.38:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	8(%r13), %rax
	jmp	LBB0_23
LBB0_39:
	movq	%r13, %rdi
	movq	%r14, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_graph_pad_horizontally
	movq	8(%r13), %rsi
	movq	16(%r13), %rdi
	callq	_SWAP
	movq	%r13, %rdi
	callq	_graph_is_mapping_correct
	testq	%rax, %rax
	je	LBB0_40
## %bb.41:
	movq	_GRAPH_PADDING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_graph_update_state             ## TAILCALL
LBB0_40:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GRAPH_PADDING,4,2              ## @GRAPH_PADDING
	.no_dead_strip	_graph_output_collapsing_line
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function graph_output_collapsing_line
_graph_output_collapsing_line:          ; @graph_output_collapsing_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	x20, x1
	mov	x19, x0
	ldr	w2, [x0]
	mov	w24, #-1
	cmp	w2, #1
	b.lt	LBB0_22
; %bb.1:
	mov	x8, #0
	ldr	x9, [x19, #8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	str	w24, [x9, x8, lsl #2]
	add	x8, x8, #1
	ldrsw	x2, [x19]
	cmp	x8, x2
	b.lt	LBB0_2
; %bb.3:
	cmp	w2, #1
	b.lt	LBB0_21
; %bb.4:
	mov	x22, #0
	mov	w21, #-1
	mov	x23, #-4
	mov	w24, #-1
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	lsl	x26, x22, #2
	ldr	w8, [x8, x26]
	cmn	w8, #1
	cset	w0, eq
	bl	_assert
	ldr	x8, [x19, #8]
	str	w25, [x8, x26]
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x22, x22, #1
	ldrsw	x2, [x19]
	add	x23, x23, #1
	cmp	x22, x2
	b.ge	LBB0_20
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_16 Depth 2
                                        ;     Child Loop BB0_18 Depth 2
	ldr	x8, [x19, #16]
	ldr	w25, [x8, x22, lsl #2]
	tbnz	w25, #31, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	sxtw	x8, w25
	lsl	x26, x8, #1
	cmp	x22, x26
	cset	w0, ge
	bl	_assert
	and	x9, x26, #0xfffffffe
	ldr	x8, [x19, #8]
	cmp	x22, x9
	b.eq	LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	sub	x9, x22, #1
	ldr	w10, [x8, x9, lsl #2]
	tbnz	w10, #31, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	cmp	w10, w25
	b.eq	LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	cset	w0, hi
	bl	_assert
	ldr	x8, [x19, #8]
	lsl	x26, x22, #2
	sub	x27, x26, #8
	ldr	w8, [x8, x27]
	lsr	w0, w8, #31
	bl	_assert
	ldr	x8, [x19, #8]
	add	x8, x26, x8
	ldur	w8, [x8, #-12]
	cmp	w8, w25
	cset	w0, eq
	bl	_assert
	ldr	x8, [x19, #8]
	str	w25, [x8, x27]
	cmn	w24, #1
	csel	w24, w22, w24, eq
	b	LBB0_6
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=1
	str	w25, [x8, x9, lsl #2]
	cmn	w24, #1
	b.ne	LBB0_6
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=1
	add	w10, w26, #3
	sub	x9, x22, #2
	cmp	x9, w10, sxtw
	b.le	LBB0_19
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=1
	sub	x11, x22, #4
	add	w12, w26, #2
	orr	w10, w12, #0x1
	sxtw	x10, w10
	sxtw	x14, w12
	sub	x11, x11, x14
	cmp	x11, #6
	b.lo	LBB0_18
; %bb.15:                               ;   in Loop: Header=BB0_7 Depth=1
	lsr	x11, x11, #1
	add	x11, x11, #1
	and	x12, x11, #0xfffffffffffffffc
	add	x10, x10, x12, lsl #1
	sub	x13, x23, x14
	lsr	x13, x13, #1
	add	x13, x13, #1
	and	x13, x13, #0xfffffffffffffffc
	add	x14, x8, x14, lsl #2
	add	x14, x14, #20
LBB0_16:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	stur	w25, [x14, #-16]
	stur	w25, [x14, #-8]
	str	w25, [x14]
	str	w25, [x14, #8]
	add	x14, x14, #32
	subs	x13, x13, #4
	b.ne	LBB0_16
; %bb.17:                               ;   in Loop: Header=BB0_7 Depth=1
	cmp	x11, x12
	b.eq	LBB0_19
LBB0_18:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	w25, [x8, x10, lsl #2]
	add	x10, x10, #2
	cmp	x10, x9
	b.lt	LBB0_18
LBB0_19:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x24, x22
	mov	x21, x25
	b	LBB0_6
LBB0_20:
                                        ; kill: def $w2 killed $w2 killed $x2 def $x2
	b	LBB0_23
LBB0_21:
	mov	w24, #-1
LBB0_22:
	mov	w21, #-1
LBB0_23:
	ldr	x8, [x19, #8]
	sub	w9, w2, #1
	ldr	w10, [x8, w9, sxtw #2]
	tbnz	w10, #31, LBB0_25
; %bb.24:
	cmp	w2, #1
	b.ge	LBB0_26
	b	LBB0_42
LBB0_25:
	str	w9, [x19]
	mov	x2, x9
	cmp	w2, #1
	b.lt	LBB0_42
LBB0_26:
	mov	x22, #0
	mov	w27, #0
	sub	w23, w24, #1
	sxtw	x24, w24
	mov	w25, #-1
	mov	w26, w21
	ldr	w9, [x8, x22, lsl #2]
	tbnz	w9, #31, LBB0_40
LBB0_27:
	lsl	x10, x9, #1
	cmp	x22, x10
	b.ne	LBB0_29
; %bb.28:
	ldr	x8, [x19, #24]
	add	x1, x8, x9, lsl #2
	mov	x0, x20
	mov	w2, #124
	b	LBB0_34
LBB0_29:
	cmp	w9, w21
	ccmp	x23, x22, #4, eq
	b.ne	LBB0_35
; %bb.30:
	cbz	w27, LBB0_33
; %bb.31:
	cmp	x22, x24
	b.ge	LBB0_33
; %bb.32:
	str	w25, [x8, x22, lsl #2]
LBB0_33:
	ldr	x8, [x19, #24]
	add	x1, x8, x9, lsl #2
	mov	x0, x20
	mov	w2, #47
LBB0_34:
	bl	_strbuf_write_column
	b	LBB0_38
LBB0_35:
	add	w9, w10, #3
	cmp	x22, x9
	b.eq	LBB0_37
; %bb.36:
	str	w25, [x8, x22, lsl #2]
LBB0_37:
	ldr	x8, [x19, #24]
	add	x1, x8, x26, lsl #2
	mov	x0, x20
	mov	w2, #95
	bl	_strbuf_write_column
	mov	w27, #1
LBB0_38:
	add	x22, x22, #1
	ldrsw	x2, [x19]
	cmp	x22, x2
	b.ge	LBB0_41
; %bb.39:
	ldr	x8, [x19, #8]
	ldr	w9, [x8, x22, lsl #2]
	tbz	w9, #31, LBB0_27
LBB0_40:
	mov	x0, x20
	mov	w1, #32
	bl	_strbuf_addch
	b	LBB0_38
LBB0_41:
                                        ; kill: def $w2 killed $w2 killed $x2 def $x2
LBB0_42:
	mov	x0, x19
	mov	x1, x20
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_graph_pad_horizontally
	ldp	x1, x0, [x19, #8]
	bl	_SWAP
	mov	x0, x19
	bl	_graph_is_mapping_correct
	cbz	x0, LBB0_44
; %bb.43:
Lloh0:
	adrp	x8, _GRAPH_PADDING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GRAPH_PADDING@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	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
	b	_graph_update_state
LBB0_44:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GRAPH_PADDING,4,2              ; @GRAPH_PADDING
	.no_dead_strip	_graph_output_collapsing_line
.subsections_via_symbols
