	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function svr_process
_svr_process:                           ## @svr_process
	.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	%r12
	pushq	%rbx
	subq	$80, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movl	(%rdi), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_8
## %bb.1:
	movl	%ecx, %r14d
	movq	%rdx, %r15
	movq	%rsi, %r12
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	8(%rbx), %rdi
	jmp	LBB0_6
LBB0_8:
	movq	_clients@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rbx), %rcx
	incl	(%rax,%rcx,4)
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_3:
	movl	(%r15), %edi
	movq	_AF_INET@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	je	LBB0_5
## %bb.4:
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
LBB0_5:
	leaq	-112(%rbp), %rdx
	movq	%r15, %rsi
	movl	$64, %ecx
	callq	_inet_ntop
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	callq	_printf
	movq	_id@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdi
	leal	1(%rdi), %ecx
	movl	%ecx, (%rax)
	movq	%rdi, 8(%rbx)
LBB0_6:
	movq	_clients@GOTPCREL(%rip), %rax
	shlq	$2, %rdi
	addq	(%rax), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	jmp	LBB0_10
LBB0_7:
	movq	_clients@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rbx), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_htobe32
	movl	%eax, 16(%rbx)
	jmp	LBB0_10
LBB0_9:
	movq	_clients@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rbx), %rcx
	incl	(%rax,%rcx,4)
LBB0_10:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	movl	%r14d, %ecx
	callq	_svr_send
	xorl	%ecx, %ecx
	cmpq	%r12, %rax
	cmovel	%ecx, %eax
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_13
## %bb.12:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$80, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_7
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_AF_INET,4,2                    ## @AF_INET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"client login from %s\n"

	.comm	_AF_INET6,4,2                   ## @AF_INET6
	.comm	_id,4,2                         ## @id
	.comm	_clients,8,3                    ## @clients
	.no_dead_strip	_svr_process
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function svr_process
_svr_process:                           ; @svr_process
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_3
; %bb.1:
	mov	x20, x3
	mov	x21, x2
	mov	x19, x1
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	x8, [x22, #8]
	b	LBB0_5
LBB0_3:
	mov	w0, #0
Lloh5:
	adrp	x8, _clients@GOTPAGE
Lloh6:
	ldr	x8, [x8, _clients@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x9, [x22, #8]
	lsl	x9, x9, #2
	ldr	w10, [x8, x9]
	add	w10, w10, #1
	str	w10, [x8, x9]
	b	LBB0_9
LBB0_4:
	ldr	w8, [x21]
Lloh8:
	adrp	x9, _AF_INET@GOTPAGE
Lloh9:
	ldr	x9, [x9, _AF_INET@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
Lloh11:
	adrp	x10, _AF_INET6@GOTPAGE
Lloh12:
	ldr	x10, [x10, _AF_INET6@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	cmp	w8, w9
	csel	w0, w8, w10, eq
	add	x2, sp, #8
	mov	x1, x21
	mov	w3, #64
	bl	_inet_ntop
	mov	x1, x0
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
Lloh16:
	adrp	x9, _id@GOTPAGE
Lloh17:
	ldr	x9, [x9, _id@GOTPAGEOFF]
	ldrsw	x8, [x9]
	add	w10, w8, #1
	str	w10, [x9]
	str	x8, [x22, #8]
LBB0_5:
Lloh18:
	adrp	x9, _clients@GOTPAGE
Lloh19:
	ldr	x9, [x9, _clients@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	add	x0, x9, x8, lsl #2
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	b	LBB0_8
LBB0_6:
Lloh21:
	adrp	x8, _clients@GOTPAGE
Lloh22:
	ldr	x8, [x8, _clients@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	ldr	x9, [x22, #8]
	ldr	w0, [x8, x9, lsl #2]
	bl	_htobe32
	str	w0, [x22, #16]
	b	LBB0_8
LBB0_7:
Lloh24:
	adrp	x8, _clients@GOTPAGE
Lloh25:
	ldr	x8, [x8, _clients@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	ldr	x9, [x22, #8]
	lsl	x9, x9, #2
	ldr	w10, [x8, x9]
	add	w10, w10, #1
	str	w10, [x8, x9]
LBB0_8:
	mov	x0, x22
	mov	x1, x19
	mov	x2, x21
	mov	x3, x20
	bl	_svr_send
	cmp	x0, x19
	csel	w0, wzr, w0, eq
LBB0_9:
	ldur	x8, [x29, #-40]
Lloh27:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.comm	_AF_INET,4,2                    ; @AF_INET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"client login from %s\n"

	.comm	_AF_INET6,4,2                   ; @AF_INET6
	.comm	_id,4,2                         ; @id
	.comm	_clients,8,3                    ; @clients
	.no_dead_strip	_svr_process
.subsections_via_symbols
