	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_WriteToc                       ## -- Begin function WriteToc
	.p2align	4, 0x90
_WriteToc:                              ## @WriteToc
	.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	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	8(%rdi), %rax
	movq	120(%rax), %rcx
	cmpq	%rax, %rcx
	je	LBB0_1
## %bb.2:
	movq	_REQ_SCHEMA@GOTPCREL(%rip), %rsi
	movq	_REQ_DATA@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rsi), %edx
	movq	_REQ_SPECIAL@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rcx), %edi
	andl	%edx, %edi
	cmpl	$1, %edi
	sbbl	$-1, %esi
	movq	120(%rcx), %rcx
	cmpq	%rax, %rcx
	jne	LBB0_3
	jmp	LBB0_4
LBB0_1:
	xorl	%esi, %esi
LBB0_4:
	movq	%r14, %rdi
	callq	_WriteInt
	movq	8(%r14), %rax
	movq	120(%rax), %rbx
	cmpq	%rax, %rbx
	je	LBB0_13
## %bb.5:
	leaq	-80(%rbp), %r12
	leaq	L_.str.2(%rip), %r13
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	120(%rbx), %rbx
	cmpq	8(%r14), %rbx
	je	LBB0_13
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movq	_REQ_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_REQ_SCHEMA@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_REQ_SPECIAL@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	testl	%eax, (%rbx)
	je	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	4(%rbx), %esi
	movq	%r14, %rdi
	callq	_WriteInt
	xorl	%esi, %esi
	cmpq	$0, 112(%rbx)
	setne	%sil
	movq	%r14, %rdi
	callq	_WriteInt
	movl	104(%rbx), %edx
	movq	%r12, %rdi
	leaq	L_.str(%rip), %r15
	movq	%r15, %rsi
	callq	_sprintf
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_WriteStr
	movl	108(%rbx), %edx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_sprintf
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_WriteStr
	movq	8(%rbx), %rsi
	movq	%r14, %rdi
	callq	_WriteStr
	movq	16(%rbx), %rsi
	movq	%r14, %rdi
	callq	_WriteStr
	movl	24(%rbx), %esi
	movq	%r14, %rdi
	callq	_WriteInt
	movq	32(%rbx), %rsi
	movq	%r14, %rdi
	callq	_WriteStr
	movq	40(%rbx), %rsi
	movq	%r14, %rdi
	callq	_WriteStr
	movq	48(%rbx), %rsi
	movq	%r14, %rdi
	callq	_WriteStr
	movq	56(%rbx), %rsi
	movq	%r14, %rdi
	callq	_WriteStr
	movq	64(%rbx), %rsi
	movq	%r14, %rdi
	callq	_WriteStr
	movq	72(%rbx), %rsi
	movq	%r14, %rdi
	callq	_WriteStr
	movq	80(%rbx), %rsi
	movq	%r14, %rdi
	callq	_WriteStr
	movq	%r14, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_WriteStr
	cmpl	$0, 88(%rbx)
	jle	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	96(%rbx), %rax
	movl	(%rax,%r15,4), %edx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_sprintf
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_WriteStr
	incq	%r15
	movslq	88(%rbx), %rax
	cmpq	%rax, %r15
	jl	LBB0_9
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_WriteStr
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	*%rax
	jmp	LBB0_12
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_REQ_SCHEMA,4,2                 ## @REQ_SCHEMA
	.comm	_REQ_DATA,4,2                   ## @REQ_DATA
	.comm	_REQ_SPECIAL,4,2                ## @REQ_SPECIAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%u"

L_.str.1:                               ## @.str.1
	.asciz	"false"

L_.str.2:                               ## @.str.2
	.asciz	"%d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_WriteToc                       ; -- Begin function WriteToc
	.p2align	2
