	.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
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movl	%edi, %r14d
	xorl	%eax, %eax
	callq	_dl_set_debug_handlers
	movq	(%r15), %rax
	movq	_progname@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	xorl	%edi, %edi
	callq	_time
	movq	_now@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	$97, %edi
	callq	_remove_parse_option
	movl	$66, %edi
	callq	_remove_parse_option
	movl	$114, %edi
	callq	_remove_parse_option
	movl	$204, %edi
	callq	_remove_parse_option
	movq	_required_argument@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %r8
	xorl	%edx, %edx
	movl	$109, %ecx
	xorl	%eax, %eax
	callq	_parse_option
	movl	(%rbx), %esi
	movq	_queue_port@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	L_.str.2(%rip), %rdi
	leaq	L_.str.3(%rip), %r8
	xorl	%edx, %edx
	movl	$80, %ecx
	xorl	%eax, %eax
	callq	_parse_option
	movq	_no_argument@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	L_.str.4(%rip), %rdi
	leaq	L_.str.5(%rip), %r8
	xorl	%edx, %edx
	movl	$107, %ecx
	xorl	%eax, %eax
	callq	_parse_option
	movl	(%rbx), %esi
	leaq	L_.str.6(%rip), %rdi
	leaq	L_.str.7(%rip), %r8
	xorl	%edx, %edx
	movl	$83, %ecx
	xorl	%eax, %eax
	callq	_parse_option
	movq	_watchcat_parse_option@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %edi
	movq	%r15, %rsi
	callq	_parse_engine_options_long
	movq	_optind@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	callq	_init_is_letter
	xorl	%eax, %eax
	callq	_enable_is_letter_sigils
	movq	_use_stemmer@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	callq	_stem_init
LBB0_4:
	movq	_dynamic_data_buffer_size@GOTPCREL(%rip), %rax
	movl	$1048576, (%rax)                ## imm = 0x100000
	xorl	%eax, %eax
	callq	_init_dyn_data
	movq	_username@GOTPCREL(%rip), %r14
	cmpq	$0, (%r14)
	jne	LBB0_8
## %bb.5:
	movq	_maxconn@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	movq	_MAX_CONNECTIONS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_8
## %bb.6:
	xorl	%eax, %eax
	callq	_geteuid
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	$1000, (%rbx)                   ## imm = 0x3E8
LBB0_8:
	movq	_maxconn@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	addl	$16, %edi
	callq	_raise_file_rlimit
	testq	%rax, %rax
	js	LBB0_9
## %bb.10:
	movq	_port@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_PRIVILEGED_TCP_PORTS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	jge	LBB0_14
## %bb.11:
	movq	_settings_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_backlog@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	callq	_server_socket
	movq	_sfd@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	js	LBB0_12
LBB0_14:
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_aes_load_pwd_file
	movq	(%r14), %rdi
	callq	_change_user
	testq	%rax, %rax
	jns	LBB0_16
## %bb.15:
	movq	_interactive@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_18
LBB0_16:
	xorl	%eax, %eax
	callq	_init_all
	xorl	%edi, %edi
	callq	_time
	movq	_start_time@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	xorl	%eax, %eax
	callq	_start_server
	xorl	%eax, %eax
	callq	_free_all
	jmp	LBB0_17
LBB0_1:
	xorl	%eax, %eax
	callq	_usage
	movl	$2, %ebx
