	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	%rsi, %rbx
	cmpl	$2, %edi
	jge	LBB0_1
## %bb.8:
	movq	(%rbx), %rsi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_7:
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	%edi, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	$1, %r13d
	leaq	-72(%rbp), %r12
	leaq	-68(%rbp), %r15
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%r14d
	leaq	L_.str.4(%rip), %r12
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_yaml_parser_delete
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_fclose
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	leaq	L_.str.3(%rip), %rdi
	movq	%r12, %rsi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_printf
	incq	%r13
	cmpq	-48(%rbp), %r13                 ## 8-byte Folded Reload
	movq	%rbx, %r12
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_7
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movq	(%rbx,%r13,8), %rdx
	leaq	L_.str.1(%rip), %rdi
	movl	%r13d, %esi
	xorl	%eax, %eax
	callq	_printf
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
	movq	(%rbx,%r13,8), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_fopen
	movq	%rax, %rbx
	movl	%ebx, %edi
	callq	_assert
	movq	%r12, %rdi
	callq	_yaml_parser_initialize
	movl	%eax, %edi
	callq	_assert
	movq	%r12, %rdi
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	callq	_yaml_parser_set_input_file
	movl	$-1, %r14d
	movq	%r12, %rbx
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_yaml_parser_load
	testl	%eax, %eax
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	movq	%r15, %rdi
	callq	_yaml_document_get_root_node
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_yaml_document_delete
	incl	%r14d
	testl	%r12d, %r12d
	jne	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$1, %r12d
	movl	$0, %eax
	adcb	$1, %al
	movzbl	%al, %eax
	andl	$1, %eax
	addl	%eax, %r14d
	leaq	L_.str.5(%rip), %r12
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Usage: %s file1.yaml ...\n"

L_.str.1:                               ## @.str.1
	.asciz	"[%d] Loading '%s': "

	.comm	_stdout,4,2                     ## @stdout
L_.str.2:                               ## @.str.2
	.asciz	"rb"

L_.str.3:                               ## @.str.3
	.asciz	"%s (%d documents)\n"

L_.str.4:                               ## @.str.4
	.asciz	"FAILURE"

L_.str.5:                               ## @.str.5
	.asciz	"SUCCESS"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x1
	cmp	w0, #2
	b.ge	LBB0_3
; %bb.1:
	ldr	x8, [x19]
	str	x8, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_3:
	mov	w25, w0
Lloh2:
	adrp	x20, l_.str.1@PAGE
Lloh3:
	add	x20, x20, l_.str.1@PAGEOFF
Lloh4:
	adrp	x26, _stdout@GOTPAGE
Lloh5:
	ldr	x26, [x26, _stdout@GOTPAGEOFF]
Lloh6:
	adrp	x21, l_.str.2@PAGE
Lloh7:
	add	x21, x21, l_.str.2@PAGEOFF
Lloh8:
	adrp	x22, l_.str.3@PAGE
Lloh9:
	add	x22, x22, l_.str.3@PAGEOFF
	mov	w28, #1
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w24, w27, #1
Lloh10:
	adrp	x27, l_.str.4@PAGE
Lloh11:
	add	x27, x27, l_.str.4@PAGEOFF
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #28
	bl	_yaml_parser_delete
	mov	x0, x23
	bl	_fclose
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
	stp	x27, x24, [sp]
	mov	x0, x22
	bl	_printf
	add	x28, x28, #1
	cmp	x28, x25
	b.eq	LBB0_2
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	lsl	x23, x28, #3
	ldr	x8, [x19, x23]
	stp	x28, x8, [sp]
	mov	x0, x20
	bl	_printf
	ldr	w0, [x26]
	bl	_fflush
	ldr	x0, [x19, x23]
	mov	x1, x21
	bl	_fopen
	mov	x23, x0
	bl	_assert
	add	x0, sp, #28
	bl	_yaml_parser_initialize
	bl	_assert
	add	x0, sp, #28
	mov	x1, x23
	bl	_yaml_parser_set_input_file
	mov	w27, #-1
LBB0_7:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x0, sp, #28
	add	x1, sp, #24
	bl	_yaml_parser_load
	cbz	w0, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	add	x0, sp, #24
	bl	_yaml_document_get_root_node
	mov	x24, x0
	add	x0, sp, #24
	bl	_yaml_document_delete
	add	w27, w27, #1
	cbnz	w24, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w24, #0
	mov	w8, #1
	cinc	w8, w8, eq
	and	w8, w8, #0x1
	add	w24, w8, w27
Lloh12:
	adrp	x27, l_.str.5@PAGE
Lloh13:
	add	x27, x27, l_.str.5@PAGEOFF
	b	LBB0_5
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Usage: %s file1.yaml ...\n"

l_.str.1:                               ; @.str.1
	.asciz	"[%d] Loading '%s': "

	.comm	_stdout,4,2                     ; @stdout
l_.str.2:                               ; @.str.2
	.asciz	"rb"

l_.str.3:                               ; @.str.3
	.asciz	"%s (%d documents)\n"

l_.str.4:                               ; @.str.4
	.asciz	"FAILURE"

l_.str.5:                               ; @.str.5
	.asciz	"SUCCESS"

.subsections_via_symbols
