	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SV_AddBanToList
_SV_AddBanToList:                       ## @SV_AddBanToList
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_NET_ADDRSTRMAXLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	_com_sv_running@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.4:
	xorl	%eax, %eax
	callq	_Cmd_Argc
	movl	%eax, %r14d
	leal	-4(%r14), %eax
	cmpl	$-3, %eax
	ja	LBB0_8
## %bb.5:
	xorl	%edi, %edi
	callq	_Cmd_Argv
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_57
## %bb.6:
	leaq	L_.str.1(%rip), %rdi
LBB0_7:
	movq	%rax, %rsi
	xorl	%eax, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Com_Printf                     ## TAILCALL
LBB0_1:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_57
## %bb.2:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_3
LBB0_8:
	movq	_serverBansCount@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_serverBans@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_ARRAY_LEN
	cmpl	%eax, %r13d
	jge	LBB0_9
## %bb.11:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movl	$1, %edi
	callq	_Cmd_Argv
	movq	%rax, %r13
	movq	%rax, %rdi
	movl	$46, %esi
	callq	_strchr
	testq	%rax, %rax
	jne	LBB0_13
## %bb.12:
	movq	%r13, %rdi
	movl	$58, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_17
LBB0_13:
	leaq	-64(%rbp), %rdi
	leaq	-52(%rbp), %rsi
	movq	%r13, %rdx
	callq	_SV_ParseCIDRNotation
	testq	%rax, %rax
	je	LBB0_14
## %bb.16:
	leaq	L_.str.3(%rip), %rdi
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_Com_Printf
	jmp	LBB0_55
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_57
## %bb.10:
	leaq	L_.str.2(%rip), %rdi
LBB0_3:
	xorl	%eax, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Com_Printf                     ## TAILCALL
LBB0_14:
	movq	-64(%rbp), %rbx
LBB0_15:
	movq	_serverBansCount@GOTPCREL(%rip), %rsi
	movq	_serverBans@GOTPCREL(%rip), %rdi
LBB0_24:
	movq	_NA_IP@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_26
## %bb.25:
	movq	_NA_IP6@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_26
## %bb.41:
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_Com_Printf
	jmp	LBB0_55
LBB0_26:
	movl	(%rsi), %eax
	testl	%eax, %eax
	jle	LBB0_54
## %bb.27:
	movl	$16, %ebx
	xorl	%r14d, %r14d
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_42:                                ##   in Loop: Header=BB0_28 Depth=1
	incq	%r14
	movslq	(%rsi), %rax
	addq	$24, %rbx
	cmpq	%rax, %r14
	jge	LBB0_43
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rdi), %r13
	movl	-16(%r13,%rbx), %eax
	movl	-52(%rbp), %edx
	cmpl	%edx, %eax
	jg	LBB0_33
## %bb.29:                              ##   in Loop: Header=BB0_28 Depth=1
	testq	%r15, %r15
	je	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_28 Depth=1
	cmpq	$0, -8(%r13,%rbx)
	je	LBB0_33
LBB0_31:                                ##   in Loop: Header=BB0_28 Depth=1
	movq	(%r13,%rbx), %rdi
	movq	-64(%rbp), %rsi
	movl	%eax, %edx
	callq	_NET_CompareBaseAdrMask
	testq	%rax, %rax
	jne	LBB0_50
## %bb.32:                              ##   in Loop: Header=BB0_28 Depth=1
	movl	-16(%r13,%rbx), %eax
	movl	-52(%rbp), %edx
	movq	_serverBansCount@GOTPCREL(%rip), %rsi
	movq	_serverBans@GOTPCREL(%rip), %rdi
LBB0_33:                                ##   in Loop: Header=BB0_28 Depth=1
	cmpl	%edx, %eax
	jl	LBB0_42
## %bb.34:                              ##   in Loop: Header=BB0_28 Depth=1
	testq	%r15, %r15
	je	LBB0_42
## %bb.35:                              ##   in Loop: Header=BB0_28 Depth=1
	cmpq	$0, -8(%r13,%rbx)
	jne	LBB0_42
## %bb.36:                              ##   in Loop: Header=BB0_28 Depth=1
	movq	(%r13,%rbx), %rdi
	movq	-64(%rbp), %rsi
	callq	_NET_CompareBaseAdrMask
	movq	_serverBans@GOTPCREL(%rip), %rdi
	movq	_serverBansCount@GOTPCREL(%rip), %rsi
	testq	%rax, %rax
	je	LBB0_42
