	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_areplay_set_status             ## -- Begin function areplay_set_status
	.p2align	4, 0x90
_areplay_set_status:                    ## @areplay_set_status
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_action_replay@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.1:
	movq	_TYPE_AR@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	movl	$130, %ecx
	cmovnel	%edi, %ecx
	cmpl	$128, %edi
	cmovnel	%edi, %ecx
	cmpl	$130, %ecx
	je	LBB0_4
## %bb.2:
	cmpl	$129, %ecx
	je	LBB0_6
## %bb.3:
	cmpl	$128, %ecx
	jne	LBB0_10
LBB0_4:
	cmpl	$129, 8(%rax)
	jne	LBB0_9
## %bb.5:
	movq	16(%rax), %rsi
	movq	40(%rax), %rdx
	movq	(%rdx), %rdi
	movq	_cart@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	movslq	(%rsi), %rsi
	movq	%rdi, (%rsi,%rdx)
	movq	16(%rax), %rsi
	movq	40(%rax), %rdi
	movq	8(%rdi), %rdi
	movslq	4(%rsi), %rsi
	movq	%rdi, (%rsi,%rdx)
	movq	16(%rax), %rsi
	movq	40(%rax), %rdi
	movq	16(%rdi), %rdi
	movslq	8(%rsi), %rsi
	movq	%rdi, (%rsi,%rdx)
	movq	40(%rax), %rsi
	movq	24(%rsi), %rsi
	jmp	LBB0_8
LBB0_6:
	cmpl	$129, 8(%rax)
	je	LBB0_9
## %bb.7:
	movq	24(%rax), %rsi
	movq	32(%rax), %rdx
	movl	(%rdx), %edi
	movl	%edi, (%rsi)
	movl	16(%rdx), %edi
	movl	%edi, 4(%rsi)
	movl	28(%rdx), %edi
	movl	%edi, 8(%rsi)
	movl	40(%rdx), %edi
	movl	%edi, 12(%rsi)
	movl	8(%rdx), %esi
	shll	$8, %esi
	andl	$4128768, %esi                  ## imm = 0x3F0000
	orl	4(%rdx), %esi
	addl	%esi, %esi
	movq	16(%rax), %r8
	movl	%esi, (%r8)
	movl	24(%rdx), %edi
	shll	$8, %edi
	andl	$4128768, %edi                  ## imm = 0x3F0000
	orl	20(%rdx), %edi
	addl	%edi, %edi
	movl	%edi, 4(%r8)
	movl	36(%rdx), %edi
	shll	$8, %edi
	andl	$4128768, %edi                  ## imm = 0x3F0000
	orl	32(%rdx), %edi
	addl	%edi, %edi
	movl	%edi, 8(%r8)
	movl	48(%rdx), %edi
	shll	$8, %edi
	andl	$4128768, %edi                  ## imm = 0x3F0000
	orl	44(%rdx), %edi
	addl	%edi, %edi
	movl	%edi, 12(%r8)
	movq	_cart@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	movslq	%esi, %rsi
	movq	(%rdx,%rsi), %rsi
	movq	40(%rax), %rdi
	movq	%rsi, (%rdi)
	movq	16(%rax), %rsi
	movq	40(%rax), %rdi
	movslq	4(%rsi), %rsi
	movq	(%rsi,%rdx), %rsi
	movq	%rsi, 8(%rdi)
	movq	16(%rax), %rsi
	movq	40(%rax), %rdi
	movslq	8(%rsi), %rsi
	movq	(%rsi,%rdx), %rsi
	movq	%rsi, 16(%rdi)
	movq	16(%rax), %rsi
	movq	40(%rax), %r8
	movslq	12(%rsi), %rdi
	movq	(%rdi,%rdx), %rdi
	movq	%rdi, 24(%r8)
	movq	24(%rax), %rdi
	movslq	(%rdi), %rdi
	movslq	(%rsi), %rsi
	movq	%rdi, (%rsi,%rdx)
	movq	16(%rax), %rsi
	movq	24(%rax), %rdi
	movslq	4(%rdi), %rdi
	movslq	4(%rsi), %rsi
	movq	%rdi, (%rsi,%rdx)
	movq	16(%rax), %rsi
	movq	24(%rax), %rdi
	movslq	8(%rdi), %rdi
	movslq	8(%rsi), %rsi
	movq	%rdi, (%rsi,%rdx)
	movq	24(%rax), %rsi
	movslq	12(%rsi), %rsi
LBB0_8:
	movq	16(%rax), %rdi
	movslq	12(%rdi), %rdi
	movslq	%edx, %rdx
	movq	%rsi, (%rdi,%rdx)
LBB0_9:
	movl	%ecx, 8(%rax)
LBB0_10:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_action_replay,48,3             ## @action_replay
	.comm	_TYPE_AR,8,3                    ## @TYPE_AR
	.comm	_cart,4,2                       ## @cart
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_areplay_set_status             ; -- Begin function areplay_set_status
	.p2align	2
_areplay_set_status:                    ; @areplay_set_status
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _action_replay@GOTPAGE
Lloh1:
	ldr	x8, [x8, _action_replay@GOTPAGEOFF]
	ldr	x9, [x8]
	cbz	x9, LBB0_10
