	.file	"extr_cudbg_lib.c_mps_rpl_backdoor.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mps_rpl_backdoor, @function
mps_rpl_backdoor:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	is_t5@PLT
	test	rax, rax
	je	.L2
	mov	esi, DWORD PTR A_MPS_VF_RPLCT_MAP3[rip]
	mov	rdi, rbp
	call	t4_read_reg@PLT
	mov	edi, eax
	call	htonl@PLT
	mov	esi, DWORD PTR A_MPS_VF_RPLCT_MAP2[rip]
	mov	rdi, rbp
	mov	QWORD PTR 56[rbx], rax
	call	t4_read_reg@PLT
	mov	edi, eax
	call	htonl@PLT
	mov	esi, DWORD PTR A_MPS_VF_RPLCT_MAP1[rip]
	mov	rdi, rbp
	mov	QWORD PTR 48[rbx], rax
	call	t4_read_reg@PLT
	mov	edi, eax
	call	htonl@PLT
	mov	esi, DWORD PTR A_MPS_VF_RPLCT_MAP0[rip]
	mov	QWORD PTR 40[rbx], rax
.L5:
	mov	rdi, rbp
	call	t4_read_reg@PLT
	mov	edi, eax
	call	htonl@PLT
	mov	esi, DWORD PTR A_MPS_VF_RPLCT_MAP3[rip]
	mov	rdi, rbp
	mov	QWORD PTR 32[rbx], rax
	call	t4_read_reg@PLT
	mov	edi, eax
	call	htonl@PLT
	mov	esi, DWORD PTR A_MPS_VF_RPLCT_MAP2[rip]
	mov	rdi, rbp
	mov	QWORD PTR 24[rbx], rax
	call	t4_read_reg@PLT
	mov	edi, eax
	call	htonl@PLT
	mov	esi, DWORD PTR A_MPS_VF_RPLCT_MAP1[rip]
	mov	rdi, rbp
	mov	QWORD PTR 16[rbx], rax
	call	t4_read_reg@PLT
	mov	edi, eax
	call	htonl@PLT
	mov	esi, DWORD PTR A_MPS_VF_RPLCT_MAP0[rip]
	mov	rdi, rbp
	mov	QWORD PTR 8[rbx], rax
	call	t4_read_reg@PLT
	mov	edi, eax
	call	htonl@PLT
	mov	QWORD PTR [rbx], rax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR A_MPS_VF_RPLCT_MAP7[rip]
	mov	rdi, rbp
	call	t4_read_reg@PLT
	mov	edi, eax
	call	htonl@PLT
	mov	esi, DWORD PTR A_MPS_VF_RPLCT_MAP6[rip]
	mov	rdi, rbp
	mov	QWORD PTR 56[rbx], rax
	call	t4_read_reg@PLT
	mov	edi, eax
	call	htonl@PLT
	mov	esi, DWORD PTR A_MPS_VF_RPLCT_MAP5[rip]
	mov	rdi, rbp
	mov	QWORD PTR 48[rbx], rax
	call	t4_read_reg@PLT
	mov	edi, eax
	call	htonl@PLT
	mov	esi, DWORD PTR A_MPS_VF_RPLCT_MAP4[rip]
	mov	QWORD PTR 40[rbx], rax
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	mps_rpl_backdoor, .-mps_rpl_backdoor
	.comm	A_MPS_VF_RPLCT_MAP7,4,4
	.comm	A_MPS_VF_RPLCT_MAP6,4,4
	.comm	A_MPS_VF_RPLCT_MAP5,4,4
	.comm	A_MPS_VF_RPLCT_MAP4,4,4
	.comm	A_MPS_VF_RPLCT_MAP3,4,4
	.comm	A_MPS_VF_RPLCT_MAP2,4,4
	.comm	A_MPS_VF_RPLCT_MAP1,4,4
	.comm	A_MPS_VF_RPLCT_MAP0,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_cudbg_lib.c_mps_rpl_backdoor.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mps_rpl_backdoor, %function
mps_rpl_backdoor:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r1
	mov	r5, r0
	bl	is_t5
	cmp	r0, #0
	beq	.L2
	ldr	r9, .L6
	mov	r0, r5
	ldr	r1, [r9]
	bl	t4_read_reg
	bl	htonl
	ldr	r8, .L6+4
	str	r0, [r4, #28]
	ldr	r1, [r8]
	mov	r0, r5
	bl	t4_read_reg
	bl	htonl
	ldr	r7, .L6+8
	str	r0, [r4, #24]
	ldr	r1, [r7]
	mov	r0, r5
	bl	t4_read_reg
	bl	htonl
	ldr	r6, .L6+12
	str	r0, [r4, #20]
	ldr	r1, [r6]
	mov	r0, r5
	bl	t4_read_reg
	bl	htonl
	str	r0, [r4, #16]
.L3:
	ldr	r1, [r9]
	mov	r0, r5
	bl	t4_read_reg
	bl	htonl
	ldr	r1, [r8]
	str	r0, [r4, #12]
	mov	r0, r5
	bl	t4_read_reg
	bl	htonl
	ldr	r1, [r7]
	str	r0, [r4, #8]
	mov	r0, r5
	bl	t4_read_reg
	bl	htonl
	ldr	r1, [r6]
	str	r0, [r4, #4]
	mov	r0, r5
	bl	t4_read_reg
	bl	htonl
	str	r0, [r4]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	ldr	r3, .L6+16
	mov	r0, r5
	ldr	r1, [r3]
	bl	t4_read_reg
	bl	htonl
	ldr	r3, .L6+20
	str	r0, [r4, #28]
	ldr	r1, [r3]
	mov	r0, r5
	bl	t4_read_reg
	bl	htonl
	ldr	r3, .L6+24
	str	r0, [r4, #24]
	ldr	r1, [r3]
	mov	r0, r5
	bl	t4_read_reg
	bl	htonl
	ldr	r3, .L6+28
	str	r0, [r4, #20]
	ldr	r1, [r3]
	mov	r0, r5
	bl	t4_read_reg
	bl	htonl
	ldr	r9, .L6
	ldr	r8, .L6+4
	ldr	r7, .L6+8
	ldr	r6, .L6+12
	str	r0, [r4, #16]
	b	.L3
.L7:
	.align	2
.L6:
	.word	A_MPS_VF_RPLCT_MAP3
	.word	A_MPS_VF_RPLCT_MAP2
	.word	A_MPS_VF_RPLCT_MAP1
	.word	A_MPS_VF_RPLCT_MAP0
	.word	A_MPS_VF_RPLCT_MAP7
	.word	A_MPS_VF_RPLCT_MAP6
	.word	A_MPS_VF_RPLCT_MAP5
	.word	A_MPS_VF_RPLCT_MAP4
	.size	mps_rpl_backdoor, .-mps_rpl_backdoor
	.comm	A_MPS_VF_RPLCT_MAP7,4,4
	.comm	A_MPS_VF_RPLCT_MAP6,4,4
	.comm	A_MPS_VF_RPLCT_MAP5,4,4
	.comm	A_MPS_VF_RPLCT_MAP4,4,4
	.comm	A_MPS_VF_RPLCT_MAP3,4,4
	.comm	A_MPS_VF_RPLCT_MAP2,4,4
	.comm	A_MPS_VF_RPLCT_MAP1,4,4
	.comm	A_MPS_VF_RPLCT_MAP0,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
