	.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	_signals_init
	movq	(%r15), %rax
	movq	_progname@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	$114, %edi
	callq	_remove_parse_option
	movl	$97, %edi
	callq	_remove_parse_option
	movl	$66, %edi
	callq	_remove_parse_option
	movq	_required_argument@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_min_port@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_max_port@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %r8
	xorl	%edx, %edx
	movl	$82, %ecx
	xorl	%eax, %eax
	callq	_parse_option
	movl	(%rbx), %esi
	leaq	L_.str.2(%rip), %rdi
	leaq	L_.str.3(%rip), %r8
	xorl	%edx, %edx
	movl	$66, %ecx
	xorl	%eax, %eax
	callq	_parse_option
	movl	(%rbx), %esi
	leaq	L_.str.4(%rip), %rdi
	leaq	L_.str.5(%rip), %r8
	xorl	%edx, %edx
	movl	$84, %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	$80, %ecx
	xorl	%eax, %eax
	callq	_parse_option
	movq	_f_parse_option@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %edi
	movq	%r15, %rsi
	callq	_parse_engine_options_long
	movq	_optind@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leal	1(%rax), %ecx
	cmpl	%r14d, %ecx
	jne	LBB0_2
## %bb.1:
	movq	_SERVER@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_working_mode@GOTPCREL(%rip), %rdx
	movq	%rcx, (%rdx)
	movq	(%r15,%rax,8), %rax
	movq	_source_dirname@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_5
LBB0_2:
	leal	2(%rax), %ecx
	cmpl	%r14d, %ecx
	jne	LBB0_4
## %bb.3:
	movq	(%r15,%rax,8), %rcx
	movq	_input_filename@GOTPCREL(%rip), %rdx
	movq	%rcx, (%rdx)
	movq	8(%r15,%rax,8), %rax
	movq	_output_filename@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	xorl	%eax, %eax
	callq	_compute_tmp_filename
	movq	_CLIENT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_working_mode@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_5
LBB0_4:
	xorl	%eax, %eax
	callq	_usage
LBB0_5:
	xorl	%eax, %eax
	callq	_init_epoll
	movq	_port@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	jne	LBB0_7
## %bb.6:
	movq	_TFTP_PORT@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, (%rbx)
LBB0_7:
	movq	_working_mode@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	_SERVER@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_9
## %bb.8:
	callq	_open_udp_server_socket
	movq	_server_sfd@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	js	LBB0_16
LBB0_9:
	movq	_maxconn@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	addq	$16, %rdi
	callq	_raise_file_rlimit
	testq	%rax, %rax
	js	LBB0_14
## %bb.10:
	xorl	%edi, %edi
	callq	_aes_load_pwd_file
	movq	_username@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_change_user
	testq	%rax, %rax
	js	LBB0_15
## %bb.11:
	xorl	%eax, %eax
	callq	_init_dyn_data
	movq	(%r14), %rax
	cmpq	(%r15), %rax
	jne	LBB0_13
## %bb.12:
	xorl	%eax, %eax
	callq	_check_source_dirname
	testq	%rax, %rax
	js	LBB0_18
LBB0_13:
	xorl	%edi, %edi
	callq	_init_msg_buffers
	xorl	%edi, %edi
	callq	_time
	movq	_start_time@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	callq	_start_server
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	(%rbx), %rsi
	addq	$16, %rsi
	leaq	L_.str.9(%rip), %rdi
	jmp	LBB0_17
LBB0_15:
	movq	(%rbx), %rax
	testq	%rax, %rax
	leaq	L_.str.11(%rip), %rsi
	cmovneq	%rax, %rsi
	leaq	L_.str.10(%rip), %rdi
	jmp	LBB0_17
LBB0_16:
	movq	(%rbx), %rsi
	leaq	L_.str.8(%rip), %rdi
LBB0_17:
	callq	_kprintf
LBB0_18:
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_progname,8,3                   ## @progname
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"server-port-range"

	.comm	_required_argument,4,2          ## @required_argument
L_.str.1:                               ## @.str.1
	.asciz	"sets server port's range. Default range is '%d-%d'. Every UDP connection use one port."

	.comm	_min_port,4,2                   ## @min_port
	.comm	_max_port,4,2                   ## @max_port
L_.str.2:                               ## @.str.2
	.asciz	"client-blksize"

L_.str.3:                               ## @.str.3
	.asciz	"sets packet block size"

L_.str.4:                               ## @.str.4
	.asciz	"client-timeout"

L_.str.5:                               ## @.str.5
	.asciz	"sets timeout in seconds"

L_.str.6:                               ## @.str.6
	.asciz	"stats-port"

L_.str.7:                               ## @.str.7
	.asciz	"sets port for getting stats using memcache queries"

	.comm	_f_parse_option,4,2             ## @f_parse_option
	.comm	_optind,4,2                     ## @optind
	.comm	_SERVER,8,3                     ## @SERVER
	.comm	_working_mode,8,3               ## @working_mode
	.comm	_source_dirname,8,3             ## @source_dirname
	.comm	_input_filename,8,3             ## @input_filename
	.comm	_output_filename,8,3            ## @output_filename
	.comm	_CLIENT,8,3                     ## @CLIENT
	.comm	_port,8,3                       ## @port
	.comm	_TFTP_PORT,8,3                  ## @TFTP_PORT
	.comm	_server_sfd,8,3                 ## @server_sfd
