	.file	"extr_lua-mongo.c_op_update.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Invalid param"
	.text
	.p2align 4
	.type	op_update, @function
op_update:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	esi, 3
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	call	lua_touserdata@PLT
	mov	esi, 4
	mov	rdi, r12
	mov	r14, rax
	call	lua_touserdata@PLT
	mov	r15, rax
	test	r14, r14
	je	.L5
	test	rax, rax
	je	.L5
.L2:
	lea	rdx, 24[rsp]
	lea	r13, 20[rsp]
	mov	rdi, r12
	mov	esi, 1
	mov	QWORD PTR 24[rsp], 0
	lea	rbp, 32[rsp]
	call	luaL_checklstring@PLT
	mov	rsi, r13
	mov	rdi, r12
	mov	rbx, rax
	call	luaL_buffinit@PLT
	mov	rdi, rbp
	call	buffer_create@PLT
	mov	rdi, rbp
	call	reserve_length@PLT
	xor	esi, esi
	mov	rdi, rbp
	mov	DWORD PTR 12[rsp], eax
	call	write_int32@PLT
	xor	esi, esi
	mov	rdi, rbp
	call	write_int32@PLT
	mov	esi, DWORD PTR OP_UPDATE[rip]
	mov	rdi, rbp
	call	write_int32@PLT
	xor	esi, esi
	mov	rdi, rbp
	call	write_int32@PLT
	mov	rdx, QWORD PTR 24[rsp]
	mov	rsi, rbx
	mov	rdi, rbp
	call	write_string@PLT
	mov	rdi, r12
	mov	esi, 2
	call	lua_tointeger@PLT
	mov	rdi, rbp
	mov	esi, eax
	call	write_int32@PLT
	mov	rdi, r14
	call	get_length@PLT
	mov	rdi, r15
	mov	ebx, eax
	call	get_length@PLT
	mov	esi, DWORD PTR 32[rsp]
	mov	r8d, DWORD PTR 12[rsp]
	mov	rdi, rbp
	mov	r12d, eax
	add	esi, ebx
	mov	edx, r8d
	add	esi, eax
	call	write_length@PLT
	mov	edx, DWORD PTR 32[rsp]
	mov	rsi, QWORD PTR 40[rsp]
	mov	rdi, r13
	call	luaL_addlstring@PLT
	mov	rdi, rbp
	call	buffer_destroy@PLT
	mov	edx, ebx
	mov	rsi, r14
	mov	rdi, r13
	call	luaL_addlstring@PLT
	mov	edx, r12d
	mov	rsi, r15
	mov	rdi, r13
	call	luaL_addlstring@PLT
	mov	rdi, r13
	call	luaL_pushresult@PLT
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L11
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, 1
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	lea	rsi, .LC0[rip]
	mov	rdi, r12
	call	luaL_error@PLT
	jmp	.L2
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	op_update, .-op_update
	.comm	OP_UPDATE,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_lua-mongo.c_op_update.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Invalid param\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	op_update, %function
op_update:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, .L11
	sub	sp, sp, #28
	mov	r1, #3
	mov	r4, r0
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	lua_touserdata
	mov	r1, #4
	mov	r6, r0
	mov	r0, r4
	bl	lua_touserdata
	cmp	r0, #0
	cmpne	r6, #0
	mov	r5, r0
	beq	.L9
.L2:
	mov	r7, #0
	add	r2, sp, #4
	mov	r1, #1
	mov	r0, r4
	str	r7, [sp, #4]
	bl	luaL_checklstring
	add	r1, sp, #8
	mov	r9, r0
	mov	r0, r4
	bl	luaL_buffinit
	add	r0, sp, #12
	bl	buffer_create
	add	r0, sp, #12
	bl	reserve_length
	mov	r1, r7
	mov	r8, r0
	add	r0, sp, #12
	bl	write_int32
	mov	r1, r7
	add	r0, sp, #12
	bl	write_int32
	ldr	r3, .L11+4
	add	r0, sp, #12
	ldr	r1, [r3]
	bl	write_int32
	mov	r1, r7
	add	r0, sp, #12
	bl	write_int32
	ldr	r2, [sp, #4]
	mov	r1, r9
	add	r0, sp, #12
	bl	write_string
	mov	r0, r4
	mov	r1, #2
	bl	lua_tointeger
	mov	r1, r0
	add	r0, sp, #12
	bl	write_int32
	mov	r0, r6
	bl	get_length
	mov	r7, r0
	mov	r0, r5
	bl	get_length
	mov	r4, r0
	ldr	r1, [sp, #12]
	mov	r2, r8
	add	r1, r7, r1
	add	r1, r1, r0
	add	r0, sp, #12
	bl	write_length
	ldr	r2, [sp, #12]
	ldr	r1, [sp, #16]
	add	r0, sp, #8
	bl	luaL_addlstring
	add	r0, sp, #12
	bl	buffer_destroy
	mov	r2, r7
	mov	r1, r6
	add	r0, sp, #8
	bl	luaL_addlstring
	mov	r2, r4
	mov	r1, r5
	add	r0, sp, #8
	bl	luaL_addlstring
	add	r0, sp, #8
	bl	luaL_pushresult
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	mov	r0, #1
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L9:
	mov	r0, r4
	ldr	r1, .L11+8
	bl	luaL_error
	b	.L2
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	.LC1
	.word	OP_UPDATE
	.word	.LC0
	.size	op_update, .-op_update
	.comm	OP_UPDATE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
