	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rc_evaluate_richpresence       ## -- Begin function rc_evaluate_richpresence
	.p2align	4, 0x90
_rc_evaluate_richpresence:              ## @rc_evaluate_richpresence
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movq	%r8, %r12
	movl	%ecx, %r13d
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	8(%rdi), %edi
	movl	%ecx, %esi
	movq	%r8, %rdx
	callq	_rc_update_memref_values
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_19
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, (%rbx)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	16(%rbx), %rdi
	movl	%r13d, %esi
	movq	%r12, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	_rc_test_trigger
	testq	%rax, %rax
	je	LBB0_1
LBB0_4:
	movq	8(%rbx), %rbx
	movq	%r14, %rax
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	testq	%rbx, %rbx
	je	LBB0_18
## %bb.5:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=1
	leaq	24(%rbx), %rdi
	movl	%r13d, %esi
	movq	%r12, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	_rc_evaluate_value
	movl	(%rbx), %ecx
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_rc_format_value
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
                                        ## kill: def $eax killed $eax def $rax
LBB0_17:                                ##   in Loop: Header=BB0_6 Depth=1
	testl	%eax, %eax
	movl	$0, %ecx
	cmovlel	%ecx, %eax
	subl	%eax, %r15d
	addq	%rax, %r14
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_18
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	movl	(%rbx), %eax
	cmpl	$129, %eax
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$128, %eax
	jne	LBB0_15
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%rbx), %rcx
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	leaq	24(%rbx), %rdi
	movl	%r13d, %esi
	movq	%r12, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	_rc_evaluate_value
	movq	32(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_11
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rcx, %rdx
	movq	16(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=2
	cmpl	%eax, (%rdx)
	jne	LBB0_12
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%rdx), %rcx
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %rdi
	movl	%r15d, %esi
	leaq	L_.str(%rip), %rdx
	callq	_snprintf
	jmp	LBB0_16
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_17
LBB0_18:
	subl	-56(%rbp), %r14d                ## 4-byte Folded Reload
	jmp	LBB0_20
LBB0_19:
	movb	$0, (%r14)
	xorl	%r14d, %r14d
LBB0_20:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rc_evaluate_richpresence       ; -- Begin function rc_evaluate_richpresence
	.p2align	2
_rc_evaluate_richpresence:              ; @rc_evaluate_richpresence
	.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
	mov	x20, x5
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x19, x1
	mov	x24, x0
	ldr	w0, [x0, #8]
	mov	x1, x3
	mov	x2, x4
	bl	_rc_update_memref_values
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x24, [x24]
	cbz	x24, LBB0_18
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x24]
	cbz	x8, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x0, x24, #16
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	bl	_rc_test_trigger
	cbz	x0, LBB0_1
LBB0_4:
	ldr	x26, [x24, #8]
	mov	x24, x19
	cbz	x26, LBB0_17
; %bb.5:
Lloh0:
	adrp	x25, l_.str@PAGE
Lloh1:
	add	x25, x25, l_.str@PAGEOFF
	mov	x24, x19
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x0, x26, #24
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	bl	_rc_evaluate_value
	mov	x2, x0
	ldr	w3, [x26]
	mov	x0, x24
	mov	x1, x23
	bl	_rc_format_value
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	cmp	w0, #0
	csel	w8, w0, wzr, gt
	sub	w23, w23, w8
	add	x24, x24, x8
	ldr	x26, [x26, #16]
	cbz	x26, LBB0_17
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	ldr	w8, [x26]
	cmp	w8, #129
	b.eq	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w8, #128
	b.ne	LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x3, [x26, #8]
	b	LBB0_15
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x0, x26, #24
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	bl	_rc_evaluate_value
	ldr	x8, [x26, #32]
	cbz	x8, LBB0_16
LBB0_12:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x9, x8
	ldr	x8, [x8, #16]
	cbz	x8, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	ldr	w10, [x9]
	cmp	w10, w0
	b.ne	LBB0_12
LBB0_14:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x3, [x9, #8]
LBB0_15:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x24
	mov	x1, x23
	mov	x2, x25
	bl	_snprintf
	b	LBB0_7
LBB0_16:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	w0, #0
	b	LBB0_7
LBB0_17:
	sub	w0, w24, w19
	b	LBB0_19
LBB0_18:
	mov	w0, #0
	strb	wzr, [x19]
LBB0_19:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

.subsections_via_symbols
