	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function main
LCPI0_0:
	.quad	0x408f400000000000              ## double 1000
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_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, %r13
	movl	%edi, %r14d
	movq	_weakrand_state@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	callq	_evutil_weakrand_seed_
	movq	_SIGPIPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SIG_IGN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	movq	_SIG_ERR@GOTPCREL(%rip), %rcx
	movl	$1, %r15d
	cmpq	(%rcx), %rax
	je	LBB0_14
## %bb.1:
	movl	$1, -44(%rbp)
	cmpl	$2, %r14d
	jl	LBB0_11
## %bb.2:
	movl	$1, %eax
	movq	_options@GOTPCREL(%rip), %r12
	leaq	-44(%rbp), %r15
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	(%r12), %rcx
	movq	(%rcx), %rsi
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cltq
	movq	(%r13,%rax,8), %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	(%r12), %rax
	movq	8(%rax,%rbx,8), %rsi
	incq	%rbx
	movl	-44(%rbp), %eax
	testq	%rsi, %rsi
	jne	LBB0_5
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %ecx
	shlq	$3, %rcx
	addq	(%r12), %rcx
	movl	%r14d, %edi
	movq	%r13, %rsi
	movq	%r15, %rdx
	callq	_handle_option
	testq	%rax, %rax
	js	LBB0_7
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	-44(%rbp), %eax
	incl	%eax
	movl	%eax, -44(%rbp)
	cmpl	%r14d, %eax
	jl	LBB0_3
LBB0_11:
	movq	_cfg_help@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_13
## %bb.12:
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_usage
	jmp	LBB0_14
LBB0_9:
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	cltq
	movq	(%r13,%rax,8), %rdx
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	xorl	%eax, %eax
	callq	_usage
	movl	$1, %r15d
	jmp	LBB0_14
LBB0_13:
	movq	_cfg_tick_msec@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	_cfg_tick@GOTPCREL(%rip), %rcx
	imulq	$274877907, %rax, %rdx          ## imm = 0x10624DD3
	movq	%rdx, %rsi
	shrq	$63, %rsi
	sarq	$38, %rdx
	addl	%esi, %edx
	movl	%edx, (%rcx)
	cvtsi2sd	%eax, %xmm0
	imull	$1000, %edx, %edx               ## imm = 0x3E8
	subl	%edx, %eax
	imull	$1000, %eax, %eax               ## imm = 0x3E8
	movl	%eax, 4(%rcx)
	divsd	LCPI0_0(%rip), %xmm0
	movq	_seconds_per_tick@GOTPCREL(%rip), %rax
	movsd	%xmm0, (%rax)
	movq	_cfg_connlimit@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm1                   ## xmm1 = mem[0],zero
	mulsd	%xmm0, %xmm1
	movsd	%xmm1, (%rax)
	movq	_cfg_grouplimit@GOTPCREL(%rip), %rax
	mulsd	(%rax), %xmm0
	movsd	%xmm0, (%rax)
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	callq	_evutil_gettimeofday
	movl	-48(%rbp), %edi
	callq	_srandom
	xorl	%eax, %eax
	callq	_evthread_enable_lock_debugging
	xorl	%eax, %eax
	callq	_test_ratelimiting
	movl	%eax, %r15d
LBB0_14:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	$1, %r15d
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_weakrand_state,4,2             ## @weakrand_state
	.comm	_SIGPIPE,4,2                    ## @SIGPIPE
	.comm	_SIG_IGN,4,2                    ## @SIG_IGN
	.comm	_SIG_ERR,8,3                    ## @SIG_ERR
	.comm	_options,8,3                    ## @options
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown option '%s'\n"

	.comm	_cfg_help,8,3                   ## @cfg_help
	.comm	_cfg_tick_msec,4,2              ## @cfg_tick_msec
	.comm	_cfg_tick,8,2                   ## @cfg_tick
	.comm	_seconds_per_tick,8,3           ## @seconds_per_tick
	.comm	_cfg_connlimit,8,3              ## @cfg_connlimit
	.comm	_cfg_grouplimit,8,3             ## @cfg_grouplimit
.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
Lloh0:
	adrp	x0, _weakrand_state@GOTPAGE
Lloh1:
	ldr	x0, [x0, _weakrand_state@GOTPAGEOFF]
	mov	w1, #0
	bl	_evutil_weakrand_seed_
Lloh2:
	adrp	x8, _SIGPIPE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SIGPIPE@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _SIG_IGN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SIG_IGN@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_signal
	mov	x8, x0