## %bb.37:
	movq	(%r13,%rbx), %rdi
	callq	_NET_AdrToString
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	callq	_Q_strncpyz
	movq	-64(%rbp), %rdi
	callq	_NET_AdrToString
	movl	-52(%rbp), %ecx
	cmpq	$0, -8(%r13,%rbx)
	leaq	L_.str.10(%rip), %rdx
	leaq	L_.str.9(%rip), %r8
	cmoveq	%rdx, %r8
	movl	-16(%r13,%rbx), %ebx
	subq	$8, %rsp
	leaq	L_.str.11(%rip), %rdi
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_51
LBB0_17:
	xorl	%eax, %eax
	callq	_SV_GetPlayerByNum
	testq	%rax, %rax
	je	LBB0_39
## %bb.18:
	movq	(%rax), %rbx
	movq	%rbx, -64(%rbp)
	cmpl	$3, %r14d
	jne	LBB0_38
## %bb.19:
	movl	$2, %edi
	callq	_Cmd_Argv
	movq	%rax, %rdi
	callq	_atoi
	movl	%eax, -52(%rbp)
	movq	_NA_IP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rbx
	jne	LBB0_22
## %bb.20:
	addl	$-33, %eax
	cmpl	$-33, %eax
	movq	_serverBansCount@GOTPCREL(%rip), %rsi
	movq	_serverBans@GOTPCREL(%rip), %rdi
	ja	LBB0_24
## %bb.21:
	movl	$32, -52(%rbp)
	jmp	LBB0_24
LBB0_43:
	testl	%eax, %eax
	jle	LBB0_54
## %bb.44:
	xorl	%ebx, %ebx
	jmp	LBB0_45
	.p2align	4, 0x90
LBB0_52:                                ##   in Loop: Header=BB0_45 Depth=1
	incl	%ebx
LBB0_53:                                ##   in Loop: Header=BB0_45 Depth=1
	movl	(%rsi), %eax
	cmpl	%eax, %ebx
	jge	LBB0_54
LBB0_45:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rdi), %rax
	movslq	%ebx, %rcx
	leaq	(%rcx,%rcx,2), %rcx
	movl	-52(%rbp), %edx
	cmpl	%edx, (%rax,%rcx,8)
	jle	LBB0_52
## %bb.46:                              ##   in Loop: Header=BB0_45 Depth=1
	testq	%r15, %r15
	jne	LBB0_48
## %bb.47:                              ##   in Loop: Header=BB0_45 Depth=1
	cmpq	$0, 8(%rax,%rcx,8)
	jne	LBB0_52
LBB0_48:                                ##   in Loop: Header=BB0_45 Depth=1
	movq	16(%rax,%rcx,8), %rdi
	movq	-64(%rbp), %rsi
	callq	_NET_CompareBaseAdrMask
	movq	_serverBans@GOTPCREL(%rip), %rdi
	movq	_serverBansCount@GOTPCREL(%rip), %rsi
	testq	%rax, %rax
	je	LBB0_52
## %bb.49:                              ##   in Loop: Header=BB0_45 Depth=1
	movl	%ebx, %edi
	callq	_SV_DelBanEntryFromList
	movq	_serverBans@GOTPCREL(%rip), %rdi
	movq	_serverBansCount@GOTPCREL(%rip), %rsi
	jmp	LBB0_53
LBB0_54:
	movq	(%rdi), %rcx
	cltq
	leaq	(%rax,%rax,2), %rax
	movq	-64(%rbp), %rdx
	movq	%rdx, 16(%rcx,%rax,8)
	movl	-52(%rbp), %edx
	movl	%edx, (%rcx,%rax,8)
	movslq	(%rsi), %rax
	leaq	(%rax,%rax,2), %rdx
	movq	%r15, 8(%rcx,%rdx,8)
	incl	%eax
	movl	%eax, (%rsi)
	xorl	%eax, %eax
	callq	_SV_WriteBans
	testq	%r15, %r15
	leaq	L_.str.10(%rip), %rax
	leaq	L_.str.13(%rip), %rbx
	cmoveq	%rax, %rbx
	movq	-64(%rbp), %rdi
	callq	_NET_AdrToString
	movl	-52(%rbp), %ecx
	leaq	L_.str.12(%rip), %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_Com_Printf
	jmp	LBB0_55
