	.file	"extr_msg.h_msg_write_child.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Send %s\n"
	.text
	.p2align 4
	.type	msg_write_child, @function
msg_write_child:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rcx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR [rsi]
	mov	edi, DWORD PTR 4[rax]
	call	CLOSEFD@PLT
	mov	rax, QWORD PTR 8[rbx]
	mov	edi, DWORD PTR [rax]
	call	CLOSEFD@PLT
	mov	rsi, r13
	lea	rdi, .LC0[rip]
	call	printf@PLT
	mov	rax, QWORD PTR 8[rbx]
	mov	rdx, rbp
	mov	rsi, r12
	mov	edi, DWORD PTR 4[rax]
	call	write@PLT
	mov	r8, rax
	mov	eax, 1
	cmp	rbp, r8
	je	.L7
	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
.L7:
	.cfi_restore_state
	mov	rax, QWORD PTR [rbx]
	mov	rdx, rbp
	mov	rsi, r12
	mov	edi, DWORD PTR [rax]
	call	read@PLT
	cmp	rbp, rax
	setne	al
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	movzx	eax, al
	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	msg_write_child, .-msg_write_child
	.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_msg.h_msg_write_child.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Send %s\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	msg_write_child, %function
msg_write_child:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	mov	r7, r0
	mov	r6, r2
	mov	r4, r3
	ldr	r3, [r1]
	ldr	r0, [r3, #4]
	bl	CLOSEFD
	ldr	r3, [r5, #4]
	ldr	r0, [r3]
	bl	CLOSEFD
	mov	r1, r7
	ldr	r0, .L7
	bl	printf
	ldr	r3, [r5, #4]
	mov	r2, r4
	mov	r1, r6
	ldr	r0, [r3, #4]
	bl	write
	cmp	r4, r0
	beq	.L6
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	ldr	r3, [r5]
	mov	r1, r6
	mov	r2, r4
	ldr	r0, [r3]
	bl	read
	subs	r0, r4, r0
	movne	r0, #1
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	.align	2
.L7:
	.word	.LC0
	.size	msg_write_child, .-msg_write_child
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
