	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cudbg_mps_rpl_backdoor
_cudbg_mps_rpl_backdoor:                ## @cudbg_mps_rpl_backdoor
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_is_t5
	testq	%rax, %rax
	movq	_MPS_VF_RPLCT_MAP7_A@GOTPCREL(%rip), %rax
	cmovneq	_MPS_VF_RPLCT_MAP3_A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MPS_VF_RPLCT_MAP6_A@GOTPCREL(%rip), %r15
	cmovneq	_MPS_VF_RPLCT_MAP2_A@GOTPCREL(%rip), %r15
	movq	_MPS_VF_RPLCT_MAP5_A@GOTPCREL(%rip), %r13
	cmovneq	_MPS_VF_RPLCT_MAP1_A@GOTPCREL(%rip), %r13
	movq	_MPS_VF_RPLCT_MAP4_A@GOTPCREL(%rip), %r12
	cmovneq	_MPS_VF_RPLCT_MAP0_A@GOTPCREL(%rip), %r12
	movq	%rbx, %rdi
	callq	_t4_read_reg
	movl	%eax, %edi
	callq	_htonl
	movq	%rax, 56(%r14)
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_t4_read_reg
	movl	%eax, %edi
	callq	_htonl
	movq	%rax, 48(%r14)
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_t4_read_reg
	movl	%eax, %edi
	callq	_htonl
	movq	%rax, 40(%r14)
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_t4_read_reg
	movl	%eax, %edi
	callq	_htonl
	movq	%rax, 32(%r14)
	movq	_MPS_VF_RPLCT_MAP3_A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_t4_read_reg
	movl	%eax, %edi
	callq	_htonl
	movq	%rax, 24(%r14)
	movq	_MPS_VF_RPLCT_MAP2_A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_t4_read_reg
	movl	%eax, %edi
	callq	_htonl
	movq	%rax, 16(%r14)
	movq	_MPS_VF_RPLCT_MAP1_A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_t4_read_reg
	movl	%eax, %edi
	callq	_htonl
	movq	%rax, 8(%r14)
	movq	_MPS_VF_RPLCT_MAP0_A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_t4_read_reg
	movl	%eax, %edi
	callq	_htonl
	movq	%rax, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MPS_VF_RPLCT_MAP3_A,4,2        ## @MPS_VF_RPLCT_MAP3_A
	.comm	_MPS_VF_RPLCT_MAP2_A,4,2        ## @MPS_VF_RPLCT_MAP2_A
	.comm	_MPS_VF_RPLCT_MAP1_A,4,2        ## @MPS_VF_RPLCT_MAP1_A
	.comm	_MPS_VF_RPLCT_MAP0_A,4,2        ## @MPS_VF_RPLCT_MAP0_A
	.comm	_MPS_VF_RPLCT_MAP7_A,4,2        ## @MPS_VF_RPLCT_MAP7_A
	.comm	_MPS_VF_RPLCT_MAP6_A,4,2        ## @MPS_VF_RPLCT_MAP6_A
	.comm	_MPS_VF_RPLCT_MAP5_A,4,2        ## @MPS_VF_RPLCT_MAP5_A
	.comm	_MPS_VF_RPLCT_MAP4_A,4,2        ## @MPS_VF_RPLCT_MAP4_A
	.no_dead_strip	_cudbg_mps_rpl_backdoor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cudbg_mps_rpl_backdoor
_cudbg_mps_rpl_backdoor:                ; @cudbg_mps_rpl_backdoor
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x0]
	bl	_is_t5
Lloh0:
	adrp	x8, _MPS_VF_RPLCT_MAP7_A@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MPS_VF_RPLCT_MAP7_A@GOTPAGEOFF]
Lloh2:
	adrp	x24, _MPS_VF_RPLCT_MAP3_A@GOTPAGE
Lloh3:
	ldr	x24, [x24, _MPS_VF_RPLCT_MAP3_A@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x24, eq
	ldr	w1, [x8]
Lloh4:
	adrp	x8, _MPS_VF_RPLCT_MAP6_A@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MPS_VF_RPLCT_MAP6_A@GOTPAGEOFF]
Lloh6:
	adrp	x23, _MPS_VF_RPLCT_MAP2_A@GOTPAGE
Lloh7:
	ldr	x23, [x23, _MPS_VF_RPLCT_MAP2_A@GOTPAGEOFF]
	csel	x25, x8, x23, eq
Lloh8:
	adrp	x8, _MPS_VF_RPLCT_MAP5_A@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MPS_VF_RPLCT_MAP5_A@GOTPAGEOFF]
Lloh10:
	adrp	x22, _MPS_VF_RPLCT_MAP1_A@GOTPAGE
Lloh11:
	ldr	x22, [x22, _MPS_VF_RPLCT_MAP1_A@GOTPAGEOFF]
Lloh12:
	adrp	x9, _MPS_VF_RPLCT_MAP4_A@GOTPAGE
Lloh13:
	ldr	x9, [x9, _MPS_VF_RPLCT_MAP4_A@GOTPAGEOFF]
	csel	x26, x8, x22, eq
Lloh14:
	adrp	x21, _MPS_VF_RPLCT_MAP0_A@GOTPAGE
Lloh15:
	ldr	x21, [x21, _MPS_VF_RPLCT_MAP0_A@GOTPAGEOFF]
	csel	x27, x9, x21, eq
	mov	x0, x20
	bl	_t4_read_reg
	bl	_htonl
	str	x0, [x19, #56]
	ldr	w1, [x25]
	mov	x0, x20
	bl	_t4_read_reg
	bl	_htonl
	str	x0, [x19, #48]
	ldr	w1, [x26]
	mov	x0, x20
	bl	_t4_read_reg
	bl	_htonl
	str	x0, [x19, #40]
	ldr	w1, [x27]
	mov	x0, x20
	bl	_t4_read_reg
	bl	_htonl
	str	x0, [x19, #32]
	ldr	w1, [x24]
	mov	x0, x20
	bl	_t4_read_reg
	bl	_htonl
	str	x0, [x19, #24]
	ldr	w1, [x23]
	mov	x0, x20
	bl	_t4_read_reg
	bl	_htonl
	str	x0, [x19, #16]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_t4_read_reg
	bl	_htonl
	str	x0, [x19, #8]
	ldr	w1, [x21]
	mov	x0, x20
	bl	_t4_read_reg
	bl	_htonl
	str	x0, [x19]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MPS_VF_RPLCT_MAP3_A,4,2        ; @MPS_VF_RPLCT_MAP3_A
	.comm	_MPS_VF_RPLCT_MAP2_A,4,2        ; @MPS_VF_RPLCT_MAP2_A
	.comm	_MPS_VF_RPLCT_MAP1_A,4,2        ; @MPS_VF_RPLCT_MAP1_A
	.comm	_MPS_VF_RPLCT_MAP0_A,4,2        ; @MPS_VF_RPLCT_MAP0_A
	.comm	_MPS_VF_RPLCT_MAP7_A,4,2        ; @MPS_VF_RPLCT_MAP7_A
	.comm	_MPS_VF_RPLCT_MAP6_A,4,2        ; @MPS_VF_RPLCT_MAP6_A
	.comm	_MPS_VF_RPLCT_MAP5_A,4,2        ; @MPS_VF_RPLCT_MAP5_A
	.comm	_MPS_VF_RPLCT_MAP4_A,4,2        ; @MPS_VF_RPLCT_MAP4_A
	.no_dead_strip	_cudbg_mps_rpl_backdoor
.subsections_via_symbols
