	.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, %r13
	movl	%edi, %r15d
	movq	_stdin@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	_stdout@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_UCL_EMIT_CONFIG@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_opts@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rdx
	xorl	%r8d, %r8d
	callq	_getopt_long
	cmpb	$-1, %al
	je	LBB0_1
## %bb.2:
	xorl	%ecx, %ecx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	leaq	LJTI0_0(%rip), %r14
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_23:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_opts@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r15d, %edi
	movq	%r13, %rsi
	leaq	L_.str(%rip), %rdx
	xorl	%r8d, %r8d
	callq	_getopt_long
	cmpb	$-1, %al
	je	LBB0_24
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %eax
	addl	$-102, %eax
	cmpl	$13, %eax
	ja	LBB0_21
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	(%r14,%rax,4), %rax
	addq	%r14, %rax
	jmpq	*%rax
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.7(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.8(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.9(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_UCL_EMIT_MSGPACK@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_fopen
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_23
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_fopen
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	jne	LBB0_23
	jmp	LBB0_8
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_UCL_EMIT_CONFIG@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_23
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_UCL_EMIT_JSON@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_23
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_UCL_EMIT_YAML@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_23
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_UCL_EMIT_JSON_COMPACT@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_23
LBB0_1:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_24:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_ucl_parser_new
	movq	%rax, %r14
	movq	_BUFSIZ@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	%r13, %rdi
	callq	_malloc
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	_feof
	testl	%eax, %eax
	je	LBB0_25
LBB0_31:
	movq	%r12, %rdi
	callq	_ferror
	testq	%rax, %rax
	jne	LBB0_32
## %bb.33:
	movq	%r12, %rdi
	callq	_fclose
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_ucl_parser_add_chunk
	testl	%eax, %eax
	je	LBB0_34
## %bb.38:
	movq	%r14, %rdi
	callq	_ucl_parser_get_object
	testq	%rax, %rax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_39
## %bb.40:
	movq	%rax, %r15
	testq	%rbx, %rbx
	je	LBB0_46
## %bb.41:
	xorl	%edi, %edi
	callq	_ucl_parser_new
	movq	%rax, %r14
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_ucl_parser_add_file
	testl	%eax, %eax
	je	LBB0_42
## %bb.43:
	movq	%r14, %rdi
	callq	_ucl_parser_get_object
	testq	%rax, %rax
	je	LBB0_39
## %bb.44:
	leaq	-64(%rbp), %rdx
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_ucl_object_validate
	testl	%eax, %eax
	je	LBB0_45
LBB0_46:
	movq	_UCL_EMIT_MSGPACK@GOTPCREL(%rip), %rax
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	cmpq	(%rax), %rsi
	jne	LBB0_47
## %bb.48:
	leaq	-64(%rbp), %rdx
	movq	%r15, %rdi
	callq	_ucl_object_emit_len
	movq	-64(%rbp), %rdx
	movq	%rax, %rdi
	movl	$1, %esi
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	_fwrite
	jmp	LBB0_49
LBB0_47:
	movq	%r15, %rdi
	callq	_ucl_object_emit
	leaq	L_.str.17(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_49:
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	xorl	%ebx, %ebx
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_26 Depth=1
	leaq	(%r15,%rbx), %rdi
	movq	%r13, %rdx
	subq	%rbx, %rdx
	movl	$1, %esi
	movq	%r12, %rcx
	callq	_fread
	addq	%rax, %rbx
	movq	%r12, %rdi
	callq	_feof
	testl	%eax, %eax
	jne	LBB0_31
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_ferror
	testq	%rax, %rax
	jne	LBB0_31
## %bb.27:                              ##   in Loop: Header=BB0_26 Depth=1
	cmpq	%r13, %rbx
	jne	LBB0_30
## %bb.28:                              ##   in Loop: Header=BB0_26 Depth=1
	leaq	(%rbx,%rbx), %r13
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_realloc
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_30
## %bb.29:
	callq	_main.cold.1
	jmp	LBB0_49
LBB0_6:
	callq	_main.cold.2
	jmp	LBB0_49
LBB0_8:
	callq	_main.cold.3
	jmp	LBB0_49
LBB0_21:
	movq	(%r13), %rdi
	movq	_stderr@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_usage
	jmp	LBB0_37
LBB0_20:
	movq	(%r13), %rdi
	movq	_stdout@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_usage
	xorl	%edi, %edi
	callq	_exit
LBB0_39:
	movq	_stderr@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%r14, %rdi
	callq	_ucl_parser_get_error
	leaq	L_.str.14(%rip), %rsi
	jmp	LBB0_35
LBB0_32:
	movq	_stderr@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leaq	L_.str.12(%rip), %rdi
	movl	$31, %esi
	movl	$1, %edx
	callq	_fwrite
	jmp	LBB0_37
LBB0_34:
	movq	_stderr@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%r14, %rdi
	callq	_ucl_parser_get_error
	leaq	L_.str.13(%rip), %rsi
	jmp	LBB0_35
LBB0_19:
	movq	_stderr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	L_.str.10(%rip), %rsi
	movq	%rbx, %rdx
	jmp	LBB0_36
LBB0_42:
	movq	_stderr@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%r14, %rdi
	callq	_ucl_parser_get_error
	leaq	L_.str.15(%rip), %rsi
LBB0_35:
	movq	%rbx, %rdi
	movq	%rax, %rdx
LBB0_36:
	xorl	%eax, %eax
	callq	_fprintf
LBB0_37:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
LBB0_45:
	movq	_stderr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	-64(%rbp), %rdx
	leaq	L_.str.16(%rip), %rsi
	jmp	LBB0_36
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_21
	.long	L0_0_set_20
	.long	L0_0_set_5
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_7
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_22
	.end_data_region
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function main.cold.1
_main.cold.1:                           ## @main.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str.11(%rip), %rdi
	callq	_perror
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function main.cold.2
_main.cold.2:                           ## @main.cold.2
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str.2(%rip), %rdi
	callq	_perror
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function main.cold.3
_main.cold.3:                           ## @main.cold.3
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str.4(%rip), %rdi
	callq	_perror
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_stdin,8,3                      ## @stdin
	.comm	_stdout,8,3                     ## @stdout
	.comm	_UCL_EMIT_CONFIG,8,3            ## @UCL_EMIT_CONFIG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hi:o:s:f:"

	.comm	_opts,4,2                       ## @opts
	.comm	_optarg,8,3                     ## @optarg
L_.str.1:                               ## @.str.1
	.asciz	"r"

L_.str.2:                               ## @.str.2
	.asciz	"fopen on input file"

	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
L_.str.3:                               ## @.str.3
	.asciz	"w"

L_.str.4:                               ## @.str.4
	.asciz	"fopen on output file"

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

L_.str.6:                               ## @.str.6
	.asciz	"json"

	.comm	_UCL_EMIT_JSON,8,3              ## @UCL_EMIT_JSON
L_.str.7:                               ## @.str.7
	.asciz	"yaml"

	.comm	_UCL_EMIT_YAML,8,3              ## @UCL_EMIT_YAML
L_.str.8:                               ## @.str.8
	.asciz	"compact_json"

	.comm	_UCL_EMIT_JSON_COMPACT,8,3      ## @UCL_EMIT_JSON_COMPACT
L_.str.9:                               ## @.str.9
	.asciz	"msgpack"

	.comm	_UCL_EMIT_MSGPACK,8,3           ## @UCL_EMIT_MSGPACK
	.comm	_stderr,8,3                     ## @stderr
L_.str.10:                              ## @.str.10
	.asciz	"Unknown output format: %s\n"

	.comm	_BUFSIZ,8,3                     ## @BUFSIZ
L_.str.11:                              ## @.str.11
	.asciz	"realloc"

L_.str.12:                              ## @.str.12
	.asciz	"Failed to read the input file.\n"

L_.str.13:                              ## @.str.13
	.asciz	"Failed to parse input file: %s\n"

L_.str.14:                              ## @.str.14
	.asciz	"Failed to get root object: %s\n"

L_.str.15:                              ## @.str.15
	.asciz	"Failed to parse schema file: %s\n"

L_.str.16:                              ## @.str.16
	.asciz	"Validation failed: %s\n"

L_.str.17:                              ## @.str.17
	.asciz	"%s\n"

.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, #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, x1
	mov	x24, x0
Lloh0:
	adrp	x8, _stdin@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stdin@GOTPAGEOFF]
Lloh2:
	ldr	x22, [x8]
Lloh3:
	adrp	x8, _stdout@GOTPAGE
Lloh4:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh5:
	ldr	x19, [x8]
Lloh6:
	adrp	x8, _UCL_EMIT_CONFIG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _UCL_EMIT_CONFIG@GOTPAGEOFF]
Lloh8:
	ldr	x20, [x8]
Lloh9:
	adrp	x25, _opts@GOTPAGE
Lloh10:
	ldr	x25, [x25, _opts@GOTPAGEOFF]
	ldr	w3, [x25]
Lloh11:
	adrp	x2, l_.str@PAGE
Lloh12:
	add	x2, x2, l_.str@PAGEOFF
	mov	x4, #0
	bl	_getopt_long
	cmn	w0, #1
	b.eq	LBB0_18
; %bb.1:
	mov	x21, #0
Lloh13:
	adrp	x27, lJTI0_0@PAGE
Lloh14:
	add	x27, x27, lJTI0_0@PAGEOFF
Lloh15:
	adrp	x26, _optarg@GOTPAGE
Lloh16:
	ldr	x26, [x26, _optarg@GOTPAGEOFF]
Lloh17:
	adrp	x28, l_.str@PAGE
Lloh18:
	add	x28, x28, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x21, [x26]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w3, [x25]
	mov	x0, x24
	mov	x1, x23
	mov	x2, x28
	mov	x4, #0
	bl	_getopt_long
	cmn	w0, #1
	b.eq	LBB0_19
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w8, w0
	sub	w8, w8, #102
	cmp	w8, #13
	b.hi	LBB0_36
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	adr	x9, LBB0_2
	ldrb	w10, [x27, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x20, [x26]
	mov	x0, x20
Lloh19:
	adrp	x1, l_.str.5@PAGE
Lloh20:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_14
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
Lloh21:
	adrp	x1, l_.str.6@PAGE
Lloh22:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_15
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
Lloh23:
	adrp	x1, l_.str.7@PAGE
Lloh24:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_16
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
Lloh25:
	adrp	x1, l_.str.8@PAGE
Lloh26:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_17
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
Lloh27:
	adrp	x1, l_.str.9@PAGE
Lloh28:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_strcmp
	cbnz	w0, LBB0_44
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh29:
	adrp	x8, _UCL_EMIT_MSGPACK@GOTPAGE
Lloh30:
	ldr	x8, [x8, _UCL_EMIT_MSGPACK@GOTPAGEOFF]
Lloh31:
	ldr	x20, [x8]
	b	LBB0_3
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x26]
Lloh32:
	adrp	x1, l_.str.1@PAGE
Lloh33:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fopen
	mov	x22, x0
	cbnz	x0, LBB0_3
	b	LBB0_38
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x26]
Lloh34:
	adrp	x1, l_.str.3@PAGE
Lloh35:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fopen
	mov	x19, x0
	cbnz	x0, LBB0_3
	b	LBB0_39
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh36:
	adrp	x8, _UCL_EMIT_CONFIG@GOTPAGE
Lloh37:
	ldr	x8, [x8, _UCL_EMIT_CONFIG@GOTPAGEOFF]
Lloh38:
	ldr	x20, [x8]
	b	LBB0_3
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh39:
	adrp	x8, _UCL_EMIT_JSON@GOTPAGE
Lloh40:
	ldr	x8, [x8, _UCL_EMIT_JSON@GOTPAGEOFF]
Lloh41:
	ldr	x20, [x8]
	b	LBB0_3
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh42:
	adrp	x8, _UCL_EMIT_YAML@GOTPAGE
Lloh43:
	ldr	x8, [x8, _UCL_EMIT_YAML@GOTPAGEOFF]
Lloh44:
	ldr	x20, [x8]
	b	LBB0_3
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh45:
	adrp	x8, _UCL_EMIT_JSON_COMPACT@GOTPAGE
Lloh46:
	ldr	x8, [x8, _UCL_EMIT_JSON_COMPACT@GOTPAGEOFF]
Lloh47:
	ldr	x20, [x8]
	b	LBB0_3
LBB0_18:
	mov	x21, #0
LBB0_19:
	mov	w0, #0
	bl	_ucl_parser_new
	mov	x23, x0
Lloh48:
	adrp	x8, _BUFSIZ@GOTPAGE
Lloh49:
	ldr	x8, [x8, _BUFSIZ@GOTPAGEOFF]
Lloh50:
	ldr	x26, [x8]
	mov	x0, x26
	bl	_malloc
	mov	x24, x0
	mov	x0, x22
	bl	_feof
	mov	x25, #0
	cbz	w0, LBB0_30
LBB0_20:
	mov	x0, x22
	bl	_ferror
	cbnz	x0, LBB0_42
; %bb.21:
	mov	x0, x22
	bl	_fclose
	mov	x0, x23
	mov	x1, x24
	mov	x2, x25
	bl	_ucl_parser_add_chunk
	cbz	w0, LBB0_43
; %bb.22:
	mov	x0, x23
	bl	_ucl_parser_get_object
	cbz	x0, LBB0_41
; %bb.23:
	mov	x22, x0
	cbz	x21, LBB0_27
; %bb.24:
	mov	w0, #0
	bl	_ucl_parser_new
	mov	x23, x0
	mov	x1, x21
	bl	_ucl_parser_add_file
	cbz	w0, LBB0_45
; %bb.25:
	mov	x0, x23
	bl	_ucl_parser_get_object
	cbz	x0, LBB0_41
; %bb.26:
	add	x2, sp, #8
	mov	x1, x22
	bl	_ucl_object_validate
	cbz	w0, LBB0_49
LBB0_27:
Lloh51:
	adrp	x8, _UCL_EMIT_MSGPACK@GOTPAGE
Lloh52:
	ldr	x8, [x8, _UCL_EMIT_MSGPACK@GOTPAGEOFF]
Lloh53:
	ldr	x8, [x8]
	cmp	x20, x8
	b.ne	LBB0_34
; %bb.28:
	add	x2, sp, #8
	mov	x0, x22
	mov	x1, x20
	bl	_ucl_object_emit_len
	ldr	x2, [sp, #8]
	mov	w1, #1
	mov	x3, x19
	bl	_fwrite
	b	LBB0_35
LBB0_29:                                ;   in Loop: Header=BB0_30 Depth=1
	add	x0, x24, x25
	sub	x2, x26, x25
	mov	w1, #1
	mov	x3, x22
	bl	_fread
	add	x25, x0, x25
	mov	x0, x22
	bl	_feof
	cbnz	w0, LBB0_20
LBB0_30:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_ferror
	cbnz	x0, LBB0_20
; %bb.31:                               ;   in Loop: Header=BB0_30 Depth=1
	cmp	x25, x26
	b.ne	LBB0_29
; %bb.32:                               ;   in Loop: Header=BB0_30 Depth=1
	lsl	x26, x25, #1
	mov	x0, x24
	mov	x1, x26
	bl	_realloc
	cbz	x0, LBB0_40
; %bb.33:                               ;   in Loop: Header=BB0_30 Depth=1
	mov	x24, x0
	b	LBB0_29
LBB0_34:
	mov	x0, x22
	mov	x1, x20
	bl	_ucl_object_emit
	str	x0, [sp]
Lloh54:
	adrp	x1, l_.str.17@PAGE
Lloh55:
	add	x1, x1, l_.str.17@PAGEOFF
	mov	x0, x19
	bl	_fprintf
LBB0_35:
	mov	w0, #0
	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
LBB0_36:
	ldr	x0, [x23]
Lloh56:
	adrp	x8, _stderr@GOTPAGE
Lloh57:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh58:
	ldr	x1, [x8]
	bl	_usage
	b	LBB0_48
LBB0_37:
	ldr	x0, [x23]
Lloh59:
	adrp	x8, _stdout@GOTPAGE
Lloh60:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh61:
	ldr	x1, [x8]
	bl	_usage
	mov	w0, #0
	bl	_exit
LBB0_38:
	bl	_main.cold.2
LBB0_39:
	bl	_main.cold.3
LBB0_40:
	bl	_main.cold.1
LBB0_41:
Lloh62:
	adrp	x8, _stderr@GOTPAGE
Lloh63:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh64:
	ldr	x19, [x8]
	mov	x0, x23
	bl	_ucl_parser_get_error
	str	x0, [sp]
Lloh65:
	adrp	x1, l_.str.14@PAGE
Lloh66:
	add	x1, x1, l_.str.14@PAGEOFF
	b	LBB0_46
LBB0_42:
Lloh67:
	adrp	x8, _stderr@GOTPAGE
Lloh68:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh69:
	ldr	x3, [x8]
Lloh70:
	adrp	x0, l_.str.12@PAGE
Lloh71:
	add	x0, x0, l_.str.12@PAGEOFF
	mov	w1, #31
	mov	w2, #1
	bl	_fwrite
	b	LBB0_48
LBB0_43:
Lloh72:
	adrp	x8, _stderr@GOTPAGE
Lloh73:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh74:
	ldr	x19, [x8]
	mov	x0, x23
	bl	_ucl_parser_get_error
	str	x0, [sp]
Lloh75:
	adrp	x1, l_.str.13@PAGE
Lloh76:
	add	x1, x1, l_.str.13@PAGEOFF
	b	LBB0_46
LBB0_44:
Lloh77:
	adrp	x8, _stderr@GOTPAGE
Lloh78:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh79:
	ldr	x0, [x8]
	str	x20, [sp]
Lloh80:
	adrp	x1, l_.str.10@PAGE
Lloh81:
	add	x1, x1, l_.str.10@PAGEOFF
	b	LBB0_47
LBB0_45:
Lloh82:
	adrp	x8, _stderr@GOTPAGE
Lloh83:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh84:
	ldr	x19, [x8]
	mov	x0, x23
	bl	_ucl_parser_get_error
	str	x0, [sp]
Lloh85:
	adrp	x1, l_.str.15@PAGE
Lloh86:
	add	x1, x1, l_.str.15@PAGEOFF
LBB0_46:
	mov	x0, x19
LBB0_47:
	bl	_fprintf
LBB0_48:
Lloh87:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh88:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh89:
	ldr	w0, [x8]
	bl	_exit
LBB0_49:
Lloh90:
	adrp	x8, _stderr@GOTPAGE
Lloh91:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh92:
	ldr	x0, [x8]
	ldr	x8, [sp, #8]
	str	x8, [sp]
Lloh93:
	adrp	x1, l_.str.16@PAGE
Lloh94:
	add	x1, x1, l_.str.16@PAGEOFF
	b	LBB0_47
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpAdd	Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpAdd	Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_36-LBB0_2)>>2
	.byte	(LBB0_37-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_36-LBB0_2)>>2
	.byte	(LBB0_36-LBB0_2)>>2
	.byte	(LBB0_36-LBB0_2)>>2
	.byte	(LBB0_36-LBB0_2)>>2
	.byte	(LBB0_36-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_36-LBB0_2)>>2
	.byte	(LBB0_36-LBB0_2)>>2
	.byte	(LBB0_36-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2                               ; -- Begin function main.cold.1
_main.cold.1:                           ; @main.cold.1
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh95:
	adrp	x0, l_.str.11@PAGE
Lloh96:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_perror
Lloh97:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh98:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh99:
	ldr	w0, [x8]
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpAdd	Lloh95, Lloh96
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function main.cold.2
_main.cold.2:                           ; @main.cold.2
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh100:
	adrp	x0, l_.str.2@PAGE
Lloh101:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_perror
Lloh102:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh103:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh104:
	ldr	w0, [x8]
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpAdd	Lloh100, Lloh101
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function main.cold.3
_main.cold.3:                           ; @main.cold.3
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh105:
	adrp	x0, l_.str.4@PAGE
Lloh106:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_perror
Lloh107:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh108:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh109:
	ldr	w0, [x8]
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh107, Lloh108, Lloh109
	.loh AdrpAdd	Lloh105, Lloh106
	.cfi_endproc
                                        ; -- End function
	.comm	_stdin,8,3                      ; @stdin
	.comm	_stdout,8,3                     ; @stdout
	.comm	_UCL_EMIT_CONFIG,8,3            ; @UCL_EMIT_CONFIG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hi:o:s:f:"

	.comm	_opts,4,2                       ; @opts
	.comm	_optarg,8,3                     ; @optarg
l_.str.1:                               ; @.str.1
	.asciz	"r"

l_.str.2:                               ; @.str.2
	.asciz	"fopen on input file"

	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
l_.str.3:                               ; @.str.3
	.asciz	"w"

l_.str.4:                               ; @.str.4
	.asciz	"fopen on output file"

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

l_.str.6:                               ; @.str.6
	.asciz	"json"

	.comm	_UCL_EMIT_JSON,8,3              ; @UCL_EMIT_JSON
l_.str.7:                               ; @.str.7
	.asciz	"yaml"

	.comm	_UCL_EMIT_YAML,8,3              ; @UCL_EMIT_YAML
l_.str.8:                               ; @.str.8
	.asciz	"compact_json"

	.comm	_UCL_EMIT_JSON_COMPACT,8,3      ; @UCL_EMIT_JSON_COMPACT
l_.str.9:                               ; @.str.9
	.asciz	"msgpack"

	.comm	_UCL_EMIT_MSGPACK,8,3           ; @UCL_EMIT_MSGPACK
	.comm	_stderr,8,3                     ; @stderr
l_.str.10:                              ; @.str.10
	.asciz	"Unknown output format: %s\n"

	.comm	_BUFSIZ,8,3                     ; @BUFSIZ
l_.str.11:                              ; @.str.11
	.asciz	"realloc"

l_.str.12:                              ; @.str.12
	.asciz	"Failed to read the input file.\n"

l_.str.13:                              ; @.str.13
	.asciz	"Failed to parse input file: %s\n"

l_.str.14:                              ; @.str.14
	.asciz	"Failed to get root object: %s\n"

l_.str.15:                              ; @.str.15
	.asciz	"Failed to parse schema file: %s\n"

l_.str.16:                              ; @.str.16
	.asciz	"Validation failed: %s\n"

l_.str.17:                              ; @.str.17
	.asciz	"%s\n"

.subsections_via_symbols
