	.file	"extr_Messenger.c_m_set_userstatus.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	m_set_userstatus
	.type	m_set_userstatus, @function
m_set_userstatus:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	QWORD PTR USERSTATUS_INVALID[rip], rsi
	jle	.L6
	cmp	QWORD PTR [rdi], rsi
	je	.L4
	mov	rdx, QWORD PTR 8[rdi]
	mov	QWORD PTR [rdi], rsi
	test	rdx, rdx
	je	.L4
	mov	rax, QWORD PTR 16[rdi]
	lea	rdx, [rax+rdx*8]
	.p2align 4,,10
	.p2align 3
.L5:
	mov	QWORD PTR [rax], 0
	add	rax, 8
	cmp	rax, rdx
	jne	.L5
.L4:
	xor	eax, eax
	ret
.L6:
	mov	eax, -1
	ret
	.cfi_endproc
.LFE0:
	.size	m_set_userstatus, .-m_set_userstatus
	.comm	USERSTATUS_INVALID,8,8
	.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_Messenger.c_m_set_userstatus.c"
	.text
	.align	2
	.global	m_set_userstatus
	.syntax unified
	.arm
	.fpu softvfp
	.type	m_set_userstatus, %function
m_set_userstatus:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r3, .L12
	ldr	r3, [r3]
	cmp	r3, r1
	ble	.L6
	ldr	r3, [r0]
	cmp	r3, r1
	beq	.L4
	ldr	r2, [r0, #4]
	str	r1, [r0]
	cmp	r2, #0
	beq	.L4
	mov	r1, #0
	ldr	r3, [r0, #8]
	add	r2, r3, r2, lsl #2
	sub	r2, r2, #4
	sub	r3, r3, #4
.L5:
	str	r1, [r3, #4]!
	cmp	r3, r2
	bne	.L5
.L4:
	mov	r0, #0
	bx	lr
.L6:
	mvn	r0, #0
	bx	lr
.L13:
	.align	2
.L12:
	.word	USERSTATUS_INVALID
	.size	m_set_userstatus, .-m_set_userstatus
	.comm	USERSTATUS_INVALID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