LBB0_39:
	movl	$1, %edi
	callq	_Cmd_Argv
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_57
## %bb.40:
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_7
LBB0_38:
	movq	_NA_IP6@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	movl	$128, %eax
	movl	$32, %ecx
	cmovel	%eax, %ecx
	movl	%ecx, -52(%rbp)
	jmp	LBB0_15
LBB0_22:
	addl	$-129, %eax
	cmpl	$-129, %eax
	movq	_serverBansCount@GOTPCREL(%rip), %rsi
	movq	_serverBans@GOTPCREL(%rip), %rdi
	ja	LBB0_24
## %bb.23:
	movl	$128, -52(%rbp)
	jmp	LBB0_24
LBB0_50:
	movq	-64(%rbp), %rdi
	callq	_NET_AdrToString
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	callq	_Q_strncpyz
	cmpq	$0, -8(%r13,%rbx)
	leaq	L_.str.8(%rip), %rax
	leaq	L_.str.7(%rip), %r12
	cmoveq	%rax, %r12
	movq	(%r13,%rbx), %rdi
	callq	_NET_AdrToString
	testq	%r15, %r15
	movl	-16(%r13,%rbx), %ecx
	leaq	L_.str.9(%rip), %rdx
	leaq	L_.str.10(%rip), %r8
	cmovneq	%rdx, %r8
	movl	-52(%rbp), %ebx
	subq	$8, %rsp
	leaq	L_.str.6(%rip), %rdi
	movq	%r12, %rsi
LBB0_51:
	movl	%eax, %edx
	movq	%r14, %r9
	xorl	%eax, %eax
	pushq	%rbx
	callq	_Com_Printf
	addq	$16, %rsp
LBB0_55:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_57
## %bb.56:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_57:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NET_ADDRSTRMAXLEN,4,2          ## @NET_ADDRSTRMAXLEN
	.comm	_com_sv_running,8,3             ## @com_sv_running
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Server is not running.\n"

L_.str.1:                               ## @.str.1
	.asciz	"Usage: %s (ip[/subnet] | clientnum [subnet])\n"

	.comm	_serverBansCount,4,2            ## @serverBansCount
	.comm	_serverBans,8,3                 ## @serverBans
L_.str.2:                               ## @.str.2
	.asciz	"Error: Maximum number of bans/exceptions exceeded.\n"

L_.str.3:                               ## @.str.3
	.asciz	"Error: Invalid address %s\n"

L_.str.4:                               ## @.str.4
	.asciz	"Error: Playernum %s does not exist.\n"

	.comm	_NA_IP,8,3                      ## @NA_IP
	.comm	_NA_IP6,8,3                     ## @NA_IP6
L_.str.5:                               ## @.str.5
	.asciz	"Error: Can ban players connected via the internet only.\n"

L_.str.6:                               ## @.str.6
	.asciz	"Error: %s %s/%d supersedes %s %s/%d\n"

L_.str.7:                               ## @.str.7
	.asciz	"Exception"

L_.str.8:                               ## @.str.8
	.asciz	"Ban"

L_.str.9:                               ## @.str.9
	.asciz	"exception"

L_.str.10:                              ## @.str.10
	.asciz	"ban"

L_.str.11:                              ## @.str.11
	.asciz	"Error: %s %s/%d supersedes already existing %s %s/%d\n"

L_.str.12:                              ## @.str.12
	.asciz	"Added %s: %s/%d\n"

L_.str.13:                              ## @.str.13
	.asciz	"ban exception"

	.no_dead_strip	_SV_AddBanToList
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SV_AddBanToList
_SV_AddBanToList:                       ; @SV_AddBanToList
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #32
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _NET_ADDRSTRMAXLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NET_ADDRSTRMAXLEN@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	mov	x9, x21
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x21, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
Lloh8:
	adrp	x8, _com_sv_running@GOTPAGE
