	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SV_UserinfoChanged             ## -- Begin function SV_UserinfoChanged
	.p2align	4, 0x90
_SV_UserinfoChanged:                    ## @SV_UserinfoChanged
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	8(%rdi), %edi
	movl	16(%r14), %ebx
	leaq	L_.str(%rip), %rsi
	callq	_Info_ValueForKey
	movl	%ebx, %edi
	movq	%rax, %rsi
	movl	$4, %edx
	callq	_Q_strncpyz
	movl	12(%r14), %edi
	callq	_Sys_IsLANAddress
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	_com_dedicated@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$2, (%rax)
	je	LBB0_4
## %bb.2:
	movq	_sv_lanForceRate@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$1, (%rax)
	jne	LBB0_4
## %bb.3:
	movl	$99999, (%r14)                  ## imm = 0x1869F
	jmp	LBB0_10
LBB0_4:
	movl	8(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_Info_ValueForKey
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_strlen
	testl	%eax, %eax
	je	LBB0_9
## %bb.5:
	movq	%rbx, %rdi
	callq	_atoi
	movl	%eax, (%r14)
	cmpl	$999, %eax                      ## imm = 0x3E7
	jg	LBB0_7
## %bb.6:
	movl	$1000, (%r14)                   ## imm = 0x3E8
	jmp	LBB0_10
LBB0_9:
	movl	$3000, (%r14)                   ## imm = 0xBB8
	jmp	LBB0_10
LBB0_7:
	cmpl	$90001, %eax                    ## imm = 0x15F91
	jb	LBB0_10
## %bb.8:
	movl	$90000, (%r14)                  ## imm = 0x15F90
LBB0_10:
	movl	8(%r14), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_Info_ValueForKey
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_strlen
	testl	%eax, %eax
	je	LBB0_14
## %bb.11:
	movq	%rbx, %rdi
	callq	_atoi
	addl	$-101, %eax
	cmpl	$-100, %eax
	jb	LBB0_13
## %bb.12:
	movq	%rbx, %rdi
	callq	_strlen
	cmpl	$5, %eax
	jl	LBB0_14
LBB0_13:
	movl	8(%r14), %edi
	leaq	L_.str.2(%rip), %rsi
	leaq	L_.str.3(%rip), %rdx
	callq	_Info_SetValueForKey
LBB0_14:
	movl	8(%r14), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_Info_ValueForKey
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_strlen
	testl	%eax, %eax
	je	LBB0_15
## %bb.16:
	movq	%rbx, %rdi
	callq	_atoi
	cmpl	$30, %eax
	movl	$30, %ecx
	cmovll	%eax, %ecx
	cmpl	$2, %ecx
	movl	$1, %esi
	cmovgel	%ecx, %esi
	movw	$1000, %ax                      ## imm = 0x3E8
	xorl	%edx, %edx
	divw	%si
	movzwl	%ax, %eax
	jmp	LBB0_17
LBB0_15:
	movl	$50, %eax
LBB0_17:
	movl	%eax, 4(%r14)
	movl	8(%r14), %edi
	leaq	L_.str.5(%rip), %rsi
	callq	_Info_ValueForKey
	cmpb	$0, (%rax)
	je	LBB0_18
## %bb.22:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_18:
	movl	12(%r14), %edi
	callq	_NET_IsLocalAddress
	movl	8(%r14), %ebx
	testl	%eax, %eax
	je	LBB0_20
## %bb.19:
	leaq	L_.str.6(%rip), %rdx
	jmp	LBB0_21
LBB0_20:
	movl	12(%r14), %edi
	callq	_NET_AdrToString
	movq	%rax, %rdx
LBB0_21:
	leaq	L_.str.5(%rip), %rsi
	movl	%ebx, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_Info_SetValueForKey            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"name"

	.comm	_com_dedicated,8,3              ## @com_dedicated
	.comm	_sv_lanForceRate,8,3            ## @sv_lanForceRate
L_.str.1:                               ## @.str.1
	.asciz	"rate"

L_.str.2:                               ## @.str.2
	.asciz	"handicap"

L_.str.3:                               ## @.str.3
	.asciz	"100"

L_.str.4:                               ## @.str.4
	.asciz	"snaps"

L_.str.5:                               ## @.str.5
	.asciz	"ip"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SV_UserinfoChanged             ; -- Begin function SV_UserinfoChanged
	.p2align	2
_SV_UserinfoChanged:                    ; @SV_UserinfoChanged
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w20, [x0, #16]
	ldr	w0, [x0, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_Info_ValueForKey
	mov	x1, x0
	mov	x0, x20
	mov	w2, #4
	bl	_Q_strncpyz
	ldr	w0, [x19, #12]
	bl	_Sys_IsLANAddress
	cbz	x0, LBB0_4
; %bb.1:
Lloh2:
	adrp	x8, _com_dedicated@GOTPAGE
Lloh3:
	ldr	x8, [x8, _com_dedicated@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	w8, [x8]
	cmp	w8, #2
	b.eq	LBB0_4
; %bb.2:
Lloh5:
	adrp	x8, _sv_lanForceRate@GOTPAGE
Lloh6:
	ldr	x8, [x8, _sv_lanForceRate@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	w8, [x8]
	cmp	w8, #1
	b.ne	LBB0_4
; %bb.3:
	mov	w8, #34463
	movk	w8, #1, lsl #16
	b	LBB0_9
LBB0_4:
	ldr	w0, [x19, #8]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_Info_ValueForKey
	mov	x20, x0
	bl	_strlen
	cbz	w0, LBB0_7
; %bb.5:
	mov	x0, x20
	bl	_atoi
	str	w0, [x19]
	cmp	w0, #999
	b.gt	LBB0_8
; %bb.6:
	mov	w8, #1000
	b	LBB0_9
LBB0_7:
	mov	w8, #3000
	b	LBB0_9
LBB0_8:
	mov	w8, #24464
	movk	w8, #1, lsl #16
	cmp	w0, w8
	b.ls	LBB0_10
LBB0_9:
	str	w8, [x19]
LBB0_10:
	ldr	w0, [x19, #8]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_Info_ValueForKey
	mov	x20, x0
	bl	_strlen
	cbz	w0, LBB0_14
; %bb.11:
	mov	x0, x20
	bl	_atoi
	sub	w8, w0, #101
	cmn	w8, #100
	b.lo	LBB0_13
; %bb.12:
	mov	x0, x20
	bl	_strlen
	cmp	w0, #5
	b.lt	LBB0_14
LBB0_13:
	ldr	w0, [x19, #8]
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
Lloh14:
	adrp	x2, l_.str.3@PAGE
Lloh15:
	add	x2, x2, l_.str.3@PAGEOFF
	bl	_Info_SetValueForKey
LBB0_14:
	ldr	w0, [x19, #8]
Lloh16:
	adrp	x1, l_.str.4@PAGE
Lloh17:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_Info_ValueForKey
	mov	x20, x0
	bl	_strlen
	cbz	w0, LBB0_16
; %bb.15:
	mov	x0, x20
	bl	_atoi
	mov	w8, #30
	cmp	w0, #30
	csel	w8, w0, w8, lt
	cmp	w8, #1
	csinc	w8, w8, wzr, gt
	mov	w9, #1000
	udiv	w8, w9, w8
	b	LBB0_17
LBB0_16:
	mov	w8, #50
LBB0_17:
	str	w8, [x19, #4]
	ldr	w0, [x19, #8]
Lloh18:
	adrp	x1, l_.str.5@PAGE
Lloh19:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_Info_ValueForKey
	ldrb	w8, [x0]
	cbz	w8, LBB0_19
; %bb.18:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_19:
	ldr	w0, [x19, #12]
	bl	_NET_IsLocalAddress
	ldr	w20, [x19, #8]
	cbz	w0, LBB0_21
; %bb.20:
Lloh20:
	adrp	x2, l_.str.6@PAGE
Lloh21:
	add	x2, x2, l_.str.6@PAGEOFF
	b	LBB0_22
LBB0_21:
	ldr	w0, [x19, #12]
	bl	_NET_AdrToString
	mov	x2, x0
LBB0_22:
Lloh22:
	adrp	x1, l_.str.5@PAGE
Lloh23:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_Info_SetValueForKey
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"name"

	.comm	_com_dedicated,8,3              ; @com_dedicated
	.comm	_sv_lanForceRate,8,3            ; @sv_lanForceRate
l_.str.1:                               ; @.str.1
	.asciz	"rate"

l_.str.2:                               ; @.str.2
	.asciz	"handicap"

l_.str.3:                               ; @.str.3
	.asciz	"100"

l_.str.4:                               ; @.str.4
	.asciz	"snaps"

l_.str.5:                               ; @.str.5
	.asciz	"ip"

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

.subsections_via_symbols
