	.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
	movq	%rsi, %r14
	movl	%edi, %ebx
	movq	(%rsi), %rax
	movq	_progname@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	leaq	L_.str(%rip), %r15
	leaq	LJTI0_0(%rip), %r13
	movq	_optarg@GOTPCREL(%rip), %r12
	jmp	LBB0_1
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r12), %rax
	movq	_logname@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_getopt
                                        ## kill: def $eax killed $eax def $rax
	leal	-99(%rax), %ecx
	cmpl	$19, %ecx
	ja	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movslq	(%r13,%rcx,4), %rcx
	addq	%r13, %rcx
	jmpq	*%rcx
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r12), %rdi
	callq	_atoi
	movq	_maxconn@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_1
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r12), %rax
	movq	_username@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_1
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_verbosity@GOTPCREL(%rip), %rax
	incq	(%rax)
	jmp	LBB0_1
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$-1, %eax
	je	LBB0_9
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edx
	callq	_fprintf
	xorl	%eax, %eax
	callq	_usage
	jmp	LBB0_1
LBB0_9:
	movq	_optind@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	addl	$2, %eax
	cmpl	%ebx, %eax
	jne	LBB0_10
## %bb.11:
	movq	_maxconn@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	addq	$16, %rdi
	callq	_raise_file_rlimit
	testq	%rax, %rax
	js	LBB0_12
## %bb.14:
	movq	_username@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_change_user
	testq	%rax, %rax
	js	LBB0_15
## %bb.16:
	movslq	(%r12), %rax
	movq	(%r14,%rax,8), %rdi
	movl	$1, %esi
	callq	_binlog_load
	movq	%rax, %r15
	movl	%r15d, %edi
	callq	_assert
	movslq	(%r12), %rax
	movq	8(%r14,%rax,8), %rdi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	callq	_binlog_load
	movq	%rax, %rbx
	movl	%ebx, %edi
	callq	_assert
	movq	_binlogname@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_assert
	movq	_binlog_disabled@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	$0, (%rax)
	sete	%dil
	callq	_assert
	movq	_Binlog@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_append_to_binlog
	movq	_log_readto_pos@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_assert
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_zones_merge
	xorl	%eax, %eax
	callq	_flush_binlog_last
	movl	$2, %edi
	callq	_sync_binlog
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_18
## %bb.17:
	movq	_stdout@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_add_logevents@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.5(%rip), %rsi
	callq	_fprintf
	movl	(%rbx), %edi
	movq	_delete_logevents@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.6(%rip), %rsi
	callq	_fprintf
	jmp	LBB0_18
LBB0_10:
	xorl	%eax, %eax
	callq	_usage
	movl	$2, %r14d
LBB0_18:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	(%rbx), %rsi
	addq	$16, %rsi
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_13
LBB0_15:
	movq	(%rbx), %rax
	testq	%rax, %rax
	leaq	L_.str.4(%rip), %rsi
	cmovneq	%rax, %rsi
	leaq	L_.str.3(%rip), %rdi
LBB0_13:
	callq	_kprintf
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_6
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_7
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_progname,8,3                   ## @progname
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"c:l:u:v"

	.comm	_optarg,8,3                     ## @optarg
	.comm	_maxconn,8,3                    ## @maxconn
	.comm	_logname,8,3                    ## @logname
	.comm	_username,8,3                   ## @username
	.comm	_verbosity,8,3                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"Unimplemented option %c\n"

	.comm	_optind,4,2                     ## @optind
L_.str.2:                               ## @.str.2
	.asciz	"fatal: cannot raise open file limit to %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"fatal: cannot change user to %s\n"

L_.str.4:                               ## @.str.4
	.asciz	"(none)"

	.comm	_binlogname,4,2                 ## @binlogname
	.comm	_binlog_disabled,4,2            ## @binlog_disabled
	.comm	_Binlog,4,2                     ## @Binlog
	.comm	_log_readto_pos,8,3             ## @log_readto_pos
	.comm	_stdout,4,2                     ## @stdout
L_.str.5:                               ## @.str.5
	.asciz	"%lld add record logevents.\n"

	.comm	_add_logevents,4,2              ## @add_logevents
