	.file	"extr_trigger.c_sqlite3UnlinkAndDeleteTrigger.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	sqlite3UnlinkAndDeleteTrigger
	.type	sqlite3UnlinkAndDeleteTrigger, @function
sqlite3UnlinkAndDeleteTrigger:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdx
	xor	edx, edx
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movsx	rbx, esi
	mov	esi, ebx
	call	sqlite3SchemaMutexHeld@PLT
	mov	edi, eax
	call	assert@PLT
	mov	rax, QWORD PTR 8[r12]
	xor	edx, edx
	mov	rsi, rbp
	mov	rdi, QWORD PTR [rax+rbx*8]
	call	sqlite3HashInsert@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	ALWAYS@PLT
	test	rax, rax
	je	.L1
	mov	rax, QWORD PTR 8[rbp]
	cmp	QWORD PTR 0[rbp], rax
	je	.L13
.L3:
	mov	rsi, rbp
	mov	rdi, r12
	call	sqlite3DeleteTrigger@PLT
	mov	eax, DWORD PTR DBFLAG_SchemaChange[rip]
	or	DWORD PTR [r12], eax
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	rdi, rbp
	call	tableOfTrigger@PLT
	mov	rdx, QWORD PTR [rax]
	cmp	rdx, rbp
	je	.L6
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rax, rdx
	mov	rdx, QWORD PTR 16[rdx]
	cmp	rbp, rdx
	jne	.L5
	add	rax, 16
.L6:
	mov	rdx, QWORD PTR 16[rdx]
	mov	QWORD PTR [rax], rdx
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	sqlite3UnlinkAndDeleteTrigger, .-sqlite3UnlinkAndDeleteTrigger
	.comm	DBFLAG_SchemaChange,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_trigger.c_sqlite3UnlinkAndDeleteTrigger.c"
	.text
	.align	2
	.global	sqlite3UnlinkAndDeleteTrigger
	.syntax unified
	.arm
	.fpu softvfp
	.type	sqlite3UnlinkAndDeleteTrigger, %function
sqlite3UnlinkAndDeleteTrigger:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	mov	r4, r1
	mov	r6, r2
	mov	r2, #0
	bl	sqlite3SchemaMutexHeld
	bl	assert
	ldr	r3, [r5, #4]
	mov	r1, r6
	ldr	r0, [r3, r4, lsl #2]
	mov	r2, #0
	bl	sqlite3HashInsert
	mov	r4, r0
	bl	ALWAYS
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	ldm	r4, {r2, r3}
	cmp	r2, r3
	beq	.L13
.L3:
	mov	r1, r4
	mov	r0, r5
	bl	sqlite3DeleteTrigger
	ldr	r2, .L14
	ldr	r3, [r5]
	ldr	r2, [r2]
	orr	r3, r3, r2
	str	r3, [r5]
	pop	{r4, r5, r6, pc}
.L13:
	mov	r0, r4
	bl	tableOfTrigger
	ldr	r3, [r0]
	cmp	r3, r4
	beq	.L6
.L5:
	mov	r2, r3
	ldr	r3, [r3, #8]
	cmp	r4, r3
	bne	.L5
	add	r0, r2, #8
.L6:
	ldr	r3, [r3, #8]
	str	r3, [r0]
	b	.L3
.L15:
	.align	2
.L14:
	.word	DBFLAG_SchemaChange
	.size	sqlite3UnlinkAndDeleteTrigger, .-sqlite3UnlinkAndDeleteTrigger
	.comm	DBFLAG_SchemaChange,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