LBB0_17:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %edx
	addl	$16, %edx
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_13
LBB0_18:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r14), %rax
	testq	%rax, %rax
	leaq	L_.str.11(%rip), %rdx
	cmovneq	%rax, %rdx
	leaq	L_.str.10(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
LBB0_12:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %edx
	leaq	L_.str.9(%rip), %rsi
LBB0_13:
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_progname,8,3                   ## @progname
	.comm	_now,8,3                        ## @now
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"memory-limit"

	.comm	_required_argument,4,2          ## @required_argument
L_.str.1:                               ## @.str.1
	.asciz	"<memory-limit> sets maximal size of used memory not including zmemory in mebibytes"

L_.str.2:                               ## @.str.2
	.asciz	"queue-port"

L_.str.3:                               ## @.str.3
	.asciz	"<port> port number for communication with queue (default %d)"

	.comm	_queue_port,4,2                 ## @queue_port
L_.str.4:                               ## @.str.4
	.asciz	"lock-memory"

	.comm	_no_argument,4,2                ## @no_argument
L_.str.5:                               ## @.str.5
	.asciz	"lock paged memory"

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

L_.str.7:                               ## @.str.7
	.asciz	"enable stemmer"

	.comm	_watchcat_parse_option,4,2      ## @watchcat_parse_option
	.comm	_optind,4,2                     ## @optind
	.comm	_use_stemmer,8,3                ## @use_stemmer
	.comm	_dynamic_data_buffer_size,4,2   ## @dynamic_data_buffer_size
	.comm	_username,8,3                   ## @username
	.comm	_maxconn,4,2                    ## @maxconn
	.comm	_MAX_CONNECTIONS,4,2            ## @MAX_CONNECTIONS
	.comm	_stderr,4,2                     ## @stderr
L_.str.8:                               ## @.str.8
	.asciz	"fatal: cannot raise open file limit to %d\n"

	.comm	_port,4,2                       ## @port
	.comm	_PRIVILEGED_TCP_PORTS,4,2       ## @PRIVILEGED_TCP_PORTS
	.comm	_settings_addr,4,2              ## @settings_addr
	.comm	_backlog,4,2                    ## @backlog
	.comm	_sfd,8,3                        ## @sfd
L_.str.9:                               ## @.str.9
	.asciz	"cannot open server socket at port %d: %m\n"

	.comm	_interactive,4,2                ## @interactive
L_.str.10:                              ## @.str.10
	.asciz	"fatal: cannot change user to %s\n"

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

	.comm	_start_time,8,3                 ## @start_time
.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, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	bl	_dl_set_debug_handlers
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _progname@GOTPAGE
Lloh1:
	ldr	x9, [x9, _progname@GOTPAGEOFF]
Lloh2:
	str	x8, [x9]
	mov	x0, #0
	bl	_time
Lloh3:
	adrp	x8, _now@GOTPAGE
Lloh4:
	ldr	x8, [x8, _now@GOTPAGEOFF]
Lloh5:
	str	x0, [x8]
	mov	w0, #97
	bl	_remove_parse_option
	mov	w0, #66
	bl	_remove_parse_option
	mov	w0, #114
	bl	_remove_parse_option
	mov	w0, #204
	bl	_remove_parse_option
Lloh6:
	adrp	x21, _required_argument@GOTPAGE
Lloh7:
	ldr	x21, [x21, _required_argument@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
Lloh10:
	adrp	x4, l_.str.1@PAGE
Lloh11:
	add	x4, x4, l_.str.1@PAGEOFF
	mov	x2, #0
	mov	w3, #109
	bl	_parse_option
	ldr	w1, [x21]
Lloh12:
	adrp	x8, _queue_port@GOTPAGE
Lloh13:
	ldr	x8, [x8, _queue_port@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x0, l_.str.2@PAGE
Lloh16:
	add	x0, x0, l_.str.2@PAGEOFF
Lloh17:
	adrp	x4, l_.str.3@PAGE
Lloh18:
	add	x4, x4, l_.str.3@PAGEOFF
	str	x8, [sp]
	mov	x2, #0
	mov	w3, #80
	bl	_parse_option
Lloh19:
	adrp	x21, _no_argument@GOTPAGE
Lloh20:
	ldr	x21, [x21, _no_argument@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh21:
	adrp	x0, l_.str.4@PAGE
Lloh22:
	add	x0, x0, l_.str.4@PAGEOFF
Lloh23:
	adrp	x4, l_.str.5@PAGE
Lloh24:
	add	x4, x4, l_.str.5@PAGEOFF
	mov	x2, #0
	mov	w3, #107
	bl	_parse_option
	ldr	w1, [x21]
Lloh25:
	adrp	x0, l_.str.6@PAGE
Lloh26:
	add	x0, x0, l_.str.6@PAGEOFF
Lloh27:
	adrp	x4, l_.str.7@PAGE
Lloh28:
	add	x4, x4, l_.str.7@PAGEOFF
	mov	x2, #0
	mov	w3, #83
	bl	_parse_option
Lloh29:
	adrp	x8, _watchcat_parse_option@GOTPAGE
Lloh30:
	ldr	x8, [x8, _watchcat_parse_option@GOTPAGEOFF]
Lloh31:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_parse_engine_options_long
Lloh32:
	adrp	x8, _optind@GOTPAGE
Lloh33:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_13
; %bb.1:
	bl	_init_is_letter
	bl	_enable_is_letter_sigils
Lloh35:
	adrp	x8, _use_stemmer@GOTPAGE
Lloh36:
	ldr	x8, [x8, _use_stemmer@GOTPAGEOFF]
Lloh37:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
	bl	_stem_init
LBB0_3:
Lloh38:
	adrp	x8, _dynamic_data_buffer_size@GOTPAGE
Lloh39:
	ldr	x8, [x8, _dynamic_data_buffer_size@GOTPAGEOFF]
	mov	w9, #1048576
Lloh40:
	str	w9, [x8]
	bl	_init_dyn_data
Lloh41:
	adrp	x19, _username@GOTPAGE
Lloh42:
	ldr	x19, [x19, _username@GOTPAGEOFF]
	ldr	x8, [x19]
Lloh43:
	adrp	x20, _maxconn@GOTPAGE
Lloh44:
	ldr	x20, [x20, _maxconn@GOTPAGEOFF]
	cbnz	x8, LBB0_7
; %bb.4:
	ldr	w8, [x20]
Lloh45:
	adrp	x9, _MAX_CONNECTIONS@GOTPAGE
Lloh46:
	ldr	x9, [x9, _MAX_CONNECTIONS@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_7
; %bb.5:
	bl	_geteuid
	cbz	x0, LBB0_7
; %bb.6:
	mov	w8, #1000
	str	w8, [x20]
LBB0_7:
	ldr	w8, [x20]
	add	w0, w8, #16
	bl	_raise_file_rlimit
	tbnz	x0, #63, LBB0_15
; %bb.8:
Lloh48:
	adrp	x20, _port@GOTPAGE
Lloh49:
	ldr	x20, [x20, _port@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh50:
	adrp	x8, _PRIVILEGED_TCP_PORTS@GOTPAGE
Lloh51:
	ldr	x8, [x8, _PRIVILEGED_TCP_PORTS@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ge	LBB0_10
; %bb.9:
Lloh53:
	adrp	x8, _settings_addr@GOTPAGE
Lloh54:
	ldr	x8, [x8, _settings_addr@GOTPAGEOFF]
Lloh55:
	ldr	w1, [x8]
Lloh56:
	adrp	x8, _backlog@GOTPAGE
Lloh57:
	ldr	x8, [x8, _backlog@GOTPAGEOFF]
Lloh58:
	ldr	w2, [x8]
	mov	w3, #0
	bl	_server_socket
Lloh59:
	adrp	x8, _sfd@GOTPAGE
Lloh60:
	ldr	x8, [x8, _sfd@GOTPAGEOFF]
Lloh61:
	str	x0, [x8]
	tbnz	x0, #63, LBB0_17
LBB0_10:
	mov	x0, #0
	bl	_aes_load_pwd_file
	ldr	x0, [x19]
	bl	_change_user
	tbz	x0, #63, LBB0_12
; %bb.11:
Lloh62:
	adrp	x8, _interactive@GOTPAGE
Lloh63:
	ldr	x8, [x8, _interactive@GOTPAGEOFF]
Lloh64:
	ldr	w8, [x8]
	cbz	w8, LBB0_16
LBB0_12:
	bl	_init_all
	mov	x0, #0
	bl	_time
Lloh65:
	adrp	x8, _start_time@GOTPAGE
Lloh66:
	ldr	x8, [x8, _start_time@GOTPAGEOFF]
Lloh67:
	str	x0, [x8]
	bl	_start_server
	bl	_free_all
	mov	w0, #0
	b	LBB0_14
LBB0_13:
	bl	_usage
	mov	w0, #2
LBB0_14:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_15:
Lloh68:
	adrp	x8, _stderr@GOTPAGE
Lloh69:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh70:
	ldr	w0, [x8]
	ldr	w8, [x20]
	add	w8, w8, #16
	str	x8, [sp]
Lloh71:
	adrp	x1, l_.str.8@PAGE
Lloh72:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_18
LBB0_16:
Lloh73:
	adrp	x8, _stderr@GOTPAGE
Lloh74:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh75:
	ldr	w0, [x8]
	ldr	x8, [x19]
Lloh76:
	adrp	x9, l_.str.11@PAGE
Lloh77:
	add	x9, x9, l_.str.11@PAGEOFF
	cmp	x8, #0
	csel	x8, x9, x8, eq
	str	x8, [sp]
Lloh78:
	adrp	x1, l_.str.10@PAGE
Lloh79:
	add	x1, x1, l_.str.10@PAGEOFF
	b	LBB0_18
LBB0_17:
Lloh80:
	adrp	x8, _stderr@GOTPAGE
Lloh81:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh82:
	ldr	w0, [x8]
	ldr	w8, [x20]
	str	x8, [sp]
Lloh83:
	adrp	x1, l_.str.9@PAGE
Lloh84:
	add	x1, x1, l_.str.9@PAGEOFF
LBB0_18:
	bl	_fprintf
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotStr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGotStr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotStr	Lloh65, Lloh66, Lloh67
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpAdd	Lloh78, Lloh79
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.cfi_endproc
                                        ; -- End function
	.comm	_progname,8,3                   ; @progname
	.comm	_now,8,3                        ; @now
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"memory-limit"

	.comm	_required_argument,4,2          ; @required_argument
l_.str.1:                               ; @.str.1
	.asciz	"<memory-limit> sets maximal size of used memory not including zmemory in mebibytes"

l_.str.2:                               ; @.str.2
	.asciz	"queue-port"

l_.str.3:                               ; @.str.3
	.asciz	"<port> port number for communication with queue (default %d)"

	.comm	_queue_port,4,2                 ; @queue_port
l_.str.4:                               ; @.str.4
	.asciz	"lock-memory"

	.comm	_no_argument,4,2                ; @no_argument
l_.str.5:                               ; @.str.5
	.asciz	"lock paged memory"

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

l_.str.7:                               ; @.str.7
	.asciz	"enable stemmer"

	.comm	_watchcat_parse_option,4,2      ; @watchcat_parse_option
	.comm	_optind,4,2                     ; @optind
	.comm	_use_stemmer,8,3                ; @use_stemmer
	.comm	_dynamic_data_buffer_size,4,2   ; @dynamic_data_buffer_size
	.comm	_username,8,3                   ; @username
	.comm	_maxconn,4,2                    ; @maxconn
	.comm	_MAX_CONNECTIONS,4,2            ; @MAX_CONNECTIONS
	.comm	_stderr,4,2                     ; @stderr
l_.str.8:                               ; @.str.8
	.asciz	"fatal: cannot raise open file limit to %d\n"

	.comm	_port,4,2                       ; @port
	.comm	_PRIVILEGED_TCP_PORTS,4,2       ; @PRIVILEGED_TCP_PORTS
	.comm	_settings_addr,4,2              ; @settings_addr
	.comm	_backlog,4,2                    ; @backlog
	.comm	_sfd,8,3                        ; @sfd
l_.str.9:                               ; @.str.9
	.asciz	"cannot open server socket at port %d: %m\n"

	.comm	_interactive,4,2                ; @interactive
l_.str.10:                              ; @.str.10
	.asciz	"fatal: cannot change user to %s\n"

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

	.comm	_start_time,8,3                 ; @start_time
.subsections_via_symbols
