	.file	"extr_24857.c_dump_fd.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Can't read"
.LC1:
	.string	"%.3d: 0x%.2hhx %c\n"
	.text
	.p2align 4
	.globl	dump_fd
	.type	dump_fd, @function
dump_fd:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	test	esi, esi
	je	.L2
	mov	r12d, edi
	mov	ebp, esi
	lea	r13, 7[rsp]
	xor	ebx, ebx
	lea	r14, .LC1[rip]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	movsx	ecx, BYTE PTR 7[rsp]
	add	ebx, 1
	mov	edi, DWORD PTR out_stream[rip]
	mov	rsi, r14
	mov	edx, ebx
	mov	r8d, ecx
	call	fprintf@PLT
	cmp	ebx, ebp
	je	.L2
.L5:
	mov	edx, 1
	mov	rsi, r13
	mov	edi, r12d
	call	read@PLT
	cmp	eax, 1
	je	.L3
	lea	rdi, .LC0[rip]
	call	perror@PLT
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	mov	eax, 1
.L1:
	mov	rdx, QWORD PTR 8[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L13
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	dump_fd, .-dump_fd
	.comm	out_stream,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_24857.c_dump_fd.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Can't read\000"
	.align	2
.LC1:
	.ascii	"%.3d: 0x%.2hhx %c\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	dump_fd
	.syntax unified
	.arm
	.fpu softvfp
	.type	dump_fd, %function
dump_fd:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L14
	sub	sp, sp, #16
	subs	r5, r1, #0
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	beq	.L2
	mov	r6, r0
	mov	r4, #0
	ldr	r8, .L14+4
	ldr	r7, .L14+8
	b	.L5
.L3:
	ldrb	r3, [sp, #11]	@ zero_extendqisi2
	add	r4, r4, #1
	mov	r2, r4
	mov	r1, r7
	ldr	r0, [r8]
	str	r3, [sp]
	bl	fprintf
	cmp	r4, r5
	beq	.L2
.L5:
	mov	r2, #1
	mov	r0, r6
	add	r1, sp, #11
	bl	read
	cmp	r0, #1
	beq	.L3
	ldr	r0, .L14+12
	bl	perror
	mov	r0, #0
	b	.L1
.L2:
	mov	r0, #1
.L1:
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	.LC2
	.word	out_stream
	.word	.LC1
	.word	.LC0
	.size	dump_fd, .-dump_fd
	.comm	out_stream,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
