	.file	"extr_threads.c_sqlite3ThreadCreate.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	sqlite3ThreadCreate
	.type	sqlite3ThreadCreate, @function
sqlite3ThreadCreate:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	test	rdi, rdi
	setne	dil
	movzx	edi, dil
	call	assert@PLT
	xor	edi, edi
	test	r12, r12
	setne	dil
	call	assert@PLT
	xor	edi, edi
	cmp	QWORD PTR sqlite3GlobalConfig[rip], 0
	setne	dil
	call	assert@PLT
	mov	QWORD PTR 0[rbp], 0
	mov	edi, 40
	call	sqlite3Malloc@PLT
	test	rax, rax
	je	.L9
	mov	rbx, rax
	xor	esi, esi
	mov	rdi, rax
	mov	edx, 40
	call	memset@PLT
	mov	QWORD PTR [rbx], r12
	mov	edi, 200
	mov	QWORD PTR 32[rbx], r13
	call	sqlite3FaultSim@PLT
	test	rax, rax
	je	.L4
.L6:
	mov	DWORD PTR 8[rbx], 1
	mov	rdi, r13
	call	r12
	mov	QWORD PTR 16[rbx], rax
.L5:
	mov	QWORD PTR 0[rbp], rbx
	mov	eax, DWORD PTR SQLITE_OK[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	xor	esi, esi
	lea	rdi, 24[rbx]
	mov	rcx, r13
	mov	rdx, r12
	call	pthread_create@PLT
	test	eax, eax
	jne	.L6
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L9:
	mov	eax, DWORD PTR SQLITE_NOMEM_BKPT[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	sqlite3ThreadCreate, .-sqlite3ThreadCreate
	.comm	sqlite3GlobalConfig,8,8
	.comm	SQLITE_OK,4,4
	.comm	SQLITE_NOMEM_BKPT,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_threads.c_sqlite3ThreadCreate.c"
	.text
	.align	2
	.global	sqlite3ThreadCreate
	.syntax unified
	.arm
	.fpu softvfp
	.type	sqlite3ThreadCreate, %function
sqlite3ThreadCreate:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r8, #0
	mov	r6, r1
	mov	r5, r0
	subs	r0, r0, r8
	movne	r0, #1
	mov	r7, r2
	bl	assert
	subs	r0, r6, r8
	movne	r0, #1
	bl	assert
	ldr	r3, .L10
	ldr	r0, [r3]
	subs	r0, r0, r8
	movne	r0, #1
	bl	assert
	mov	r0, #20
	str	r8, [r5]
	bl	sqlite3Malloc
	subs	r4, r0, #0
	beq	.L9
	mov	r1, r8
	mov	r2, #16
	add	r0, r4, #4
	bl	memset
	mov	r0, #200
	str	r6, [r4]
	str	r7, [r4, #16]
	bl	sqlite3FaultSim
	subs	r1, r0, #0
	beq	.L4
.L6:
	mov	r3, #1
	mov	r0, r7
	str	r3, [r4, #4]
	blx	r6
	str	r0, [r4, #8]
.L5:
	ldr	r3, .L10+4
	str	r4, [r5]
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	mov	r3, r7
	mov	r2, r6
	add	r0, r4, #12
	bl	pthread_create
	cmp	r0, #0
	bne	.L6
	b	.L5
.L9:
	ldr	r3, .L10+8
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	.align	2
.L10:
	.word	sqlite3GlobalConfig
	.word	SQLITE_OK
	.word	SQLITE_NOMEM_BKPT
	.size	sqlite3ThreadCreate, .-sqlite3ThreadCreate
	.comm	sqlite3GlobalConfig,4,4
	.comm	SQLITE_OK,4,4
	.comm	SQLITE_NOMEM_BKPT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