L_.str.6:                               ## @.str.6
	.asciz	"%lld delete record logevents.\n"

	.comm	_delete_logevents,4,2           ## @delete_logevents
.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, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x20, x0
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _progname@GOTPAGE
Lloh1:
	ldr	x9, [x9, _progname@GOTPAGEOFF]
Lloh2:
	str	x8, [x9]
Lloh3:
	adrp	x21, l_.str@PAGE
Lloh4:
	add	x21, x21, l_.str@PAGEOFF
Lloh5:
	adrp	x26, _stderr@GOTPAGE
Lloh6:
	ldr	x26, [x26, _stderr@GOTPAGEOFF]
Lloh7:
	adrp	x22, l_.str.1@PAGE
Lloh8:
	add	x22, x22, l_.str.1@PAGEOFF
Lloh9:
	adrp	x27, lJTI0_0@PAGE
Lloh10:
	add	x27, x27, lJTI0_0@PAGEOFF
Lloh11:
	adrp	x28, _optarg@GOTPAGE
Lloh12:
	ldr	x28, [x28, _optarg@GOTPAGEOFF]
Lloh13:
	adrp	x23, _maxconn@GOTPAGE
Lloh14:
	ldr	x23, [x23, _maxconn@GOTPAGEOFF]
Lloh15:
	adrp	x24, _logname@GOTPAGE
Lloh16:
	ldr	x24, [x24, _logname@GOTPAGEOFF]
Lloh17:
	adrp	x25, _verbosity@GOTPAGE
Lloh18:
	ldr	x25, [x25, _verbosity@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x28]
	str	x8, [x24]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_getopt
	mov	x2, x0
	sub	w8, w0, #99
	cmp	w8, #19
	b.hi	LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	adr	x9, LBB0_1
	ldrb	w10, [x27, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x28]
	bl	_atoi
	str	x0, [x23]
	b	LBB0_2
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x28]
Lloh19:
	adrp	x9, _username@GOTPAGE
Lloh20:
	ldr	x9, [x9, _username@GOTPAGEOFF]
Lloh21:
	str	x8, [x9]
	b	LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x25]
	add	x8, x8, #1
	str	x8, [x25]
	b	LBB0_2
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmn	w2, #1
	b.eq	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x26]
	mov	x1, x22
	bl	_fprintf
	bl	_usage
	b	LBB0_2
LBB0_9:
Lloh22:
	adrp	x21, _optind@GOTPAGE
Lloh23:
	ldr	x21, [x21, _optind@GOTPAGEOFF]
	ldr	w8, [x21]
	add	w8, w8, #2
	cmp	w8, w20
	b.ne	LBB0_15
; %bb.10:
	ldr	x8, [x23]
	add	x0, x8, #16
	bl	_raise_file_rlimit
	tbnz	x0, #63, LBB0_17
; %bb.11:
Lloh24:
	adrp	x20, _username@GOTPAGE
