	.file	"409472.c"
	.intel_syntax noprefix
	.text
	.globl	print_usage
	.type	print_usage, @function
print_usage:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	print_usage, .-print_usage
	.section	.rodata
.LC0:
	.string	"%zu%3s"
.LC1:
	.string	"Error: Invalid buffer size.\n"
	.align 8
.LC2:
	.string	"Error: Buffer size must be a non-zero integer.\n"
.LC3:
	.string	"B"
.LC4:
	.string	"KB"
.LC5:
	.string	"MB"
.LC6:
	.string	"GB"
.LC7:
	.string	"KiB"
.LC8:
	.string	"MiB"
.LC9:
	.string	"GiB"
	.align 8
.LC10:
	.string	"Error: Invalid unit. Must be one of: B, KB, MB, GB, KiB, MiB, GiB\n"
	.align 8
.LC11:
	.string	"Error: Buffer size is too high.\n"
	.text
	.globl	parse_size
	.type	parse_size, @function
parse_size:
.LFB7:
	.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	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -12[rbp], 0
	lea	rcx, -12[rbp]
	lea	rdx, -32[rbp]
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 2
	je	.L3
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 28
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L17
.L3:
	mov	rax, QWORD PTR -32[rbp]
	test	rax, rax
	jne	.L5
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 47
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L17
.L5:
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L6
	mov	QWORD PTR -24[rbp], 1
	jmp	.L7
.L6:
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L8
	mov	QWORD PTR -24[rbp], 1000
	jmp	.L7
.L8:
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L9
	mov	QWORD PTR -24[rbp], 1000000
	jmp	.L7
.L9:
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L10
	mov	QWORD PTR -24[rbp], 1000000000
	jmp	.L7
.L10:
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L11
	mov	QWORD PTR -24[rbp], 1024
	jmp	.L7
.L11:
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L12
	mov	QWORD PTR -24[rbp], 1048576
	jmp	.L7
.L12:
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L13
	mov	QWORD PTR -24[rbp], 1073741824
	jmp	.L7
