	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SV_RankSendReportsCBF
_SV_RankSendReportsCBF:                 ## @SV_RankSendReportsCBF
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_assert
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_Com_DPrintf
	testq	%r14, %r14
	je	LBB0_1
## %bb.2:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_Com_DPrintf
	movq	%r14, %rax
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_Com_DPrintf
	movq	_s_server_context@GOTPCREL(%rip), %rax
LBB0_3:
	movq	(%rax), %r15
	movq	(%rbx), %rdi
	movq	_GR_STATUS_OK@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	je	LBB0_5
## %bb.4:
	callq	_SV_RankStatusString
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	callq	_SV_RankError
LBB0_5:
	testq	%r15, %r15
	je	LBB0_6
## %bb.7:
	movq	_SV_RankCleanupCBF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GR_OPT_END@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r15, %rdi
	xorl	%esi, %esi
	movq	%r14, %rcx
	callq	_GRankCleanupAsync
	movq	_GR_STATUS_PENDING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_Com_DPrintf
	jmp	LBB0_9
LBB0_8:
	movq	%rax, %rdi
	callq	_SV_RankStatusString
	leaq	L_.str.5(%rip), %rdi
	movl	%eax, %esi
	callq	_SV_RankError
LBB0_9:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SV_RankCloseContext            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SV_RankSendReportsCBF( %08X, %08X );\n"

L_.str.1:                               ## @.str.1
	.asciz	"SV_RankSendReportsCBF: server\n"

	.comm	_s_server_context,8,3           ## @s_server_context
L_.str.2:                               ## @.str.2
	.asciz	"SV_RankSendReportsCBF: player\n"

	.comm	_GR_STATUS_OK,8,3               ## @GR_STATUS_OK
L_.str.3:                               ## @.str.3
	.asciz	"SV_RankSendReportsCBF: Unexpected status %s"

L_.str.4:                               ## @.str.4
	.asciz	"SV_RankSendReportsCBF: WARNING: context == 0"

	.comm	_SV_RankCleanupCBF,4,2          ## @SV_RankCleanupCBF
	.comm	_GR_OPT_END,4,2                 ## @GR_OPT_END
	.comm	_GR_STATUS_PENDING,8,3          ## @GR_STATUS_PENDING
L_.str.5:                               ## @.str.5
	.asciz	"SV_RankSendReportsCBF: Expected GR_STATUS_PENDING from GRankCleanupAsync, got %s"

	.no_dead_strip	_SV_RankSendReportsCBF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SV_RankSendReportsCBF
_SV_RankSendReportsCBF:                 ; @SV_RankSendReportsCBF
	.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
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	stp	x20, x19, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Com_DPrintf
	cbz	x19, LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str.2@PAGE
Lloh3:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_Com_DPrintf
	mov	x8, x19
	b	LBB0_3
LBB0_2:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_Com_DPrintf
Lloh6:
	adrp	x8, _s_server_context@GOTPAGE
Lloh7:
	ldr	x8, [x8, _s_server_context@GOTPAGEOFF]
LBB0_3:
	ldr	x21, [x8]
	ldr	x0, [x20]
Lloh8:
	adrp	x8, _GR_STATUS_OK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GR_STATUS_OK@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_5
; %bb.4:
	bl	_SV_RankStatusString
	mov	x1, x0
Lloh11:
	adrp	x0, l_.str.3@PAGE
Lloh12:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_SV_RankError
LBB0_5:
	cbz	x21, LBB0_8
; %bb.6:
Lloh13:
	adrp	x8, _SV_RankCleanupCBF@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SV_RankCleanupCBF@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
Lloh16:
	adrp	x8, _GR_OPT_END@GOTPAGE
Lloh17:
	ldr	x8, [x8, _GR_OPT_END@GOTPAGEOFF]
Lloh18:
	ldr	w4, [x8]
	mov	x0, x21
	mov	w1, #0
	mov	x3, x19
	bl	_GRankCleanupAsync
Lloh19:
	adrp	x8, _GR_STATUS_PENDING@GOTPAGE
Lloh20:
	ldr	x8, [x8, _GR_STATUS_PENDING@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.7:
	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_8:
Lloh22:
	adrp	x0, l_.str.4@PAGE
Lloh23:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_Com_DPrintf
	b	LBB0_10
LBB0_9:
	bl	_SV_RankStatusString
	mov	x1, x0
Lloh24:
	adrp	x0, l_.str.5@PAGE
Lloh25:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_SV_RankError
LBB0_10:
	mov	x0, x19
	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
	b	_SV_RankCloseContext
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SV_RankSendReportsCBF( %08X, %08X );\n"

l_.str.1:                               ; @.str.1
	.asciz	"SV_RankSendReportsCBF: server\n"

	.comm	_s_server_context,8,3           ; @s_server_context
l_.str.2:                               ; @.str.2
	.asciz	"SV_RankSendReportsCBF: player\n"

	.comm	_GR_STATUS_OK,8,3               ; @GR_STATUS_OK
l_.str.3:                               ; @.str.3
	.asciz	"SV_RankSendReportsCBF: Unexpected status %s"

l_.str.4:                               ; @.str.4
	.asciz	"SV_RankSendReportsCBF: WARNING: context == 0"

	.comm	_SV_RankCleanupCBF,4,2          ; @SV_RankCleanupCBF
	.comm	_GR_OPT_END,4,2                 ; @GR_OPT_END
	.comm	_GR_STATUS_PENDING,8,3          ; @GR_STATUS_PENDING
l_.str.5:                               ; @.str.5
	.asciz	"SV_RankSendReportsCBF: Expected GR_STATUS_PENDING from GRankCleanupAsync, got %s"

	.no_dead_strip	_SV_RankSendReportsCBF
.subsections_via_symbols
