	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$1, %edi
	jg	LBB0_3
LBB0_1:
	movl	$1, %edi
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_showusage                      ## TAILCALL
LBB0_3:
	movq	%rsi, %r15
	movl	%edi, %r12d
	movq	_MODE_DFLT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	8(%rsi), %rsi
	cmpb	$45, (%rsi)
	jne	LBB0_10
## %bb.4:
	movsbl	1(%rsi), %ecx
	leal	-48(%rcx), %eax
	cmpl	$70, %eax
	ja	LBB0_8
## %bb.5:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_6:
	cmpl	$2, %r12d
	jbe	LBB0_1
## %bb.7:
	movq	_MODE_ZERO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_42
LBB0_8:
	testl	%ecx, %ecx
	je	LBB0_10
LBB0_9:
	leaq	L_.str(%rip), %rdi
	callq	_eprintf
	movq	8(%r15), %rsi
LBB0_10:
	leaq	L_.str.1(%rip), %rbx
	movq	%rsi, %rdi
	movq	%rbx, %rsi
	callq	_strcmp
	movl	$1, %r13d
	testl	%eax, %eax
	jne	LBB0_13
## %bb.11:
	leaq	L_.str.2(%rip), %rax
	movq	%rax, 8(%r15)
	cmpl	$2, %r12d
	jne	LBB0_13
## %bb.12:
	movq	%rbx, 8(%r15)
	movl	$2, -48(%rbp)                   ## 4-byte Folded Spill
	movl	$3, %r12d
	movl	$1, %r14d
	jmp	LBB0_28
LBB0_39:
	cmpl	$4, %r12d
	jne	LBB0_54
## %bb.40:
	movq	16(%r15), %rdi
	movq	24(%r15), %rsi
	callq	_dbdiff
	xorl	%r13d, %r13d
	testl	%eax, %eax
	sete	%r13b
	jmp	LBB0_38
LBB0_41:
	movq	_SDB_OPTION_JOURNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_options@GOTPCREL(%rip), %rcx
	orl	%eax, (%rcx)
	cmpl	$2, %r12d
	jbe	LBB0_1
LBB0_42:
	movl	$2, %r13d
LBB0_13:
	xorl	%edx, %edx
LBB0_14:
	leal	-1(%r12), %eax
	cmpl	%r13d, %eax
	jne	LBB0_17
## %bb.15:
	movl	%r13d, %eax
	movq	(%r15,%rax,8), %rdi
	testq	%rdx, %rdx
	je	LBB0_25
## %bb.16:
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sdb_grep                       ## TAILCALL
LBB0_17:
	movl	%r13d, %r14d
	movq	8(%r15,%r14,8), %rbx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_27
## %bb.18:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	movq	(%r15,%r14,8), %rsi
	testl	%eax, %eax
	je	LBB0_36
## %bb.19:
	movl	%r13d, %ebx
	xorl	%r13d, %r13d
	xorl	%edi, %edi
	xorl	%edx, %edx
	callq	_sdb_new
	movq	_s@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	testl	%eax, %eax
	je	LBB0_53
## %bb.20:
	incl	%ebx
	movq	_options@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_sdb_config
	cmpl	%r12d, %ebx
	jae	LBB0_37
## %bb.21:
	incq	%r14
	movl	%r12d, %r12d
	movq	_save@GOTPCREL(%rip), %rbx
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_23 Depth=1
	incq	%r14
	cmpq	%r14, %r12
	je	LBB0_37
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movq	_s@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15,%r14,8), %rsi
	callq	_sdb_query
	orl	%eax, (%rbx)
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_22
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
	movl	$1, %edi
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edx
	callq	_write
	jmp	LBB0_22
LBB0_25:
	movl	-44(%rbp), %esi                 ## 4-byte Reload
LBB0_26:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sdb_dump                       ## TAILCALL
LBB0_27:
	movq	(%r15,%r14,8), %rbx
	movl	%r13d, %r14d
	movl	%r13d, -48(%rbp)                ## 4-byte Spill
LBB0_28:
	xorl	%r13d, %r13d
	xorl	%edi, %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_sdb_new
	movq	_s@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	testl	%eax, %eax
	je	LBB0_37
## %bb.29:
	movq	_options@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_sdb_config
	addl	$2, %r14d
	subl	%r14d, %r12d
	jbe	LBB0_31
## %bb.30:
	movq	_s@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	leaq	(%r15,%rax,8), %rsi
	addq	$16, %rsi
	movl	%r12d, %edx
	movl	$45, %ecx
	callq	_insertkeys
	movq	_save@GOTPCREL(%rip), %rcx
	orl	%eax, (%rcx)