.L13:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 66
	mov	esi, 1
	lea	rdi, .LC10[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L17
.L7:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	ecx, 0
	mul	rdx
	jno	.L14
	mov	ecx, 1
.L14:
	mov	rax, rcx
	test	rax, rax
	je	.L16
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 32
	mov	esi, 1
	lea	rdi, .LC11[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L17
.L16:
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	imul	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, 0
.L17:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	parse_size, .-parse_size
	.globl	consume
	.type	consume, @function
consume:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	consume, .-consume
	.globl	supply
	.type	supply, @function
supply:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	supply, .-supply
	.section	.rodata
.LC12:
	.string	"--help"
.LC13:
	.string	"-h"
	.align 8
.LC14:
	.string	"Error: Could not allocate buffer memory (%zu bytes).\n"
	.align 8
.LC15:
	.string	"Error: Could not initialize thread attributes.\n"
	.align 8
.LC16:
	.string	"Error: Could not set thread detach state attribute.\n"
	.align 8
.LC17:
	.string	"Error: Could not create consumer thread.\n"
	.align 8
.LC18:
	.string	"Error: Could not create supplier thread.\n"
	.align 8
.LC19:
	.string	"Warning: Could not destroy thread attributes.\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 112
	mov	DWORD PTR -100[rbp], edi
	mov	QWORD PTR -112[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -100[rbp], 2
	jg	.L22
	cmp	DWORD PTR -100[rbp], 2
	jne	.L23
	mov	rax, QWORD PTR -112[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L22
	mov	rax, QWORD PTR -112[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L23
.L22:
	mov	eax, 0
	call	print_usage
	cmp	DWORD PTR -100[rbp], 2
	setne	al
	movzx	eax, al
	jmp	.L33
.L23:
	cmp	DWORD PTR -100[rbp], 1
	jg	.L25
	mov	QWORD PTR -80[rbp], 8388608
	jmp	.L26
.L25:
	mov	rax, QWORD PTR -112[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rdx, -80[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	parse_size
	test	eax, eax
	je	.L26
	mov	eax, 1
	jmp	.L33
.L26:
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	test	rax, rax
	jne	.L27
	mov	rdx, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L33
.L27:
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	pthread_attr_init@PLT
	test	eax, eax
	je	.L28
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 47
	mov	esi, 1
	lea	rdi, .LC15[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L33
.L28:
	lea	rax, -64[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_attr_setdetachstate@PLT
	test	eax, eax
	je	.L29
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 52
	mov	esi, 1
	lea	rdi, .LC16[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L33
.L29:
	lea	rdx, -80[rbp]
	lea	rsi, -64[rbp]
	lea	rax, -96[rbp]
	mov	rcx, rdx
	lea	rdx, consume[rip]
	mov	rdi, rax
	call	pthread_create@PLT
	test	eax, eax
	je	.L30
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 41
	mov	esi, 1
	lea	rdi, .LC17[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L33
.L30:
	lea	rdx, -80[rbp]
	lea	rsi, -64[rbp]
	lea	rax, -88[rbp]
	mov	rcx, rdx
	lea	rdx, supply[rip]
	mov	rdi, rax
	call	pthread_create@PLT
	test	eax, eax
	je	.L31
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 41
	mov	esi, 1
	lea	rdi, .LC18[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L33
.L31:
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	pthread_attr_destroy@PLT
	test	eax, eax
	je	.L32
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 46
	mov	esi, 1
	lea	rdi, .LC19[rip]
	call	fwrite@PLT
.L32:
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
.L33:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L34
	call	__stack_chk_fail@PLT
.L34:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.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	"409472.c"
	.text
	.align	2
	.global	print_usage
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_usage, %function
print_usage:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	print_usage, .-print_usage
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%zu%3s\000"
	.align	2
.LC1:
	.ascii	"Error: Invalid buffer size.\012\000"
	.align	2
.LC2:
	.ascii	"Error: Buffer size must be a non-zero integer.\012\000"
	.align	2
.LC3:
	.ascii	"B\000"
	.align	2
.LC4:
	.ascii	"KB\000"
	.align	2
.LC5:
	.ascii	"MB\000"
	.align	2
.LC6:
	.ascii	"GB\000"
	.align	2
.LC7:
	.ascii	"KiB\000"
	.align	2
.LC8:
	.ascii	"MiB\000"
	.align	2
.LC9:
	.ascii	"GiB\000"
	.align	2
.LC10:
	.ascii	"Error: Invalid unit. Must be one of: B, KB, MB, GB,"
	.ascii	" KiB, MiB, GiB\012\000"
	.align	2
.LC11:
	.ascii	"Error: Buffer size is too high.\012\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	parse_size
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_size, %function
parse_size:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-12]
	sub	r3, fp, #12
	sub	r2, fp, #20
	ldr	r1, .L19+4
	ldr	r0, [fp, #-24]
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #2
	beq	.L3
	ldr	r3, .L19+8
	ldr	r3, [r3]
	mov	r2, #28
	mov	r1, #1
	ldr	r0, .L19+12
	bl	fwrite
	mov	r3, #1
	b	.L17
.L3:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L5
	ldr	r3, .L19+8
	ldr	r3, [r3]
	mov	r2, #47
	mov	r1, #1
	ldr	r0, .L19+16
	bl	fwrite
	mov	r3, #1
	b	.L17
.L5:
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L19+20
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L7
.L6:
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L19+24
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L8
	mov	r3, #1000
	str	r3, [fp, #-16]
	b	.L7
.L8:
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L19+28
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L9
	ldr	r3, .L19+32
	str	r3, [fp, #-16]
	b	.L7
.L9:
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L19+36
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L10
	ldr	r3, .L19+40
	str	r3, [fp, #-16]
	b	.L7
.L10:
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L19+44
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L11
	mov	r3, #1024
	str	r3, [fp, #-16]
	b	.L7
.L11:
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L19+48
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L12
	mov	r3, #1048576
	str	r3, [fp, #-16]
	b	.L7
.L12:
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L19+52
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L13
	mov	r3, #1073741824
	str	r3, [fp, #-16]
	b	.L7
.L13:
	ldr	r3, .L19+8
	ldr	r3, [r3]
	mov	r2, #66
	mov	r1, #1
	ldr	r0, .L19+56
	bl	fwrite
	mov	r3, #1
	b	.L17
.L7:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-16]
	mov	r1, #0
	umull	r0, r3, r2, r3
	cmp	r3, #0
	beq	.L14
	mov	r1, #1
.L14:
	mov	r3, r1
	cmp	r3, #0
	beq	.L16
	ldr	r3, .L19+8
	ldr	r3, [r3]
	mov	r2, #32
	mov	r1, #1
	ldr	r0, .L19+60
	bl	fwrite
	mov	r3, #1
	b	.L17
.L16:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	mul	r2, r3, r2
	ldr	r3, [fp, #-28]
	str	r2, [r3]
	mov	r3, #0
.L17:
	ldr	r2, .L19
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC12
	.word	.LC0
	.word	stderr
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	1000000
	.word	.LC6
	.word	1000000000
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.size	parse_size, .-parse_size
	.align	2
	.global	consume
	.syntax unified
	.arm
	.fpu softvfp
	.type	consume, %function
consume:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	nop
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	consume, .-consume
	.align	2
	.global	supply
	.syntax unified
	.arm
	.fpu softvfp
	.type	supply, %function
supply:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	nop
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	supply, .-supply
	.section	.rodata
	.align	2
.LC13:
	.ascii	"--help\000"
	.align	2
.LC14:
	.ascii	"-h\000"
	.align	2
.LC15:
	.ascii	"Error: Could not allocate buffer memory (%zu bytes)"
	.ascii	".\012\000"
	.align	2
.LC16:
	.ascii	"Error: Could not initialize thread attributes.\012\000"
	.align	2
.LC17:
	.ascii	"Error: Could not set thread detach state attribute."
	.ascii	"\012\000"
	.align	2
.LC18:
	.ascii	"Error: Could not create consumer thread.\012\000"
	.align	2
.LC19:
	.ascii	"Error: Could not create supplier thread.\012\000"
	.align	2
.LC20:
	.ascii	"Warning: Could not destroy thread attributes.\012\000"
	.align	2
.LC21:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	ldr	r3, .L37
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-64]
	cmp	r3, #2
	bgt	.L24
	ldr	r3, [fp, #-64]
	cmp	r3, #2
	bne	.L25
	ldr	r3, [fp, #-68]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L37+4
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L24
	ldr	r3, [fp, #-68]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L37+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L25
.L24:
	bl	print_usage
	ldr	r3, [fp, #-64]
	cmp	r3, #2
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	b	.L35
.L25:
	ldr	r3, [fp, #-64]
	cmp	r3, #1
	bgt	.L27
	mov	r3, #8388608
	str	r3, [fp, #-52]
	b	.L28
.L27:
	ldr	r3, [fp, #-68]
	add	r3, r3, #4
	ldr	r3, [r3]
	sub	r2, fp, #52
	mov	r1, r2
	mov	r0, r3
	bl	parse_size
	mov	r3, r0
	cmp	r3, #0
	beq	.L28
	mov	r3, #1
	b	.L35
.L28:
	ldr	r3, [fp, #-52]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bne	.L29
	ldr	r3, .L37+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-52]
	ldr	r1, .L37+16
	mov	r0, r3
	bl	fprintf
	mov	r3, #1
	b	.L35
.L29:
	sub	r3, fp, #44
	mov	r0, r3
	bl	pthread_attr_init
	mov	r3, r0
	cmp	r3, #0
	beq	.L30
	ldr	r3, .L37+12
	ldr	r3, [r3]
	mov	r2, #47
	mov	r1, #1
	ldr	r0, .L37+20
	bl	fwrite
	mov	r3, #1
	b	.L35
.L30:
	sub	r3, fp, #44
	mov	r1, #0
	mov	r0, r3
	bl	pthread_attr_setdetachstate
	mov	r3, r0
	cmp	r3, #0
	beq	.L31
	ldr	r3, .L37+12
	ldr	r3, [r3]
	mov	r2, #52
	mov	r1, #1
	ldr	r0, .L37+24
	bl	fwrite
	mov	r3, #1
	b	.L35
.L31:
	sub	r3, fp, #52
	sub	r1, fp, #44
	sub	r0, fp, #60
	ldr	r2, .L37+28
	bl	pthread_create
	mov	r3, r0
	cmp	r3, #0
	beq	.L32
	ldr	r3, .L37+12
	ldr	r3, [r3]
	mov	r2, #41
	mov	r1, #1
	ldr	r0, .L37+32
	bl	fwrite
	mov	r3, #1
	b	.L35
.L32:
	sub	r3, fp, #52
	sub	r1, fp, #44
	sub	r0, fp, #56
	ldr	r2, .L37+36
	bl	pthread_create
	mov	r3, r0
	cmp	r3, #0
	beq	.L33
	ldr	r3, .L37+12
	ldr	r3, [r3]
	mov	r2, #41
	mov	r1, #1
	ldr	r0, .L37+40
	bl	fwrite
	mov	r3, #1
	b	.L35
.L33:
	sub	r3, fp, #44
	mov	r0, r3
	bl	pthread_attr_destroy
	mov	r3, r0
	cmp	r3, #0
	beq	.L34
	ldr	r3, .L37+12
	ldr	r3, [r3]
	mov	r2, #46
	mov	r1, #1
	ldr	r0, .L37+44
	bl	fwrite
.L34:
	ldr	r3, [fp, #-48]
	mov	r0, r3
	bl	free
	mov	r3, #0
.L35:
	ldr	r2, .L37
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L36
	bl	__stack_chk_fail
.L36:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC21
	.word	.LC13
	.word	.LC14
	.word	stderr
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	consume
	.word	.LC18
	.word	supply
	.word	.LC19
	.word	.LC20
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