Lloh25:
	ldr	x20, [x20, _username@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_change_user
	tbnz	x0, #63, LBB0_18
; %bb.12:
	ldrsw	x8, [x21]
	ldr	x0, [x19, x8, lsl #3]
	mov	w1, #1
	bl	_binlog_load
	mov	x20, x0
	bl	_assert
	ldrsw	x8, [x21]
	add	x8, x19, x8, lsl #3
	ldr	x0, [x8, #8]
	mov	w1, #0
	bl	_binlog_load
	mov	x19, x0
	bl	_assert
Lloh26:
	adrp	x8, _binlogname@GOTPAGE
Lloh27:
	ldr	x8, [x8, _binlogname@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	bl	_assert
Lloh29:
	adrp	x8, _binlog_disabled@GOTPAGE
Lloh30:
	ldr	x8, [x8, _binlog_disabled@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	cmp	w8, #0
	cset	w0, eq
	bl	_assert
Lloh32:
	adrp	x8, _Binlog@GOTPAGE
Lloh33:
	ldr	x8, [x8, _Binlog@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	bl	_append_to_binlog
Lloh35:
	adrp	x8, _log_readto_pos@GOTPAGE
Lloh36:
	ldr	x8, [x8, _log_readto_pos@GOTPAGEOFF]
Lloh37:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, eq
	bl	_assert
	mov	x0, x20
	mov	x1, x19
	bl	_zones_merge
	bl	_flush_binlog_last
	mov	w0, #2
	bl	_sync_binlog
	ldr	x8, [x25]
	cbz	x8, LBB0_14
; %bb.13:
Lloh38:
	adrp	x19, _stdout@GOTPAGE
Lloh39:
	ldr	x19, [x19, _stdout@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh40:
	adrp	x8, _add_logevents@GOTPAGE
Lloh41:
	ldr	x8, [x8, _add_logevents@GOTPAGEOFF]
Lloh42:
	ldr	w2, [x8]
Lloh43:
	adrp	x1, l_.str.5@PAGE
Lloh44:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_fprintf
	ldr	w0, [x19]
Lloh45:
	adrp	x8, _delete_logevents@GOTPAGE
Lloh46:
	ldr	x8, [x8, _delete_logevents@GOTPAGEOFF]
Lloh47:
	ldr	w2, [x8]
Lloh48:
	adrp	x1, l_.str.6@PAGE
Lloh49:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_fprintf
LBB0_14:
	mov	w0, #0
	b	LBB0_16
LBB0_15:
	bl	_usage
	mov	w0, #2
LBB0_16:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_17:
	ldr	x8, [x23]
	add	x1, x8, #16
Lloh50:
	adrp	x0, l_.str.2@PAGE
Lloh51:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_19
LBB0_18:
	ldr	x8, [x20]
Lloh52:
	adrp	x9, l_.str.4@PAGE
Lloh53:
	add	x9, x9, l_.str.4@PAGEOFF
	cmp	x8, #0
	csel	x1, x9, x8, eq
Lloh54:
	adrp	x0, l_.str.3@PAGE
Lloh55:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_19:
	bl	_kprintf
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh52, Lloh53
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_1)>>2
	.byte	(LBB0_8-LBB0_1)>>2
	.byte	(LBB0_8-LBB0_1)>>2
	.byte	(LBB0_8-LBB0_1)>>2
	.byte	(LBB0_8-LBB0_1)>>2
	.byte	(LBB0_8-LBB0_1)>>2
	.byte	(LBB0_8-LBB0_1)>>2
	.byte	(LBB0_8-LBB0_1)>>2
	.byte	(LBB0_8-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_8-LBB0_1)>>2
	.byte	(LBB0_8-LBB0_1)>>2
	.byte	(LBB0_8-LBB0_1)>>2
	.byte	(LBB0_8-LBB0_1)>>2
	.byte	(LBB0_8-LBB0_1)>>2
	.byte	(LBB0_8-LBB0_1)>>2
	.byte	(LBB0_8-LBB0_1)>>2
	.byte	(LBB0_8-LBB0_1)>>2
	.byte	(LBB0_5-LBB0_1)>>2
	.byte	(LBB0_6-LBB0_1)>>2
                                        ; -- End function
	.comm	_progname,8,3                   ; @progname
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"c:l:u:v"

	.comm	_optarg,8,3                     ; @optarg
	.comm	_maxconn,8,3                    ; @maxconn
	.comm	_logname,8,3                    ; @logname
	.comm	_username,8,3                   ; @username
	.comm	_verbosity,8,3                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"Unimplemented option %c\n"

	.comm	_optind,4,2                     ; @optind
l_.str.2:                               ; @.str.2
	.asciz	"fatal: cannot raise open file limit to %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"fatal: cannot change user to %s\n"

l_.str.4:                               ; @.str.4
	.asciz	"(none)"

	.comm	_binlogname,4,2                 ; @binlogname
	.comm	_binlog_disabled,4,2            ; @binlog_disabled
	.comm	_Binlog,4,2                     ; @Binlog
	.comm	_log_readto_pos,8,3             ; @log_readto_pos
	.comm	_stdout,4,2                     ; @stdout
l_.str.5:                               ; @.str.5
	.asciz	"%lld add record logevents.\n"

	.comm	_add_logevents,4,2              ; @add_logevents
l_.str.6:                               ; @.str.6
	.asciz	"%lld delete record logevents.\n"

	.comm	_delete_logevents,4,2           ; @delete_logevents
.subsections_via_symbols