LBB0_31:
	xorl	%r13d, %r13d
	xorl	%edi, %edi
	callq	_stdin_slurp
	testq	%rax, %rax
	je	LBB0_37
## %bb.32:
	movq	%rax, %rbx
	movq	_save@GOTPCREL(%rip), %r14
	movq	_stdout@GOTPCREL(%rip), %r12
	leaq	L_.str.2(%rip), %r15
	jmp	LBB0_34
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_34 Depth=1
	movq	%rbx, %rdi
	callq	_free
	xorl	%r13d, %r13d
	xorl	%edi, %edi
	callq	_stdin_slurp
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_37
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	movq	_s@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_sdb_query
	orl	%eax, (%r14)
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_33
## %bb.35:                              ##   in Loop: Header=BB0_34 Depth=1
	movl	(%r12), %edi
	callq	_fflush
	movl	$1, %edi
	movq	%r15, %rsi
	movl	$1, %edx
	callq	_write
	jmp	LBB0_33
LBB0_36:
	movq	%rsi, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_createdb
	movl	%eax, %r13d
LBB0_37:
	movl	%r13d, %edi
	callq	_terminate
LBB0_38:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_43:
	cmpl	$2, %r12d
	jbe	LBB0_1
## %bb.44:
	movq	16(%r15), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_showcount                      ## TAILCALL
LBB0_45:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_base64decode                   ## TAILCALL
LBB0_46:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_base64encode                   ## TAILCALL
LBB0_47:
	cmpl	$3, %r12d
	jbe	LBB0_1
## %bb.48:
	movq	16(%r15), %rdx
	movl	$3, %r13d
	jmp	LBB0_14
LBB0_49:
	movl	$2, %edi
	jmp	LBB0_2
LBB0_50:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_showversion                    ## TAILCALL
LBB0_51:
	cmpl	$3, %r12d
	jb	LBB0_55
## %bb.52:
	movq	16(%r15), %rdi
	movq	_MODE_JSON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	jmp	LBB0_26
LBB0_53:
	movl	$1, %r13d
	jmp	LBB0_38
LBB0_54:
	xorl	%edi, %edi
	jmp	LBB0_2
LBB0_55:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_jsonIndent                     ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_39, LBB0_39-LJTI0_0
.set L0_0_set_41, LBB0_41-LJTI0_0
.set L0_0_set_43, LBB0_43-LJTI0_0
.set L0_0_set_45, LBB0_45-LJTI0_0
.set L0_0_set_46, LBB0_46-LJTI0_0
.set L0_0_set_47, LBB0_47-LJTI0_0
.set L0_0_set_49, LBB0_49-LJTI0_0
.set L0_0_set_51, LBB0_51-LJTI0_0
.set L0_0_set_50, LBB0_50-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_39
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_41
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_43
	.long	L0_0_set_45
	.long	L0_0_set_46
	.long	L0_0_set_9
	.long	L0_0_set_47
	.long	L0_0_set_49
	.long	L0_0_set_9
	.long	L0_0_set_51
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_50
	.end_data_region
                                        ## -- End function
	.comm	_MODE_DFLT,4,2                  ## @MODE_DFLT
	.comm	_MODE_ZERO,4,2                  ## @MODE_ZERO
	.comm	_SDB_OPTION_JOURNAL,4,2         ## @SDB_OPTION_JOURNAL
	.comm	_options,4,2                    ## @options
	.comm	_MODE_JSON,4,2                  ## @MODE_JSON
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid flag %s\n"

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

L_.str.2:                               ## @.str.2
	.space	1

	.comm	_s,4,2                          ## @s
	.comm	_save,4,2                       ## @save
	.comm	_stdout,4,2                     ## @stdout
L_.str.3:                               ## @.str.3
	.asciz	"="

	.comm	_SIGHUP,4,2                     ## @SIGHUP
	.comm	_SIGINT,4,2                     ## @SIGINT
.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	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	subs	w24, w0, #1
	b.gt	LBB0_3
LBB0_1:
	mov	w0, #1
