	.file	"extr_sys_arch.c_sys_thread_new.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	sys_thread_new
	.type	sys_thread_new, @function
sys_thread_new:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 32
	.cfi_def_cfa_offset 40
	mov	r10, rdi
	mov	r11, rdx
	mov	edi, esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 16[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR CONFIG_LWIP_TCPIP_TASK_AFFINITY[rip]
	mov	edx, ecx
	mov	rsi, r10
	mov	rcx, r11
	push	rax
	.cfi_def_cfa_offset 48
	lea	r9, 20[rsp]
	call	xTaskCreatePinnedToCore@PLT
	mov	r8, rax
	pop	rax
	.cfi_def_cfa_offset 40
	xor	eax, eax
	cmp	QWORD PTR pdTRUE[rip], r8
	pop	rdx
	.cfi_def_cfa_offset 32
	jne	.L1
	movsx	rax, DWORD PTR 4[rsp]
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L8
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L8:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	sys_thread_new, .-sys_thread_new
	.comm	pdTRUE,8,8
	.comm	CONFIG_LWIP_TCPIP_TASK_AFFINITY,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_sys_arch.c_sys_thread_new.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	sys_thread_new
	.syntax unified
	.arm
	.fpu softvfp
	.type	sys_thread_new, %function
sys_thread_new:
	@ args = 4, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r5, r0
	mov	r4, r2
	mov	r2, r3
	ldr	r3, .L8
	sub	sp, sp, #28
	ldr	ip, [r3]
	ldr	lr, [sp, #40]
	str	ip, [sp, #8]
	add	ip, sp, #16
	str	ip, [sp, #4]
	ldr	ip, .L8+4
	mov	r0, r1
	mov	r3, r4
	str	lr, [sp]
	mov	r1, r5
	ldr	ip, [ip]
	str	ip, [sp, #20]
	mov	ip,#0
	bl	xTaskCreatePinnedToCore
	ldr	r3, .L8+8
	ldr	r3, [r3]
	cmp	r3, r0
	ldr	r3, .L8+4
	movne	r0, #0
	ldreq	r0, [sp, #16]
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, pc}
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	CONFIG_LWIP_TCPIP_TASK_AFFINITY
	.word	.LC0
	.word	pdTRUE
	.size	sys_thread_new, .-sys_thread_new
	.comm	pdTRUE,4,4
	.comm	CONFIG_LWIP_TCPIP_TASK_AFFINITY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