; %bb.1:
Lloh2:
	adrp	x10, _TYPE_AR@GOTPAGE
Lloh3:
	ldr	x10, [x10, _TYPE_AR@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	cmp	x9, x10
	mov	w9, #128
	ccmp	w0, w9, #0, eq
	mov	w9, #130
	csel	w9, w9, w0, eq
	cmp	w9, #130
	b.eq	LBB0_4
; %bb.2:
	cmp	w9, #129
	b.eq	LBB0_6
; %bb.3:
	cmp	w9, #128
	b.ne	LBB0_10
LBB0_4:
	ldr	w10, [x8, #8]
	cmp	w10, #129
	b.ne	LBB0_9
; %bb.5:
	ldr	x10, [x8, #40]
	ldr	x11, [x10]
Lloh5:
	adrp	x10, _cart@GOTPAGE
Lloh6:
	ldr	x10, [x10, _cart@GOTPAGEOFF]
Lloh7:
	ldrsw	x10, [x10]
	ldr	x12, [x8, #16]
	ldrsw	x12, [x12]
	str	x11, [x12, x10]
	ldr	x11, [x8, #40]
	ldr	x11, [x11, #8]
	ldr	x12, [x8, #16]
	ldrsw	x12, [x12, #4]
	str	x11, [x12, x10]
	ldr	x11, [x8, #40]
	ldr	x11, [x11, #16]
	ldr	x12, [x8, #16]
	ldrsw	x12, [x12, #8]
	str	x11, [x12, x10]
	ldr	x11, [x8, #40]
	ldr	x11, [x11, #24]
	b	LBB0_8
LBB0_6:
	ldr	w10, [x8, #8]
	cmp	w10, #129
	b.eq	LBB0_9
; %bb.7:
	ldp	x10, x11, [x8, #32]
	ldr	w12, [x10]
	ldp	x14, x13, [x8, #16]
	str	w12, [x13]
	ldr	w12, [x10, #16]
	str	w12, [x13, #4]
	ldr	w12, [x10, #28]
	str	w12, [x13, #8]
	ldr	w12, [x10, #40]
	str	w12, [x13, #12]
	ldp	w12, w13, [x10, #4]
	lsl	w13, w13, #8
	and	w13, w13, #0x3f0000
	orr	w12, w13, w12
	lsl	w12, w12, #1
	str	w12, [x14]
	ldp	w13, w15, [x10, #20]
	lsl	w15, w15, #8
	and	w15, w15, #0x3f0000
	orr	w13, w15, w13
	lsl	w13, w13, #1
	str	w13, [x14, #4]
	ldp	w13, w15, [x10, #32]
	lsl	w15, w15, #8
	and	w15, w15, #0x3f0000
	orr	w13, w15, w13
	lsl	w13, w13, #1
	str	w13, [x14, #8]
	ldp	w13, w10, [x10, #44]
	lsl	w10, w10, #8
	and	w10, w10, #0x3f0000
	orr	w10, w10, w13
	lsl	w10, w10, #1
	str	w10, [x14, #12]
Lloh8:
	adrp	x10, _cart@GOTPAGE
Lloh9:
	ldr	x10, [x10, _cart@GOTPAGEOFF]
Lloh10:
	ldrsw	x10, [x10]
	ldr	x12, [x10, w12, sxtw]
	str	x12, [x11]
	ldr	x11, [x8, #16]
	ldrsw	x11, [x11, #4]
	ldr	x11, [x11, x10]
	ldr	x12, [x8, #40]
	str	x11, [x12, #8]
	ldr	x11, [x8, #16]
	ldrsw	x11, [x11, #8]
	ldr	x11, [x11, x10]
	ldr	x12, [x8, #40]
	str	x11, [x12, #16]
	ldr	x11, [x8, #16]
	ldrsw	x12, [x11, #12]
	ldr	x12, [x12, x10]
	ldr	x13, [x8, #40]
	str	x12, [x13, #24]
	ldr	x12, [x8, #24]
	ldrsw	x12, [x12]
	ldrsw	x11, [x11]
	str	x12, [x11, x10]
	ldp	x12, x11, [x8, #16]
	ldrsw	x11, [x11, #4]
	ldrsw	x12, [x12, #4]
	str	x11, [x12, x10]
	ldp	x12, x11, [x8, #16]
	ldrsw	x11, [x11, #8]
	ldrsw	x12, [x12, #8]
	str	x11, [x12, x10]
	ldr	x11, [x8, #24]
	ldrsw	x11, [x11, #12]
                                        ; kill: def $w10 killed $w10 killed $x10 def $x10
LBB0_8:
	ldr	x12, [x8, #16]
	ldrsw	x12, [x12, #12]
	str	x11, [x12, w10, sxtw]
LBB0_9:
	str	w9, [x8, #8]
LBB0_10:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_action_replay,48,3             ; @action_replay
	.comm	_TYPE_AR,8,3                    ; @TYPE_AR
	.comm	_cart,4,2                       ; @cart
.subsections_via_symbols