Lloh9:
	ldr	x8, [x8, _com_sv_running@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	w8, [x8]
	cbz	w8, LBB0_3
; %bb.1:
	bl	_Cmd_Argc
	sub	w8, w0, #4
	cmn	w8, #3
	b.hi	LBB0_5
; %bb.2:
	mov	w0, #0
	bl	_Cmd_Argv
	str	x0, [sp, #-16]!
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_3:
	ldur	x8, [x29, #-72]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_54
; %bb.4:
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_15
LBB0_5:
	mov	x22, x0
Lloh18:
	adrp	x24, _serverBansCount@GOTPAGE
Lloh19:
	ldr	x24, [x24, _serverBansCount@GOTPAGEOFF]
	ldr	w23, [x24]
Lloh20:
	adrp	x25, _serverBans@GOTPAGE
Lloh21:
	ldr	x25, [x25, _serverBans@GOTPAGEOFF]
	ldr	x0, [x25]
	bl	_ARRAY_LEN
	cmp	w23, w0
	b.ge	LBB0_13
; %bb.6:
	mov	w0, #1
	bl	_Cmd_Argv
	mov	x23, x0
	mov	w1, #46
	bl	_strchr
	cbnz	x0, LBB0_8
; %bb.7:
	mov	x0, x23
	mov	w1, #58
	bl	_strchr
	cbz	x0, LBB0_32
LBB0_8:
	sub	x0, x29, #80
	sub	x1, x29, #84
	mov	x2, x23
	bl	_SV_ParseCIDRNotation
	cbz	x0, LBB0_16
; %bb.9:
	str	x23, [sp, #-16]!
Lloh22:
	adrp	x0, l_.str.3@PAGE
Lloh23:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_10:
	bl	_Com_Printf
	add	sp, sp, #16
LBB0_11:
	ldur	x8, [x29, #-72]
Lloh24:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh25:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_54
; %bb.12:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_13:
	ldur	x8, [x29, #-72]
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_54
; %bb.14:
Lloh30:
	adrp	x0, l_.str.2@PAGE
Lloh31:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_15:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_Com_Printf
LBB0_16:
	ldur	x23, [x29, #-80]
LBB0_17:
Lloh32:
	adrp	x8, _NA_IP@GOTPAGE
Lloh33:
	ldr	x8, [x8, _NA_IP@GOTPAGEOFF]
Lloh34:
	ldr	x8, [x8]
Lloh35:
	adrp	x9, _NA_IP6@GOTPAGE
Lloh36:
	ldr	x9, [x9, _NA_IP6@GOTPAGEOFF]
Lloh37:
	ldr	x9, [x9]
	cmp	x23, x8
	ccmp	x23, x9, #4, ne
	b.ne	LBB0_31
; %bb.18:
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_46
; %bb.19:
	mov	x22, #0
	mov	x23, #0
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x24]
	add	x22, x22, #24
	cmp	x23, x8
	b.ge	LBB0_37
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldr	x26, [x25]
	ldr	w8, [x26, x22]
	ldur	w2, [x29, #-84]
	cmp	w8, w2
	b.gt	LBB0_26
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	add	x9, x26, x22
	cbz	x19, LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	x10, [x9, #8]
	cbz	x10, LBB0_26
LBB0_24:                                ;   in Loop: Header=BB0_21 Depth=1
	ldr	x0, [x9, #16]
	ldur	x1, [x29, #-80]
	mov	x2, x8
	bl	_NET_CompareBaseAdrMask
	cbnz	x0, LBB0_52
; %bb.25:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	w8, [x26, x22]
	ldur	w2, [x29, #-84]
LBB0_26:                                ;   in Loop: Header=BB0_21 Depth=1
	cmp	w8, w2
	b.lt	LBB0_20
; %bb.27:                               ;   in Loop: Header=BB0_21 Depth=1
	cbz	x19, LBB0_20
; %bb.28:                               ;   in Loop: Header=BB0_21 Depth=1
	add	x8, x26, x22
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_20
; %bb.29:                               ;   in Loop: Header=BB0_21 Depth=1
	add	x26, x26, x22
	ldr	x0, [x26, #16]
	ldur	x1, [x29, #-80]
	bl	_NET_CompareBaseAdrMask
	cbz	x0, LBB0_20
; %bb.30:
	ldr	x0, [x26, #16]
	bl	_NET_AdrToString
	mov	x1, x0
	mov	x0, x20
	mov	x2, x21
	bl	_Q_strncpyz
	ldur	x0, [x29, #-80]
	bl	_NET_AdrToString
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x8, [x26, #8]
Lloh38:
	adrp	x9, l_.str.9@PAGE
Lloh39:
	add	x9, x9, l_.str.9@PAGEOFF
Lloh40:
	adrp	x10, l_.str.10@PAGE
Lloh41:
	add	x10, x10, l_.str.10@PAGEOFF
	cmp	x8, #0
	csel	x8, x10, x9, eq
	ldr	w9, [x26]
	ldur	w10, [x29, #-84]
	sub	sp, sp, #48
	stp	x20, x9, [sp, #32]
Lloh42:
	adrp	x9, l_.str.7@PAGE
Lloh43:
	add	x9, x9, l_.str.7@PAGEOFF
	stp	x10, x8, [sp, #16]
	stp	x9, x0, [sp]
Lloh44:
	adrp	x0, l_.str.11@PAGE
Lloh45:
	add	x0, x0, l_.str.11@PAGEOFF
	b	LBB0_53
LBB0_31:
Lloh46:
	adrp	x0, l_.str.5@PAGE
Lloh47:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_Com_Printf
	b	LBB0_11
LBB0_32:
	bl	_SV_GetPlayerByNum
	cbz	x0, LBB0_47
; %bb.33:
	ldr	x23, [x0]
	stur	x23, [x29, #-80]
	cmp	w22, #3
	b.ne	LBB0_48
; %bb.34:
	mov	w0, #2
	bl	_Cmd_Argv
	bl	_atoi
	stur	w0, [x29, #-84]
Lloh48:
	adrp	x8, _NA_IP@GOTPAGE
Lloh49:
	ldr	x8, [x8, _NA_IP@GOTPAGEOFF]
Lloh50:
	ldr	x8, [x8]
	cmp	x23, x8
	b.ne	LBB0_49
; %bb.35:
	sub	w8, w0, #33
	cmn	w8, #33
	b.hi	LBB0_17
; %bb.36:
	mov	w8, #32
	b	LBB0_51
LBB0_37:
	cmp	w8, #1
	b.lt	LBB0_46
; %bb.38:
	mov	w20, #0
	mov	w21, #24
	b	LBB0_41
LBB0_39:                                ;   in Loop: Header=BB0_41 Depth=1
	add	w20, w20, #1
LBB0_40:                                ;   in Loop: Header=BB0_41 Depth=1
	ldr	w8, [x24]
	cmp	w20, w8
	b.ge	LBB0_46
LBB0_41:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	smull	x9, w20, w21
	ldr	w9, [x8, x9]
	ldur	w2, [x29, #-84]
	cmp	w9, w2
	b.le	LBB0_39
; %bb.42:                               ;   in Loop: Header=BB0_41 Depth=1
	sxtw	x9, w20
	cbnz	x19, LBB0_44
; %bb.43:                               ;   in Loop: Header=BB0_41 Depth=1
	madd	x10, x9, x21, x8
	ldr	x10, [x10, #8]
	cbnz	x10, LBB0_39
LBB0_44:                                ;   in Loop: Header=BB0_41 Depth=1
	madd	x8, x9, x21, x8
	ldr	x0, [x8, #16]
	ldur	x1, [x29, #-80]
	bl	_NET_CompareBaseAdrMask
	cbz	x0, LBB0_39
; %bb.45:                               ;   in Loop: Header=BB0_41 Depth=1
	mov	x0, x20
	bl	_SV_DelBanEntryFromList
	b	LBB0_40
LBB0_46:
	ldr	x9, [x25]
	mov	w10, #24
	smaddl	x8, w8, w10, x9
	ldur	x11, [x29, #-80]
	str	x11, [x8, #16]
	ldur	w11, [x29, #-84]
	str	w11, [x8]
	ldrsw	x8, [x24]
	madd	x9, x8, x10, x9
	str	x19, [x9, #8]
	add	w8, w8, #1
	str	w8, [x24]
	bl	_SV_WriteBans
Lloh51:
	adrp	x8, l_.str.13@PAGE
Lloh52:
	add	x8, x8, l_.str.13@PAGEOFF
Lloh53:
	adrp	x9, l_.str.10@PAGE
Lloh54:
	add	x9, x9, l_.str.10@PAGEOFF
	cmp	x19, #0
	csel	x19, x9, x8, eq
	ldur	x0, [x29, #-80]
	bl	_NET_AdrToString
                                        ; kill: def $w0 killed $w0 def $x0
	ldur	w8, [x29, #-84]
	sub	sp, sp, #32
	stp	x0, x8, [sp, #8]
	str	x19, [sp]
Lloh55:
	adrp	x0, l_.str.12@PAGE
Lloh56:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_Com_Printf
	add	sp, sp, #32
	b	LBB0_11
LBB0_47:
	mov	w0, #1
	bl	_Cmd_Argv
	str	x0, [sp, #-16]!
Lloh57:
	adrp	x0, l_.str.4@PAGE
Lloh58:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_10
LBB0_48:
Lloh59:
	adrp	x8, _NA_IP6@GOTPAGE
Lloh60:
	ldr	x8, [x8, _NA_IP6@GOTPAGEOFF]
Lloh61:
	ldr	x8, [x8]
	cmp	x23, x8
	mov	w8, #32
	mov	w9, #128
	csel	w8, w9, w8, eq
	b	LBB0_51
LBB0_49:
	sub	w8, w0, #129
	cmn	w8, #129
	b.hi	LBB0_17
; %bb.50:
	mov	w8, #128
LBB0_51:
	stur	w8, [x29, #-84]
	b	LBB0_17
LBB0_52:
	ldur	x0, [x29, #-80]
	bl	_NET_AdrToString
	mov	x1, x0
	mov	x0, x20
	mov	x2, x21
	bl	_Q_strncpyz
	add	x21, x26, x22
Lloh62:
	adrp	x8, l_.str.7@PAGE
Lloh63:
	add	x8, x8, l_.str.7@PAGEOFF
Lloh64:
	adrp	x9, l_.str.8@PAGE
Lloh65:
	add	x9, x9, l_.str.8@PAGEOFF
	ldp	x10, x0, [x21, #8]
	cmp	x10, #0
	csel	x22, x9, x8, eq
	bl	_NET_AdrToString
                                        ; kill: def $w0 killed $w0 def $x0
Lloh66:
	adrp	x8, l_.str.10@PAGE
Lloh67:
	add	x8, x8, l_.str.10@PAGEOFF
Lloh68:
	adrp	x9, l_.str.9@PAGE
Lloh69:
	add	x9, x9, l_.str.9@PAGEOFF
	cmp	x19, #0
	csel	x8, x9, x8, ne
	ldr	w9, [x21]
	ldur	w10, [x29, #-84]
	sub	sp, sp, #48
	stp	x20, x10, [sp, #32]
	stp	x9, x8, [sp, #16]
	stp	x22, x0, [sp]
Lloh70:
	adrp	x0, l_.str.6@PAGE
Lloh71:
	add	x0, x0, l_.str.6@PAGEOFF
LBB0_53:
	bl	_Com_Printf
	add	sp, sp, #48
	b	LBB0_11
LBB0_54:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpAdd	Lloh62, Lloh63
	.cfi_endproc
                                        ; -- End function
	.comm	_NET_ADDRSTRMAXLEN,4,2          ; @NET_ADDRSTRMAXLEN
	.comm	_com_sv_running,8,3             ; @com_sv_running
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Server is not running.\n"

l_.str.1:                               ; @.str.1
	.asciz	"Usage: %s (ip[/subnet] | clientnum [subnet])\n"

	.comm	_serverBansCount,4,2            ; @serverBansCount
	.comm	_serverBans,8,3                 ; @serverBans
l_.str.2:                               ; @.str.2
	.asciz	"Error: Maximum number of bans/exceptions exceeded.\n"

l_.str.3:                               ; @.str.3
	.asciz	"Error: Invalid address %s\n"

l_.str.4:                               ; @.str.4
	.asciz	"Error: Playernum %s does not exist.\n"

	.comm	_NA_IP,8,3                      ; @NA_IP
	.comm	_NA_IP6,8,3                     ; @NA_IP6
l_.str.5:                               ; @.str.5
	.asciz	"Error: Can ban players connected via the internet only.\n"

l_.str.6:                               ; @.str.6
	.asciz	"Error: %s %s/%d supersedes %s %s/%d\n"

l_.str.7:                               ; @.str.7
	.asciz	"Exception"

l_.str.8:                               ; @.str.8
	.asciz	"Ban"

l_.str.9:                               ; @.str.9
	.asciz	"exception"

l_.str.10:                              ; @.str.10
	.asciz	"ban"

l_.str.11:                              ; @.str.11
	.asciz	"Error: %s %s/%d supersedes already existing %s %s/%d\n"

l_.str.12:                              ; @.str.12
	.asciz	"Added %s: %s/%d\n"

l_.str.13:                              ; @.str.13
	.asciz	"ban exception"

	.no_dead_strip	_SV_AddBanToList
.subsections_via_symbols
