	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function main
LCPI0_0:
	.quad	0x4024333333333333              ## double 10.1
LCPI0_1:
	.quad	0x4023ff7ced916873              ## double 9.9990000000000005
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$2, %edi
	jne	LBB0_4
## %bb.1:
	movq	8(%rsi), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.2:
	leaq	L_.str(%rip), %rsi
	callq	_fopen
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:
	movq	_errno@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	callq	_exit
LBB0_4:
	movq	_stdout@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
LBB0_5:
	movq	_UCL_OBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ucl_object_typed_new
	movq	%rax, %r12
	movq	_UCL_STRING_TRIM@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	leaq	L_.str.1(%rip), %rdi
	xorl	%esi, %esi
	callq	_ucl_object_fromstring_common
	leaq	L_.str.2(%rip), %rdx
	movq	%r12, %rdi
	movq	%rax, %rsi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_ucl_object_insert_key
	movq	_UCL_STRING_ESCAPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	(%rbx), %edx
	leaq	L_.str.3(%rip), %rdi
	xorl	%esi, %esi
	callq	_ucl_object_fromstring_common
	leaq	L_.str.4(%rip), %rdx
	movq	%r12, %rdi
	movq	%rax, %rsi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_ucl_object_insert_key
	leaq	L_.str.5(%rip), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_ucl_object_fromstring_common
	leaq	L_.str.6(%rip), %rdx
	movq	%r12, %rdi
	movq	%rax, %rsi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_ucl_object_insert_key
	movq	%r14, %rdi
	callq	_ucl_object_emit_file_funcs
	movq	%rax, %r15
	movq	_UCL_EMIT_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	_ucl_object_emit_streamline_new
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	movq	_UCL_ARRAY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ucl_object_typed_new
	leaq	L_.str.7(%rip), %rcx
	movq	%rcx, (%rax)
	movl	$4, 8(%rax)
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_ucl_object_emit_streamline_start_container
	movl	$10, %edi
	callq	_ucl_object_fromint
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_ucl_object_emit_streamline_add_object
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	callq	_ucl_object_fromdouble
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_ucl_object_emit_streamline_add_object
	movsd	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero
	callq	_ucl_object_fromdouble
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_ucl_object_emit_streamline_add_object
	movq	%rbx, %rdi
	callq	_ucl_object_emit_streamline_end_container
	movq	%rbx, %rdi
	callq	_ucl_object_emit_streamline_finish
	movq	%r15, %rdi
	callq	_ucl_object_emit_funcs_free
	movq	%r12, %rdi
	callq	_ucl_object_unref
	movq	%r14, %rdi
	callq	_fclose
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"w"

	.comm	_errno,4,2                      ## @errno
	.comm	_stdout,8,3                     ## @stdout
	.comm	_UCL_OBJECT,4,2                 ## @UCL_OBJECT
L_.str.1:                               ## @.str.1
	.asciz	"  test string    "

	.comm	_UCL_STRING_TRIM,4,2            ## @UCL_STRING_TRIM
L_.str.2:                               ## @.str.2
	.asciz	"key1"

L_.str.3:                               ## @.str.3
	.asciz	"  test \nstring\n    "

	.comm	_UCL_STRING_ESCAPE,4,2          ## @UCL_STRING_ESCAPE
L_.str.4:                               ## @.str.4
	.asciz	"key2"

L_.str.5:                               ## @.str.5
	.asciz	"  test string    \n"

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

	.comm	_UCL_EMIT_CONFIG,4,2            ## @UCL_EMIT_CONFIG
	.comm	_UCL_ARRAY,4,2                  ## @UCL_ARRAY
L_.str.7:                               ## @.str.7
	.asciz	"key4"

.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:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	cmp	w0, #2
	b.ne	LBB0_4
