	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	cmpl	$2, %edi
	jge	LBB0_1
## %bb.9:
	movq	(%r14), %rsi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_8:
	xorl	%eax, %eax
	addq	$56, %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, %ebx
	leaq	-84(%rbp), %r12
	leaq	-80(%rbp), %r15
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.4(%rip), %r12
LBB0_7:                                 ##   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
	movq	%rbx, %r12
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	incq	%rbx
	cmpq	-48(%rbp), %rbx                 ## 8-byte Folded Reload
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_8
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movq	(%r14,%rbx,8), %rdx
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_printf
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	(%r14,%rbx,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
	xorl	%r14d, %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_scan
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=2
	movq	-80(%rbp), %r12
	movq	_YAML_STREAM_END_TOKEN@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	%r15, %rdi
	callq	_yaml_token_delete
	incl	%r14d
	cmpq	%r13, %r12
	jne	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.5(%rip), %r12
	jmp	LBB0_7
	.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] Scanning '%s': "

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

	.comm	_YAML_STREAM_END_TOKEN,8,3      ## @YAML_STREAM_END_TOKEN
L_.str.3:                               ## @.str.3
	.asciz	"%s (%d tokens)\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	w24, w0
	mov	w25, #1
Lloh2:
	adrp	x21, l_.str.2@PAGE
Lloh3:
	add	x21, x21, l_.str.2@PAGEOFF
Lloh4:
	adrp	x22, l_.str.3@PAGE
Lloh5:
	add	x22, x22, l_.str.3@PAGEOFF
Lloh6:
	adrp	x28, _YAML_STREAM_END_TOKEN@GOTPAGE
Lloh7:
	ldr	x28, [x28, _YAML_STREAM_END_TOKEN@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
Lloh8:
	adrp	x26, l_.str.4@PAGE
Lloh9:
	add	x26, x26, 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	x26, x27, [sp]
	mov	x0, x22
	bl	_printf
	add	x25, x25, #1
	cmp	x25, x24
	b.eq	LBB0_2
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	lsl	x23, x25, #3
	ldr	x8, [x19, x23]
	stp	x25, x8, [sp]
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
Lloh12:
	adrp	x8, _stdout@GOTPAGE
Lloh13:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	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, #0
LBB0_7:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x0, sp, #28
	add	x1, sp, #16
	bl	_yaml_parser_scan
	cbz	w0, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x26, [sp, #16]
	ldr	x20, [x28]
	add	x0, sp, #16
	bl	_yaml_token_delete
	add	w27, w27, #1
	cmp	x26, x20
	b.ne	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh15:
	adrp	x26, l_.str.5@PAGE
Lloh16:
	add	x26, x26, l_.str.5@PAGEOFF
	b	LBB0_5
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.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] Scanning '%s': "

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

	.comm	_YAML_STREAM_END_TOKEN,8,3      ; @YAML_STREAM_END_TOKEN
l_.str.3:                               ; @.str.3
	.asciz	"%s (%d tokens)\n"

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

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

.subsections_via_symbols
