	.file	"3429.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"connecting to AF_VSOCK port 1025 on VMADDR_CID_HOST\n"
.LC1:
	.string	"unable to connect to the host"
.LC2:
	.string	"connected to host with fd %d\n"
.LC3:
	.string	"writing '.'\n"
.LC4:
	.string	"."
.LC5:
	.string	"unable to write a byte"
.LC6:
	.string	"reading one byte\n"
.LC7:
	.string	"unable to read a byte"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edx, 0
	mov	esi, 1
	mov	edi, 40
	call	socket@PLT
	mov	DWORD PTR -36[rbp], eax
	lea	rax, -32[rbp]
	mov	QWORD PTR [rax], 0
	mov	QWORD PTR 8[rax], 0
	mov	WORD PTR -32[rbp], 40
	mov	DWORD PTR -28[rbp], 1025
	mov	DWORD PTR -24[rbp], 2
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 52
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	lea	rcx, -32[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	test	eax, eax
	je	.L2
	lea	rdi, .LC1[rip]
	call	perror@PLT
.L2:
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -36[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L5:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 12
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
	mov	eax, DWORD PTR -36[rbp]
	mov	edx, 1
	lea	rsi, .LC4[rip]
	mov	edi, eax
	call	write@PLT
	cmp	rax, 1
	je	.L3
	lea	rdi, .LC5[rip]
	call	perror@PLT
.L3:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 17
	mov	esi, 1
	lea	rdi, .LC6[rip]
	call	fwrite@PLT
	lea	rcx, -37[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	cmp	rax, 1
	je	.L4
	lea	rdi, .LC7[rip]
	call	perror@PLT
.L4:
	movzx	eax, BYTE PTR -37[rbp]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	jmp	.L5
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"3429.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"connecting to AF_VSOCK port 1025 on VMADDR_CID_HOST"
	.ascii	"\012\000"
	.align	2
.LC1:
	.ascii	"unable to connect to the host\000"
	.align	2
.LC2:
	.ascii	"connected to host with fd %d\012\000"
	.align	2
.LC3:
	.ascii	"writing '.'\012\000"
	.align	2
.LC4:
	.ascii	".\000"
	.align	2
.LC5:
	.ascii	"unable to write a byte\000"
	.align	2
.LC6:
	.ascii	"reading one byte\012\000"
	.align	2
.LC7:
	.ascii	"unable to read a byte\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r2, #0
	mov	r1, #1
	mov	r0, #40
	bl	socket
	str	r0, [fp, #-28]
	sub	r3, fp, #24
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2]
	str	r3, [r2, #4]
	str	r3, [r2, #8]
	str	r3, [r2, #12]
	mov	r3, #40
	strh	r3, [fp, #-24]	@ movhi
	ldr	r3, .L7+4
	str	r3, [fp, #-20]
	mov	r3, #2
	str	r3, [fp, #-16]
	ldr	r3, .L7+8
	ldr	r3, [r3]
	mov	r2, #52
	mov	r1, #1
	ldr	r0, .L7+12
	bl	fwrite
	sub	r3, fp, #24
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-28]
	bl	connect
	mov	r3, r0
	cmp	r3, #0
	beq	.L2
	ldr	r0, .L7+16
	bl	perror
.L2:
	ldr	r3, .L7+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	ldr	r1, .L7+20
	mov	r0, r3
	bl	fprintf
.L5:
	ldr	r3, .L7+8
	ldr	r3, [r3]
	mov	r2, #12
	mov	r1, #1
	ldr	r0, .L7+24
	bl	fwrite
	mov	r2, #1
	ldr	r1, .L7+28
	ldr	r0, [fp, #-28]
	bl	write
	mov	r3, r0
	cmp	r3, #1
	beq	.L3
	ldr	r0, .L7+32
	bl	perror
.L3:
	ldr	r3, .L7+8
	ldr	r3, [r3]
	mov	r2, #17
	mov	r1, #1
	ldr	r0, .L7+36
	bl	fwrite
	sub	r3, fp, #29
	mov	r2, #1
	mov	r1, r3
	ldr	r0, [fp, #-28]
	bl	read
	mov	r3, r0
	cmp	r3, #1
	beq	.L4
	ldr	r0, .L7+40
	bl	perror
.L4:
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	ldr	r3, .L7+44
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	b	.L5
.L8:
	.align	2
.L7:
	.word	.LC8
	.word	1025
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	stdout
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