; %bb.1:
	ldr	x0, [x1, #8]
	cbz	x0, LBB0_4
; %bb.2:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fopen
	mov	x19, x0
	cbnz	x0, LBB0_5
; %bb.3:
Lloh2:
	adrp	x8, _errno@GOTPAGE
Lloh3:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	bl	_exit
LBB0_4:
Lloh5:
	adrp	x8, _stdout@GOTPAGE
Lloh6:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh7:
	ldr	x19, [x8]
LBB0_5:
Lloh8:
	adrp	x8, _UCL_OBJECT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _UCL_OBJECT@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_ucl_object_typed_new
	mov	x20, x0
Lloh11:
	adrp	x21, _UCL_STRING_TRIM@GOTPAGE
Lloh12:
	ldr	x21, [x21, _UCL_STRING_TRIM@GOTPAGEOFF]
	ldr	w2, [x21]
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w1, #0
	bl	_ucl_object_fromstring_common
	mov	x1, x0
Lloh15:
	adrp	x2, l_.str.2@PAGE
Lloh16:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	w3, #0
	mov	w4, #0
	bl	_ucl_object_insert_key
	ldr	w8, [x21]
Lloh17:
	adrp	x9, _UCL_STRING_ESCAPE@GOTPAGE
Lloh18:
	ldr	x9, [x9, _UCL_STRING_ESCAPE@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w2, w9, w8
Lloh20:
	adrp	x0, l_.str.3@PAGE
Lloh21:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	w1, #0
	bl	_ucl_object_fromstring_common
	mov	x1, x0
Lloh22:
	adrp	x2, l_.str.4@PAGE
Lloh23:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	w3, #0
	mov	w4, #0
	bl	_ucl_object_insert_key
Lloh24:
	adrp	x0, l_.str.5@PAGE
Lloh25:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	w1, #0
	mov	w2, #0
	bl	_ucl_object_fromstring_common
	mov	x1, x0
Lloh26:
	adrp	x2, l_.str.6@PAGE
Lloh27:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x20
	mov	w3, #0
	mov	w4, #0
	bl	_ucl_object_insert_key
	mov	x0, x19
	bl	_ucl_object_emit_file_funcs
	mov	x21, x0
Lloh28:
	adrp	x8, _UCL_EMIT_CONFIG@GOTPAGE
Lloh29:
	ldr	x8, [x8, _UCL_EMIT_CONFIG@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x21
	bl	_ucl_object_emit_streamline_new
	mov	x22, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
Lloh31:
	adrp	x8, _UCL_ARRAY@GOTPAGE
Lloh32:
	ldr	x8, [x8, _UCL_ARRAY@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	bl	_ucl_object_typed_new
	mov	x1, x0
Lloh34:
	adrp	x8, l_.str.7@PAGE
Lloh35:
	add	x8, x8, l_.str.7@PAGEOFF
	str	x8, [x0]
	mov	w8, #4
	str	w8, [x0, #8]
	mov	x0, x22
	bl	_ucl_object_emit_streamline_start_container
	mov	w0, #10
	bl	_ucl_object_fromint
	mov	x1, x0
	mov	x0, x22
	bl	_ucl_object_emit_streamline_add_object
	mov	x8, #3689348814741910323
	movk	x8, #16420, lsl #48
	fmov	d0, x8
	bl	_ucl_object_fromdouble
	mov	x1, x0
	mov	x0, x22
	bl	_ucl_object_emit_streamline_add_object
	mov	x8, #26739
	movk	x8, #60817, lsl #16
	movk	x8, #65404, lsl #32
	movk	x8, #16419, lsl #48
	fmov	d0, x8
	bl	_ucl_object_fromdouble
	mov	x1, x0
	mov	x0, x22
	bl	_ucl_object_emit_streamline_add_object
	mov	x0, x22
	bl	_ucl_object_emit_streamline_end_container
	mov	x0, x22
	bl	_ucl_object_emit_streamline_finish
	mov	x0, x21
	bl	_ucl_object_emit_funcs_free
	mov	x0, x20
	bl	_ucl_object_unref
	mov	x0, x19
	bl	_fclose
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"w"

	.comm	_errno,4,2                      ; @errno
	.comm	_stdout,8,3                     ; @stdout
	.comm	_UCL_OBJECT,4,2                 ; @UCL_OBJECT
l_.str.1:                               ; @.str.1
	.asciz	"  test string    "

	.comm	_UCL_STRING_TRIM,4,2            ; @UCL_STRING_TRIM
l_.str.2:                               ; @.str.2
	.asciz	"key1"

l_.str.3:                               ; @.str.3
	.asciz	"  test \nstring\n    "

	.comm	_UCL_STRING_ESCAPE,4,2          ; @UCL_STRING_ESCAPE
l_.str.4:                               ; @.str.4
	.asciz	"key2"

l_.str.5:                               ; @.str.5
	.asciz	"  test string    \n"

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

	.comm	_UCL_EMIT_CONFIG,4,2            ; @UCL_EMIT_CONFIG
	.comm	_UCL_ARRAY,4,2                  ; @UCL_ARRAY
l_.str.7:                               ; @.str.7
	.asciz	"key4"

.subsections_via_symbols
