	.file	"extr_thread.c_redispatch_conn.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Writing to thread notify pipe"
	.text
	.p2align 4
	.globl	redispatch_conn
	.type	redispatch_conn, @function
redispatch_conn:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	cqi_new@PLT
	test	rax, rax
	je	.L11
	mov	rsi, rax
	mov	eax, DWORD PTR [rbx]
	mov	rbp, QWORD PTR 8[rbx]
	mov	QWORD PTR 8[rsi], rbx
	mov	DWORD PTR 20[rsi], eax
	mov	eax, DWORD PTR conn_new_cmd[rip]
	mov	edi, DWORD PTR 4[rbp]
	mov	DWORD PTR 16[rsi], eax
	mov	eax, DWORD PTR queue_redispatch[rip]
	mov	DWORD PTR [rsi], eax
	call	cq_push@PLT
	mov	BYTE PTR 7[rsp], 99
	mov	edi, DWORD PTR 0[rbp]
	lea	rsi, 7[rsp]
	mov	edx, 1
	call	write@PLT
	cmp	eax, 1
	jne	.L12
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L13
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	perror@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	mov	eax, DWORD PTR conn_closed[rip]
	mov	edi, DWORD PTR [rbx]
	mov	DWORD PTR 16[rbx], eax
	call	close@PLT
	jmp	.L1
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	redispatch_conn, .-redispatch_conn
	.comm	queue_redispatch,4,4
	.comm	conn_new_cmd,4,4
	.comm	conn_closed,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_thread.c_redispatch_conn.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Writing to thread notify pipe\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	redispatch_conn
	.syntax unified
	.arm
	.fpu softvfp
	.type	redispatch_conn, %function
redispatch_conn:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L14
	sub	sp, sp, #12
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	mov	r4, r0
	bl	cqi_new
	subs	r1, r0, #0
	beq	.L11
	ldr	r2, .L14+4
	ldr	r3, .L14+8
	ldr	r0, [r2]
	ldr	r3, [r3]
	ldm	r4, {r2, r5}
	stm	r1, {r3, r4}
	str	r0, [r1, #8]
	str	r2, [r1, #12]
	ldr	r0, [r5, #4]
	bl	cq_push
	mov	r3, #99
	strb	r3, [sp]
	mov	r2, #1
	mov	r1, sp
	ldr	r0, [r5]
	bl	write
	cmp	r0, #1
	bne	.L12
.L1:
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L12:
	ldr	r0, .L14+12
	bl	perror
	b	.L1
.L11:
	ldr	r3, .L14+16
	ldr	r0, [r4]
	ldr	r3, [r3]
	str	r3, [r4, #8]
	bl	close
	b	.L1
.L13:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	.LC1
	.word	conn_new_cmd
	.word	queue_redispatch
	.word	.LC0
	.word	conn_closed
	.size	redispatch_conn, .-redispatch_conn
	.comm	queue_redispatch,4,4
	.comm	conn_new_cmd,4,4
	.comm	conn_closed,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