Lloh8:
	adrp	x9, _SIG_ERR@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SIG_ERR@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	mov	w0, #1
	cmp	x8, x9
	b.eq	LBB0_13
; %bb.1:
	str	w0, [sp, #12]
	cmp	w20, #2
	b.lt	LBB0_9
; %bb.2:
	mov	w8, #1
Lloh11:
	adrp	x21, _options@GOTPAGE
Lloh12:
	ldr	x21, [x21, _options@GOTPAGEOFF]
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	ldr	x9, [x21]
	ldr	x1, [x9]
	cbz	x1, LBB0_11
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x22, #0
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x0, [x19, w8, sxtw #3]
	bl	_strcmp
	cbz	w0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	ldr	x8, [x21]
	add	x8, x8, x22, lsl #3
	add	x22, x22, #1
	ldr	x1, [x8, #8]
	ldr	w8, [sp, #12]
	cbnz	x1, LBB0_5
	b	LBB0_11
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x21]
	add	x3, x8, w22, uxtw #3
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x19
	bl	_handle_option
	tbnz	x0, #63, LBB0_14
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [sp, #12]
	add	w8, w8, #1
	str	w8, [sp, #12]
	cmp	w8, w20
	b.lt	LBB0_3
LBB0_9:
Lloh13:
	adrp	x8, _cfg_help@GOTPAGE
Lloh14:
	ldr	x8, [x8, _cfg_help@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cbz	x8, LBB0_12
; %bb.10:
	bl	_usage
	mov	w0, #0
	b	LBB0_13
LBB0_11:
Lloh16:
	adrp	x9, _stderr@GOTPAGE
Lloh17:
	ldr	x9, [x9, _stderr@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x9]
	ldr	x2, [x19, w8, sxtw #3]
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	bl	_usage
	mov	w0, #1
	b	LBB0_13
LBB0_12:
Lloh21:
	adrp	x8, _cfg_tick_msec@GOTPAGE
Lloh22:
	ldr	x8, [x8, _cfg_tick_msec@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	smull	x9, w8, w9
	lsr	x10, x9, #63
	asr	x9, x9, #38
	add	w9, w9, w10
	mov	w10, #1000
	msub	w11, w9, w10, w8
	mul	w10, w11, w10
Lloh24:
	adrp	x11, _cfg_tick@GOTPAGE
Lloh25:
	ldr	x11, [x11, _cfg_tick@GOTPAGEOFF]
	stp	w9, w10, [x11]
	scvtf	d0, w8
	mov	x8, #70368744177664
	movk	x8, #16527, lsl #48
	fmov	d1, x8
Lloh26:
	adrp	x8, _seconds_per_tick@GOTPAGE
Lloh27:
	ldr	x8, [x8, _seconds_per_tick@GOTPAGEOFF]
	fdiv	d0, d0, d1
Lloh28:
	str	d0, [x8]
Lloh29:
	adrp	x8, _cfg_connlimit@GOTPAGE
Lloh30:
	ldr	x8, [x8, _cfg_connlimit@GOTPAGEOFF]
	ldr	d1, [x8]
	fmul	d1, d0, d1
	str	d1, [x8]
Lloh31:
	adrp	x8, _cfg_grouplimit@GOTPAGE
Lloh32:
	ldr	x8, [x8, _cfg_grouplimit@GOTPAGEOFF]
	ldr	d1, [x8]
	fmul	d0, d0, d1
	str	d0, [x8]
	add	x0, sp, #8
	mov	x1, #0
	bl	_evutil_gettimeofday
	ldr	w0, [sp, #8]
	bl	_srandom
	bl	_evthread_enable_lock_debugging
	bl	_test_ratelimiting
LBB0_13:
	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:
	mov	w0, #1
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotStr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_weakrand_state,4,2             ; @weakrand_state
	.comm	_SIGPIPE,4,2                    ; @SIGPIPE
	.comm	_SIG_IGN,4,2                    ; @SIG_IGN
	.comm	_SIG_ERR,8,3                    ; @SIG_ERR
	.comm	_options,8,3                    ; @options
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown option '%s'\n"

	.comm	_cfg_help,8,3                   ; @cfg_help
	.comm	_cfg_tick_msec,4,2              ; @cfg_tick_msec
	.comm	_cfg_tick,8,2                   ; @cfg_tick
	.comm	_seconds_per_tick,8,3           ; @seconds_per_tick
	.comm	_cfg_connlimit,8,3              ; @cfg_connlimit
	.comm	_cfg_grouplimit,8,3             ; @cfg_grouplimit
.subsections_via_symbols
