	.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	%rbx
	pushq	%rax
	movl	$4120, %eax                     ## imm = 0x1018
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_stdin@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-4128(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$4096, %edx                     ## imm = 0x1000
	callq	_fread
	cltq
	movb	$0, -4128(%rbp,%rax)
	movq	%rbx, %rdi
	callq	_sdb_json_unindent
	leaq	L_.str(%rip), %r15
	movq	%r15, %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_printf
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_sdb_json_indent
	movq	%r15, %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_printf
	leaq	L_.str.2(%rip), %rsi
	leaq	L_.str.3(%rip), %rdx
	movq	%rbx, %rdi
	callq	_api_json_set
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_puts
	movq	%rbx, %rdi
	callq	_free
	jmp	LBB0_3
LBB0_2:
	leaq	L_str(%rip), %rdi
	callq	_puts
LBB0_3:
	movq	8(%r14), %rsi
	leaq	-4128(%rbp), %rdi
	callq	_json_get
	movl	%eax, -4132(%rbp)
	leaq	L_str.8(%rip), %rdi
	callq	_puts
	leaq	-4132(%rbp), %rdi
	callq	_rangstr_print
	movl	$10, %edi
	callq	_putchar
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	addq	$4120, %rsp                     ## imm = 0x1018
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_stdin,4,2                      ## @stdin
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	">>>> %s <<<<\n"

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

L_.str.2:                               ## @.str.2
	.asciz	"glossary.title"

L_.str.3:                               ## @.str.3
	.asciz	"patata"

L_str:                                  ## @str
	.asciz	"set failed"

L_str.8:                                ## @str.8
	.asciz	"-- output --"

.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	x28, x27, [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 w27, -40
	.cfi_offset w28, -48
	mov	w9, #4128
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #1, lsl #12             ; =4096
	sub	sp, sp, #32
	mov	x19, x1
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh5:
	adrp	x8, _stdin@GOTPAGE
Lloh6:
	ldr	x8, [x8, _stdin@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	add	x20, sp, #24
	add	x0, sp, #24
	mov	w1, #1
	mov	w2, #4096
	bl	_fread
	strb	wzr, [x20, w0, sxtw]
	add	x0, sp, #24
	bl	_sdb_json_unindent
	str	x0, [sp]
Lloh8:
	adrp	x20, l_.str@PAGE
Lloh9:
	add	x20, x20, l_.str@PAGEOFF
	mov	x0, x20
	bl	_printf
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #24
	bl	_sdb_json_indent
	str	x0, [sp]
	mov	x0, x20
	bl	_printf
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
Lloh14:
	adrp	x2, l_.str.3@PAGE
Lloh15:
	add	x2, x2, l_.str.3@PAGEOFF
	add	x0, sp, #24
	bl	_api_json_set
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x0
	bl	_puts
	mov	x0, x20
	bl	_free
	b	LBB0_3
LBB0_2:
Lloh16:
	adrp	x0, l_str@PAGE
Lloh17:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
LBB0_3:
	ldr	x1, [x19, #8]
	add	x0, sp, #24
	bl	_json_get
	str	w0, [sp, #20]
Lloh18:
	adrp	x0, l_str.8@PAGE
Lloh19:
	add	x0, x0, l_str.8@PAGEOFF
	bl	_puts
	add	x0, sp, #20
	bl	_rangstr_print
	mov	w0, #10
	bl	_putchar
	ldur	x8, [x29, #-40]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	mov	w0, #0
	add	sp, sp, #1, lsl #12             ; =4096
	add	sp, sp, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_stdin,4,2                      ; @stdin
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	">>>> %s <<<<\n"

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

l_.str.2:                               ; @.str.2
	.asciz	"glossary.title"

l_.str.3:                               ; @.str.3
	.asciz	"patata"

l_str:                                  ; @str
	.asciz	"set failed"

l_str.8:                                ; @str.8
	.asciz	"-- output --"

.subsections_via_symbols