_WriteToc:                              ; @WriteToc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	ldr	x8, [x0, #8]
Lloh3:
	adrp	x24, _REQ_SCHEMA@GOTPAGE
Lloh4:
	ldr	x24, [x24, _REQ_SCHEMA@GOTPAGEOFF]
	ldr	x9, [x8, #120]
Lloh5:
	adrp	x25, _REQ_DATA@GOTPAGE
Lloh6:
	ldr	x25, [x25, _REQ_DATA@GOTPAGEOFF]
Lloh7:
	adrp	x26, _REQ_SPECIAL@GOTPAGE
Lloh8:
	ldr	x26, [x26, _REQ_SPECIAL@GOTPAGEOFF]
	cmp	x9, x8
	b.eq	LBB0_3
; %bb.1:
	mov	w1, #0
	ldr	w10, [x24]
	ldr	w11, [x25]
	orr	w10, w11, w10
	ldr	w11, [x26]
	orr	w10, w10, w11
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9]
	tst	w10, w11
	cinc	w1, w1, ne
	ldr	x9, [x9, #120]
	cmp	x9, x8
	b.ne	LBB0_2
	b	LBB0_4
LBB0_3:
	mov	w1, #0
LBB0_4:
	mov	x0, x19
	bl	_WriteInt
	ldr	x8, [x19, #8]
	ldr	x20, [x8, #120]
	cmp	x20, x8
	b.eq	LBB0_13
; %bb.5:
Lloh9:
	adrp	x21, l_.str@PAGE
Lloh10:
	add	x21, x21, l_.str@PAGEOFF
Lloh11:
	adrp	x22, l_.str.1@PAGE
Lloh12:
	add	x22, x22, l_.str.1@PAGEOFF
Lloh13:
	adrp	x23, l_.str.2@PAGE
Lloh14:
	add	x23, x23, l_.str.2@PAGEOFF
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x20, [x20, #120]
	ldr	x8, [x19, #8]
	cmp	x20, x8
	b.eq	LBB0_13
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	ldr	w8, [x20]
	ldr	w9, [x24]
	ldr	w10, [x25]
	orr	w9, w10, w9
	ldr	w10, [x26]
	orr	w9, w9, w10
	tst	w9, w8
	b.eq	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w1, [x20, #4]
	mov	x0, x19
	bl	_WriteInt
	ldr	x8, [x20, #112]
	cmp	x8, #0
	cset	w1, ne
	mov	x0, x19
	bl	_WriteInt
	ldr	w2, [x20, #104]
	add	x0, sp, #8
	mov	x1, x21
	bl	_sprintf
	add	x1, sp, #8
	mov	x0, x19
	bl	_WriteStr
	ldr	w2, [x20, #108]
	add	x0, sp, #8
	mov	x1, x21
	bl	_sprintf
	add	x1, sp, #8
	mov	x0, x19
	bl	_WriteStr
	ldr	x1, [x20, #8]
	mov	x0, x19
	bl	_WriteStr
	ldr	x1, [x20, #16]
	mov	x0, x19
	bl	_WriteStr
	ldr	w1, [x20, #24]
	mov	x0, x19
	bl	_WriteInt
	ldr	x1, [x20, #32]
	mov	x0, x19
	bl	_WriteStr
	ldr	x1, [x20, #40]
	mov	x0, x19
	bl	_WriteStr
	ldr	x1, [x20, #48]
	mov	x0, x19
	bl	_WriteStr
	ldr	x1, [x20, #56]
	mov	x0, x19
	bl	_WriteStr
	ldr	x1, [x20, #64]
	mov	x0, x19
	bl	_WriteStr
	ldr	x1, [x20, #72]
	mov	x0, x19
	bl	_WriteStr
	ldr	x1, [x20, #80]
	mov	x0, x19
	bl	_WriteStr
	mov	x0, x19
	mov	x1, x22
	bl	_WriteStr
	ldr	w8, [x20, #88]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x27, #0
LBB0_10:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x20, #96]
	ldr	w2, [x8, x27, lsl #2]
	add	x0, sp, #8
	mov	x1, x23
	bl	_sprintf
	add	x1, sp, #8
	mov	x0, x19
	bl	_WriteStr
	add	x27, x27, #1
	ldrsw	x8, [x20, #88]
	cmp	x27, x8
	b.lt	LBB0_10
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x19
	mov	x1, #0
	bl	_WriteStr
	ldr	x8, [x19]
	cbz	x8, LBB0_6
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x19
	mov	x1, x20
	blr	x8
	b	LBB0_6
LBB0_13:
	ldr	x8, [sp, #40]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_REQ_SCHEMA,4,2                 ; @REQ_SCHEMA
	.comm	_REQ_DATA,4,2                   ; @REQ_DATA
	.comm	_REQ_SPECIAL,4,2                ; @REQ_SPECIAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%u"

l_.str.1:                               ; @.str.1
	.asciz	"false"

l_.str.2:                               ; @.str.2
	.asciz	"%d"

.subsections_via_symbols
