	.file	"92324422.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"missing buffer length"
.LC1:
	.string	"the_stack_data/92324422.c"
.LC2:
	.string	"ret == 0"
.LC3:
	.string	"len < 1048576"
.LC4:
	.string	"ret == len"
	.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, 64
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -52[rbp], 1
	jg	.L2
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	cdqe
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	jne	.L3
	mov	edi, 1
	call	exit@PLT
.L3:
	lea	rax, -16[rbp]
	mov	rdi, rax
	call	pipe@PLT
	cdqe
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	je	.L4
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 26
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L4:
	mov	eax, DWORD PTR -16[rbp]
	mov	edx, 1048576
	mov	esi, 1031
	mov	edi, eax
	mov	eax, 0
	call	fcntl@PLT
	cmp	QWORD PTR -40[rbp], 1048575
	jbe	.L5
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 29
	lea	rsi, .LC1[rip]
	lea	rdi, .LC3[rip]
	call	__assert_fail@PLT
.L5:
	mov	eax, DWORD PTR -12[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	cmp	QWORD PTR -24[rbp], rax
	je	.L6
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 35
	lea	rsi, .LC1[rip]
	lea	rdi, .LC4[rip]
	call	__assert_fail@PLT
.L6:
	mov	eax, DWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	cmp	QWORD PTR -24[rbp], rax
	je	.L5
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 37
	lea	rsi, .LC1[rip]
	lea	rdi, .LC4[rip]
	call	__assert_fail@PLT
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 5
__PRETTY_FUNCTION__.0:
	.string	"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	"92324422.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"missing buffer length\000"
	.align	2
.LC1:
	.ascii	"the_stack_data/92324422.c\000"
	.align	2
.LC2:
	.ascii	"ret == 0\000"
	.align	2
.LC3:
	.ascii	"len < 1048576\000"
	.align	2
.LC4:
	.ascii	"ret == len\000"
	.align	2
.LC5:
	.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
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-32]
	cmp	r3, #1
	bgt	.L2
	ldr	r0, .L9+4
	bl	puts
	mov	r0, #1
	bl	exit
.L2:
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r0, [fp, #-28]
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L3
	mov	r0, #1
	bl	exit
.L3:
	sub	r3, fp, #16
	mov	r0, r3
	bl	pipe
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L4
	ldr	r3, .L9+8
	mov	r2, #26
	ldr	r1, .L9+12
	ldr	r0, .L9+16
	bl	__assert_fail
.L4:
	ldr	r3, [fp, #-16]
	mov	r2, #1048576
	ldr	r1, .L9+20
	mov	r0, r3
	bl	fcntl
	ldr	r3, [fp, #-28]
	cmp	r3, #1048576
	bcc	.L5
	ldr	r3, .L9+8
	mov	r2, #29
	ldr	r1, .L9+12
	ldr	r0, .L9+24
	bl	__assert_fail
.L5:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	write
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	beq	.L6
	ldr	r3, .L9+8
	mov	r2, #35
	ldr	r1, .L9+12
	ldr	r0, .L9+28
	bl	__assert_fail
.L6:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	read
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	beq	.L5
	ldr	r3, .L9+8
	mov	r2, #37
	ldr	r1, .L9+12
	ldr	r0, .L9+28
	bl	__assert_fail
.L10:
	.align	2
.L9:
	.word	.LC5
	.word	.LC0
	.word	__PRETTY_FUNCTION__.6200
	.word	.LC1
	.word	.LC2
	.word	1031
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.6200, %object
	.size	__PRETTY_FUNCTION__.6200, 5
__PRETTY_FUNCTION__.6200:
	.ascii	"main\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