LBB0_2:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_showusage
LBB0_3:
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _MODE_DFLT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MODE_DFLT@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	ldr	x1, [x1, #8]
	ldrb	w8, [x1]
	cmp	w8, #45
	b.ne	LBB0_10
; %bb.4:
	ldrsb	w8, [x1, #1]
	sub	w9, w8, #48
	cmp	w9, #70
	b.hi	LBB0_8
; %bb.5:
Lloh3:
	adrp	x8, lJTI0_0@PAGE
Lloh4:
	add	x8, x8, lJTI0_0@PAGEOFF
	adr	x10, LBB0_6
	ldrb	w11, [x8, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_6:
	cmp	w21, #2
	b.ls	LBB0_1
; %bb.7:
	mov	x2, #0
Lloh5:
	adrp	x8, _MODE_ZERO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MODE_ZERO@GOTPAGEOFF]
Lloh7:
	ldr	w19, [x8]
	mov	w23, #2
	b	LBB0_14
LBB0_8:
	cbz	w8, LBB0_10
LBB0_9:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_eprintf
	ldr	x1, [x20, #8]
LBB0_10:
Lloh10:
	adrp	x22, l_.str.1@PAGE
Lloh11:
	add	x22, x22, l_.str.1@PAGEOFF
	mov	x0, x1
	mov	x1, x22
	bl	_strcmp
	cbnz	w0, LBB0_13
; %bb.11:
Lloh12:
	adrp	x8, l_.str.2@PAGE
Lloh13:
	add	x8, x8, l_.str.2@PAGEOFF
	str	x8, [x20, #8]
	cmp	w21, #2
	b.ne	LBB0_13
; %bb.12:
	str	x22, [x20, #8]
	mov	w24, #2
	mov	w21, #3
	mov	w23, #1
	b	LBB0_26
LBB0_13:
	mov	x2, #0
	mov	w23, #1
LBB0_14:
	cmp	w24, w23
	b.ne	LBB0_17
; %bb.15:
	ldr	x0, [x20, w23, uxtw #3]
	mov	x1, x19
	cbz	x2, LBB0_52
; %bb.16:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_sdb_grep
LBB0_17:
	add	w24, w23, #1
	ldr	x22, [x20, w24, uxtw #3]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	w0, LBB0_25
; %bb.18:
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	ldr	x1, [x20, w23, uxtw #3]
	cbz	w0, LBB0_37
; %bb.19:
	mov	x0, #0
	mov	w2, #0
	bl	_sdb_new
Lloh18:
	adrp	x22, _s@GOTPAGE
Lloh19:
	ldr	x22, [x22, _s@GOTPAGEOFF]
	str	w0, [x22]
	cbz	w0, LBB0_53
; %bb.20:
Lloh20:
	adrp	x8, _options@GOTPAGE
Lloh21:
	ldr	x8, [x8, _options@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	bl	_sdb_config
	cmp	w24, w21
	b.hs	LBB0_34
; %bb.21:
	mov	w8, w23
	add	x9, x20, x8, lsl #3
	add	x23, x9, #8
	mvn	x8, x8
	add	x21, x8, w21, uxtw
Lloh23:
	adrp	x24, _save@GOTPAGE
Lloh24:
	ldr	x24, [x24, _save@GOTPAGEOFF]
Lloh25:
	adrp	x25, _stdout@GOTPAGE
Lloh26:
	ldr	x25, [x25, _stdout@GOTPAGEOFF]
Lloh27:
	adrp	x20, l_.str.2@PAGE
Lloh28:
	add	x20, x20, l_.str.2@PAGEOFF
	b	LBB0_23
LBB0_22:                                ;   in Loop: Header=BB0_23 Depth=1
	add	x23, x23, #8
	subs	x21, x21, #1
	b.eq	LBB0_34
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22]
	ldr	x1, [x23]
	bl	_sdb_query
	ldr	w8, [x24]
	orr	w8, w8, w0
	str	w8, [x24]
	cbz	w19, LBB0_22
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	ldr	w0, [x25]
	bl	_fflush
	mov	w0, #1
	mov	x1, x20
	mov	w2, #1
	bl	_write
	b	LBB0_22
LBB0_25:
	ldr	x22, [x20, w23, uxtw #3]
	mov	x24, x23
LBB0_26:
	mov	x0, #0
	mov	x1, x22
	mov	w2, #0
	bl	_sdb_new
Lloh29:
	adrp	x22, _s@GOTPAGE
Lloh30:
	ldr	x22, [x22, _s@GOTPAGEOFF]
	str	w0, [x22]
	cbz	w0, LBB0_34
; %bb.27:
Lloh31:
	adrp	x8, _options@GOTPAGE
Lloh32:
	ldr	x8, [x8, _options@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	bl	_sdb_config
	add	w8, w23, #2
	subs	w2, w21, w8
	b.ls	LBB0_29
; %bb.28:
	ldr	w0, [x22]
	add	x8, x20, w24, uxtw #3
	add	x1, x8, #16
	mov	w3, #45
	bl	_insertkeys
Lloh34:
	adrp	x8, _save@GOTPAGE
Lloh35:
	ldr	x8, [x8, _save@GOTPAGEOFF]
	ldr	w9, [x8]
	orr	w9, w9, w0
	str	w9, [x8]
LBB0_29:
	mov	x0, #0
	bl	_stdin_slurp
	cbz	x0, LBB0_34
; %bb.30:
	mov	x21, x0
Lloh36:
	adrp	x23, _save@GOTPAGE
Lloh37:
	ldr	x23, [x23, _save@GOTPAGEOFF]
Lloh38:
	adrp	x24, _stdout@GOTPAGE
Lloh39:
	ldr	x24, [x24, _stdout@GOTPAGEOFF]
Lloh40:
	adrp	x20, l_.str.2@PAGE
Lloh41:
	add	x20, x20, l_.str.2@PAGEOFF
	b	LBB0_32
LBB0_31:                                ;   in Loop: Header=BB0_32 Depth=1
	mov	x0, x21
	bl	_free
	mov	x0, #0
	bl	_stdin_slurp
	mov	x21, x0
	cbz	x0, LBB0_34
LBB0_32:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22]
	mov	x1, x21
	bl	_sdb_query
	ldr	w8, [x23]
	orr	w8, w8, w0
	str	w8, [x23]
	cbz	w19, LBB0_31
; %bb.33:                               ;   in Loop: Header=BB0_32 Depth=1
	ldr	w0, [x24]
	bl	_fflush
	mov	w0, #1
	mov	x1, x20
	mov	w2, #1
	bl	_write
	b	LBB0_31
LBB0_34:
	mov	w19, #0
LBB0_35:
	mov	x0, x19
	bl	_terminate
LBB0_36:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_37:
	mov	x0, x1
	mov	x1, #0
	mov	w2, #0
	bl	_createdb
	mov	x19, x0
	b	LBB0_35
LBB0_38:
	cmp	w21, #4
	b.ne	LBB0_54
; %bb.39:
	ldp	x0, x1, [x20, #16]
	bl	_dbdiff
	cmp	w0, #0
	cset	w19, eq
	b	LBB0_36
LBB0_40:
Lloh42:
	adrp	x8, _SDB_OPTION_JOURNAL@GOTPAGE
Lloh43:
	ldr	x8, [x8, _SDB_OPTION_JOURNAL@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
Lloh45:
	adrp	x9, _options@GOTPAGE
Lloh46:
	ldr	x9, [x9, _options@GOTPAGEOFF]
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
	cmp	w21, #2
	b.ls	LBB0_1
; %bb.41:
	mov	x2, #0
	mov	w23, #2
	b	LBB0_14
LBB0_42:
	cmp	w21, #2
	b.ls	LBB0_1
; %bb.43:
	ldr	x0, [x20, #16]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_showcount
LBB0_44:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_base64decode
LBB0_45:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_base64encode
LBB0_46:
	cmp	w21, #3
	b.ls	LBB0_1
; %bb.47:
	ldr	x2, [x20, #16]
	mov	w23, #3
	b	LBB0_14
LBB0_48:
	mov	w0, #2
	b	LBB0_2
LBB0_49:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_showversion
LBB0_50:
	cmp	w21, #3
	b.lo	LBB0_55
; %bb.51:
	ldr	x0, [x20, #16]
Lloh47:
	adrp	x8, _MODE_JSON@GOTPAGE
Lloh48:
	ldr	x8, [x8, _MODE_JSON@GOTPAGEOFF]
Lloh49:
	ldr	w1, [x8]
LBB0_52:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_sdb_dump
LBB0_53:
	mov	w19, #1
	b	LBB0_36
LBB0_54:
	mov	w0, #0
	b	LBB0_2
LBB0_55:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_jsonIndent
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_38-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_40-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_42-LBB0_6)>>2
	.byte	(LBB0_44-LBB0_6)>>2
	.byte	(LBB0_45-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_46-LBB0_6)>>2
	.byte	(LBB0_48-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_50-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_49-LBB0_6)>>2
                                        ; -- End function
	.comm	_MODE_DFLT,4,2                  ; @MODE_DFLT
	.comm	_MODE_ZERO,4,2                  ; @MODE_ZERO
	.comm	_SDB_OPTION_JOURNAL,4,2         ; @SDB_OPTION_JOURNAL
	.comm	_options,4,2                    ; @options
	.comm	_MODE_JSON,4,2                  ; @MODE_JSON
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid flag %s\n"

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

l_.str.2:                               ; @.str.2
	.space	1

	.comm	_s,4,2                          ; @s
	.comm	_save,4,2                       ; @save
	.comm	_stdout,4,2                     ; @stdout
l_.str.3:                               ; @.str.3
	.asciz	"="

	.comm	_SIGHUP,4,2                     ; @SIGHUP
	.comm	_SIGINT,4,2                     ; @SIGINT
.subsections_via_symbols