L_.str.8:                               ## @.str.8
	.asciz	"Fail to open UDP server socket on the port %d.\n"

	.comm	_maxconn,8,3                    ## @maxconn
L_.str.9:                               ## @.str.9
	.asciz	"fatal: cannot raise open file limit to %d\n"

	.comm	_username,8,3                   ## @username
L_.str.10:                              ## @.str.10
	.asciz	"fatal: cannot change user to %s\n"

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

	.comm	_start_time,4,2                 ## @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	x19, x1
	mov	x20, x0
	bl	_signals_init
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _progname@GOTPAGE
Lloh1:
	ldr	x9, [x9, _progname@GOTPAGEOFF]
Lloh2:
	str	x8, [x9]
	mov	w0, #114
	bl	_remove_parse_option
	mov	w0, #97
	bl	_remove_parse_option
	mov	w0, #66
	bl	_remove_parse_option
Lloh3:
	adrp	x21, _required_argument@GOTPAGE
Lloh4:
	ldr	x21, [x21, _required_argument@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh5:
	adrp	x8, _min_port@GOTPAGE
Lloh6:
	ldr	x8, [x8, _min_port@GOTPAGEOFF]
Lloh7:
	adrp	x9, _max_port@GOTPAGE
Lloh8:
	ldr	x9, [x9, _max_port@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	ldr	w9, [x9]
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
Lloh13:
	adrp	x4, l_.str.1@PAGE
Lloh14:
	add	x4, x4, l_.str.1@PAGEOFF
	stp	x8, x9, [sp]
	mov	w2, #0
	mov	w3, #82
	bl	_parse_option
	ldr	w1, [x21]
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
	mov	w2, #0
	mov	w3, #66
	bl	_parse_option
	ldr	w1, [x21]
Lloh19:
	adrp	x0, l_.str.4@PAGE
Lloh20:
	add	x0, x0, l_.str.4@PAGEOFF
Lloh21:
	adrp	x4, l_.str.5@PAGE
Lloh22:
	add	x4, x4, l_.str.5@PAGEOFF
	mov	w2, #0
	mov	w3, #84
	bl	_parse_option
	ldr	w1, [x21]
Lloh23:
	adrp	x0, l_.str.6@PAGE
Lloh24:
	add	x0, x0, l_.str.6@PAGEOFF
Lloh25:
	adrp	x4, l_.str.7@PAGE
Lloh26:
	add	x4, x4, l_.str.7@PAGEOFF
	mov	w2, #0
	mov	w3, #80
	bl	_parse_option
Lloh27:
	adrp	x8, _f_parse_option@GOTPAGE
Lloh28:
	ldr	x8, [x8, _f_parse_option@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_parse_engine_options_long
Lloh30:
	adrp	x8, _optind@GOTPAGE
Lloh31:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh32:
	ldrsw	x8, [x8]
	add	x9, x8, #1
Lloh33:
	adrp	x21, _working_mode@GOTPAGE
Lloh34:
	ldr	x21, [x21, _working_mode@GOTPAGEOFF]
Lloh35:
	adrp	x22, _SERVER@GOTPAGE
Lloh36:
	ldr	x22, [x22, _SERVER@GOTPAGEOFF]
	cmp	w9, w20
	b.ne	LBB0_2
; %bb.1:
	ldr	x9, [x22]
	str	x9, [x21]
	ldr	x8, [x19, x8, lsl #3]
Lloh37:
	adrp	x9, _source_dirname@GOTPAGE
Lloh38:
	ldr	x9, [x9, _source_dirname@GOTPAGEOFF]
Lloh39:
	str	x8, [x9]
	b	LBB0_5
LBB0_2:
	add	w10, w8, #2
	cmp	w10, w20
	b.ne	LBB0_4
; %bb.3:
	ldr	x8, [x19, x8, lsl #3]
Lloh40:
	adrp	x10, _input_filename@GOTPAGE
Lloh41:
	ldr	x10, [x10, _input_filename@GOTPAGEOFF]
Lloh42:
	str	x8, [x10]
	ldr	x8, [x19, x9, lsl #3]
Lloh43:
	adrp	x9, _output_filename@GOTPAGE
Lloh44:
	ldr	x9, [x9, _output_filename@GOTPAGEOFF]
Lloh45:
	str	x8, [x9]
	bl	_compute_tmp_filename
Lloh46:
	adrp	x8, _CLIENT@GOTPAGE
Lloh47:
	ldr	x8, [x8, _CLIENT@GOTPAGEOFF]
Lloh48:
	ldr	x8, [x8]
	str	x8, [x21]
	b	LBB0_5
LBB0_4:
	bl	_usage
LBB0_5:
	bl	_init_epoll
Lloh49:
	adrp	x19, _port@GOTPAGE
Lloh50:
	ldr	x19, [x19, _port@GOTPAGEOFF]
	ldr	x0, [x19]
	cbnz	x0, LBB0_7
; %bb.6:
Lloh51:
	adrp	x8, _TFTP_PORT@GOTPAGE
Lloh52:
	ldr	x8, [x8, _TFTP_PORT@GOTPAGEOFF]
Lloh53:
	ldr	x0, [x8]
	str	x0, [x19]
LBB0_7:
	ldr	x8, [x21]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.8:
	bl	_open_udp_server_socket
Lloh54:
	adrp	x8, _server_sfd@GOTPAGE
Lloh55:
	ldr	x8, [x8, _server_sfd@GOTPAGEOFF]
Lloh56:
	str	x0, [x8]
	tbnz	x0, #63, LBB0_16
LBB0_9:
Lloh57:
	adrp	x19, _maxconn@GOTPAGE
Lloh58:
	ldr	x19, [x19, _maxconn@GOTPAGEOFF]
	ldr	x8, [x19]
	add	x0, x8, #16
	bl	_raise_file_rlimit
	tbnz	x0, #63, LBB0_14
; %bb.10:
	mov	w0, #0
	bl	_aes_load_pwd_file
Lloh59:
	adrp	x19, _username@GOTPAGE
Lloh60:
	ldr	x19, [x19, _username@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_change_user
	tbnz	x0, #63, LBB0_15
; %bb.11:
	bl	_init_dyn_data
	ldr	x8, [x21]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.12:
	bl	_check_source_dirname
	tbnz	x0, #63, LBB0_18
LBB0_13:
	mov	w0, #0
	bl	_init_msg_buffers
	mov	x0, #0
	bl	_time
Lloh61:
	adrp	x8, _start_time@GOTPAGE
Lloh62:
	ldr	x8, [x8, _start_time@GOTPAGEOFF]
Lloh63:
	str	w0, [x8]
	bl	_start_server
	mov	w0, #0
	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_14:
	ldr	x8, [x19]
	add	x1, x8, #16
Lloh64:
	adrp	x0, l_.str.9@PAGE
Lloh65:
	add	x0, x0, l_.str.9@PAGEOFF
	b	LBB0_17
LBB0_15:
	ldr	x8, [x19]
Lloh66:
	adrp	x9, l_.str.11@PAGE
Lloh67:
	add	x9, x9, l_.str.11@PAGEOFF
	cmp	x8, #0
	csel	x1, x9, x8, eq
Lloh68:
	adrp	x0, l_.str.10@PAGE
Lloh69:
	add	x0, x0, l_.str.10@PAGEOFF
	b	LBB0_17
LBB0_16:
	ldr	x1, [x19]
Lloh70:
	adrp	x0, l_.str.8@PAGE
Lloh71:
	add	x0, x0, l_.str.8@PAGEOFF
LBB0_17:
	bl	_kprintf
LBB0_18:
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotStr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotStr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotStr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGotStr	Lloh61, Lloh62, Lloh63
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpAdd	Lloh70, Lloh71
	.cfi_endproc
                                        ; -- End function
	.comm	_progname,8,3                   ; @progname
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"server-port-range"

	.comm	_required_argument,4,2          ; @required_argument
l_.str.1:                               ; @.str.1
	.asciz	"sets server port's range. Default range is '%d-%d'. Every UDP connection use one port."

	.comm	_min_port,4,2                   ; @min_port
	.comm	_max_port,4,2                   ; @max_port
l_.str.2:                               ; @.str.2
	.asciz	"client-blksize"

l_.str.3:                               ; @.str.3
	.asciz	"sets packet block size"

l_.str.4:                               ; @.str.4
	.asciz	"client-timeout"

l_.str.5:                               ; @.str.5
	.asciz	"sets timeout in seconds"

l_.str.6:                               ; @.str.6
	.asciz	"stats-port"

l_.str.7:                               ; @.str.7
	.asciz	"sets port for getting stats using memcache queries"

	.comm	_f_parse_option,4,2             ; @f_parse_option
	.comm	_optind,4,2                     ; @optind
	.comm	_SERVER,8,3                     ; @SERVER
	.comm	_working_mode,8,3               ; @working_mode
	.comm	_source_dirname,8,3             ; @source_dirname
	.comm	_input_filename,8,3             ; @input_filename
	.comm	_output_filename,8,3            ; @output_filename
	.comm	_CLIENT,8,3                     ; @CLIENT
	.comm	_port,8,3                       ; @port
	.comm	_TFTP_PORT,8,3                  ; @TFTP_PORT
	.comm	_server_sfd,8,3                 ; @server_sfd
l_.str.8:                               ; @.str.8
	.asciz	"Fail to open UDP server socket on the port %d.\n"

	.comm	_maxconn,8,3                    ; @maxconn
l_.str.9:                               ; @.str.9
	.asciz	"fatal: cannot raise open file limit to %d\n"

	.comm	_username,8,3                   ; @username
l_.str.10:                              ; @.str.10
	.asciz	"fatal: cannot change user to %s\n"

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

	.comm	_start_time,4,2                 ; @start_time
.subsections_via_symbols
