	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_G_RankClientDisconnect         ## -- Begin function G_RankClientDisconnect
	.p2align	4, 0x90
_G_RankClientDisconnect:                ## @G_RankClientDisconnect
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_level@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_1
## %bb.4:
	popq	%rbp
	retq
LBB0_1:
	movq	_g_entities@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edi, %rdx
	movq	(%rax,%rdx,8), %rax
	movl	8(%rcx), %edx
	subl	8(%rax), %edx
	xorl	%ecx, %ecx
	cmpl	$60000, %edx                    ## imm = 0xEA60
	jl	LBB0_3
## %bb.2:
	movl	%edx, %ecx
	imulq	$274877907, %rcx, %rcx          ## imm = 0x10624DD3
	shrq	$38, %rcx
	movq	(%rax), %rax
	movq	_PERS_MATCH_RATING@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rax,%rdx,4), %eax
	cltd
	idivl	%ecx
	movl	%eax, %ecx
LBB0_3:
	movq	_QGR_KEY_MATCH_RATING@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$-1, %esi
	xorl	%r8d, %r8d
	popq	%rbp
	jmp	_trap_RankReportInt             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_level,16,3                     ## @level
	.comm	_g_entities,8,3                 ## @g_entities
	.comm	_PERS_MATCH_RATING,8,3          ## @PERS_MATCH_RATING
	.comm	_QGR_KEY_MATCH_RATING,4,2       ## @QGR_KEY_MATCH_RATING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_G_RankClientDisconnect         ; -- Begin function G_RankClientDisconnect
	.p2align	2
_G_RankClientDisconnect:                ; @G_RankClientDisconnect
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x9, _level@GOTPAGE
Lloh1:
	ldr	x9, [x9, _level@GOTPAGEOFF]
	ldr	x8, [x9]
	cbz	x8, LBB0_2
; %bb.1:
	ret
LBB0_2:
Lloh2:
	adrp	x8, _g_entities@GOTPAGE
Lloh3:
	ldr	x8, [x8, _g_entities@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	x8, [x8, w0, sxtw #3]
	ldr	w9, [x9, #8]
	ldr	w10, [x8, #8]
	mov	w11, #60000
	sub	w9, w9, w10
	cmp	w9, w11
	b.ge	LBB0_4
; %bb.3:
	mov	w3, #0
	b	LBB0_5
LBB0_4:
	mov	w10, #19923
	movk	w10, #4194, lsl #16
	umull	x9, w9, w10
	lsr	x9, x9, #38
	ldr	x8, [x8]
Lloh5:
	adrp	x10, _PERS_MATCH_RATING@GOTPAGE
Lloh6:
	ldr	x10, [x10, _PERS_MATCH_RATING@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	ldr	w8, [x8, x10, lsl #2]
	sdiv	w3, w8, w9
LBB0_5:
Lloh8:
	adrp	x8, _QGR_KEY_MATCH_RATING@GOTPAGE
Lloh9:
	ldr	x8, [x8, _QGR_KEY_MATCH_RATING@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	w1, #-1
	mov	w4, #0
	b	_trap_RankReportInt
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_level,16,3                     ; @level
	.comm	_g_entities,8,3                 ; @g_entities
	.comm	_PERS_MATCH_RATING,8,3          ; @PERS_MATCH_RATING
	.comm	_QGR_KEY_MATCH_RATING,4,2       ; @QGR_KEY_MATCH_RATING
.subsections_via_symbols
