	.file	"extr_threadtest3.c_launch_thread_x.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	launch_thread_x, @function
launch_thread_x:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR SQLITE_OK[rip]
	cmp	QWORD PTR [rdi], rax
	je	.L9
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rcx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	mov	edi, 40
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	eax, DWORD PTR [rsi]
	lea	r14d, 1[rax]
	mov	DWORD PTR [rsi], r14d
	call	sqlite3_malloc@PLT
	xor	esi, esi
	mov	edx, 40
	mov	r12, rax
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR [r12], r14d
	xor	esi, esi
	lea	rdi, 24[r12]
	mov	QWORD PTR 32[r12], r15
	mov	edx, DWORD PTR launch_thread_main[rip]
	mov	rcx, r12
	mov	QWORD PTR 8[r12], rbx
	call	pthread_create@PLT
	test	eax, eax
	jne	.L10
	mov	rax, QWORD PTR 8[r13]
	mov	QWORD PTR 16[r12], rax
	mov	QWORD PTR 8[r13], r12
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L10:
	.cfi_restore_state
	mov	rdi, rbp
	mov	esi, eax
	call	system_error@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 56
	mov	rdi, r12
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_restore 13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_restore 14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_restore 15
	.cfi_def_cfa_offset 8
	jmp	sqlite3_free@PLT
	.cfi_endproc
.LFE0:
	.size	launch_thread_x, .-launch_thread_x
	.comm	launch_thread_main,4,4
	.comm	SQLITE_OK,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_threadtest3.c_launch_thread_x.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	launch_thread_x, %function
launch_thread_x:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r0
	ldr	r0, .L7
	ldr	ip, [r4]
	ldr	r0, [r0]
	cmp	ip, r0
	popne	{r4, r5, r6, r7, r8, r9, r10, pc}
	ldr	r9, [r1]
	mov	r0, #20
	add	r9, r9, #1
	str	r9, [r1]
	mov	r6, r3
	mov	r8, r2
	mov	r5, r1
	bl	sqlite3_malloc
	mov	r7, r0
	mov	r2, #12
	mov	r1, #0
	add	r0, r0, #8
	bl	memset
	ldr	r2, .L7+4
	mov	r1, #0
	mov	r3, r7
	ldr	r2, [r2]
	str	r9, [r7]
	str	r6, [r7, #16]
	str	r8, [r7, #4]
	add	r0, r7, #12
	bl	pthread_create
	subs	r1, r0, #0
	bne	.L6
	ldr	r3, [r5, #4]
	str	r3, [r7, #8]
	str	r7, [r5, #4]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L6:
	mov	r0, r4
	bl	system_error
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	sqlite3_free
.L8:
	.align	2
.L7:
	.word	SQLITE_OK
	.word	launch_thread_main
	.size	launch_thread_x, .-launch_thread_x
	.comm	launch_thread_main,4,4
	.comm	SQLITE_OK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
