	.file	"extr_module.c_RM_SetExpire.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	RM_SetExpire
	.type	RM_SetExpire, @function
RM_SetExpire:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR [rdi]
	test	DWORD PTR REDISMODULE_WRITE[rip], eax
	je	.L11
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	cmp	QWORD PTR 24[rdi], 0
	mov	eax, DWORD PTR REDISMODULE_ERR[rip]
	je	.L1
	cmp	QWORD PTR REDISMODULE_NO_EXPIRE[rip], rsi
	mov	rbp, rsi
	je	.L5
	xor	eax, eax
	call	mstime@PLT
	mov	edx, DWORD PTR 4[rbx]
	mov	esi, DWORD PTR 8[rbx]
	lea	rcx, 0[rbp+rax]
	mov	rax, QWORD PTR 16[rbx]
	mov	edi, DWORD PTR [rax]
	call	setExpire@PLT
.L6:
	mov	eax, DWORD PTR REDISMODULE_OK[rip]
.L1:
	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
.L5:
	.cfi_restore_state
	mov	esi, DWORD PTR 4[rdi]
	mov	edi, DWORD PTR 8[rdi]
	call	removeExpire@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_def_cfa_offset 8
	.cfi_restore 3
	.cfi_restore 6
	mov	eax, DWORD PTR REDISMODULE_ERR[rip]
	ret
	.cfi_endproc
.LFE0:
	.size	RM_SetExpire, .-RM_SetExpire
	.comm	REDISMODULE_WRITE,4,4
	.comm	REDISMODULE_OK,4,4
	.comm	REDISMODULE_NO_EXPIRE,8,8
	.comm	REDISMODULE_ERR,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_module.c_RM_SetExpire.c"
	.text
	.align	2
	.global	RM_SetExpire
	.syntax unified
	.arm
	.fpu softvfp
	.type	RM_SetExpire, %function
RM_SetExpire:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L16
	ldr	r2, [r0]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L11
	ldr	r3, [r0, #16]
	push	{r4, r5, r6, lr}
	cmp	r3, #0
	mov	r4, r0
	beq	.L15
	ldr	r3, .L16+4
	mov	r5, r1
	ldr	r3, [r3]
	cmp	r3, r1
	beq	.L5
	bl	mstime
	ldr	r2, [r4, #12]
	add	r3, r5, r0
	ldr	r1, [r4, #8]
	ldr	r0, [r2]
	ldr	r2, [r4, #4]
	bl	setExpire
.L6:
	ldr	r3, .L16+8
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L15:
	ldr	r3, .L16+12
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L5:
	ldr	r1, [r0, #4]
	ldr	r0, [r0, #8]
	bl	removeExpire
	b	.L6
.L11:
	ldr	r3, .L16+12
	ldr	r0, [r3]
	bx	lr
.L17:
	.align	2
.L16:
	.word	REDISMODULE_WRITE
	.word	REDISMODULE_NO_EXPIRE
	.word	REDISMODULE_OK
	.word	REDISMODULE_ERR
	.size	RM_SetExpire, .-RM_SetExpire
	.comm	REDISMODULE_WRITE,4,4
	.comm	REDISMODULE_OK,4,4
	.comm	REDISMODULE_NO_EXPIRE,4,4
	.comm	REDISMODULE_ERR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
