	.file	"894813.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	""
.LC1:
	.string	"BLOCKSIZE"
.LC2:
	.string	"G"
.LC3:
	.string	"K"
.LC4:
	.string	"M"
.LC5:
	.string	"%s: unknown blocksize"
.LC6:
	.string	"maximum blocksize is %ldG"
.LC7:
	.string	"%s: minimum blocksize is 512"
.LC8:
	.string	"%ld%s-blocks"
	.text
	.globl	getbsize
	.type	getbsize, @function
getbsize:
.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, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, .LC0[rip]
	mov	QWORD PTR -24[rbp], rax
	lea	rdi, .LC1[rip]
	call	getenv@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	je	.L2
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L2
	lea	rcx, -64[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, 10
	mov	rsi, rcx
	mov	rdi, rax
	call	strtol@PLT
	mov	QWORD PTR -56[rbp], rax
	cmp	QWORD PTR -56[rbp], 0
	js	.L21
	cmp	QWORD PTR -56[rbp], 0
	jne	.L5
	mov	QWORD PTR -56[rbp], 1
.L5:
	mov	rax, QWORD PTR -64[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L6
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L22
.L6:
	mov	rax, QWORD PTR -64[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	test	eax, eax
	je	.L8
	test	eax, eax
	js	.L7
	cmp	eax, 109
	jg	.L7
	cmp	eax, 71
	jl	.L7
	sub	eax, 71
	cmp	eax, 38
	ja	.L7
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L10[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L10[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L10:
	.long	.L12-.L10
	.long	.L7-.L10
	.long	.L7-.L10
	.long	.L7-.L10
	.long	.L11-.L10
	.long	.L7-.L10
	.long	.L9-.L10
	.long	.L7-.L10
	.long	.L7-.L10
	.long	.L7-.L10
	.long	.L7-.L10
	.long	.L7-.L10
	.long	.L7-.L10
	.long	.L7-.L10
	.long	.L7-.L10
	.long	.L7-.L10
	.long	.L7-.L10
	.long	.L7-.L10
	.long	.L7-.L10
	.long	.L7-.L10
	.long	.L7-.L10
	.long	.L7-.L10
	.long	.L7-.L10
	.long	.L7-.L10
	.long	.L7-.L10
	.long	.L7-.L10
	.long	.L7-.L10
	.long	.L7-.L10
	.long	.L7-.L10
	.long	.L7-.L10
	.long	.L7-.L10
	.long	.L7-.L10
	.long	.L12-.L10
	.long	.L7-.L10
	.long	.L7-.L10
	.long	.L7-.L10
	.long	.L11-.L10
	.long	.L7-.L10
	.long	.L9-.L10
	.text
.L12:
	lea	rax, .LC2[rip]
	mov	QWORD PTR -24[rbp], rax
	mov	QWORD PTR -48[rbp], 1
	mov	QWORD PTR -40[rbp], 1073741824
	jmp	.L13
.L11:
	lea	rax, .LC3[rip]
	mov	QWORD PTR -24[rbp], rax
	mov	QWORD PTR -48[rbp], 1048576
	mov	QWORD PTR -40[rbp], 1024
	jmp	.L13
.L9:
	lea	rax, .LC4[rip]
	mov	QWORD PTR -24[rbp], rax
	mov	QWORD PTR -48[rbp], 1024
	mov	QWORD PTR -40[rbp], 1048576
	jmp	.L13
.L8:
	mov	QWORD PTR -48[rbp], 1073741824
	mov	QWORD PTR -40[rbp], 1
	jmp	.L13
.L22:
	nop
.L7:
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	warnx@PLT
	mov	QWORD PTR -56[rbp], 512
	mov	QWORD PTR -40[rbp], 1
	mov	QWORD PTR -48[rbp], 0
	nop
.L13:
	mov	rax, QWORD PTR -56[rbp]
	cmp	rax, QWORD PTR -48[rbp]
	jle	.L14
	mov	esi, 1
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	warnx@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR -56[rbp], rax
.L14:
	mov	rax, QWORD PTR -56[rbp]
	imul	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 511
	jg	.L16
	jmp	.L4
.L21:
	nop
.L4:
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	warnx@PLT
	lea	rax, .LC0[rip]
	mov	QWORD PTR -24[rbp], rax
	mov	QWORD PTR -56[rbp], 512
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -32[rbp], rax
	jmp	.L16
.L2:
	mov	QWORD PTR -56[rbp], 512
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -32[rbp], rax
.L16:
	cmp	QWORD PTR -72[rbp], 0
	je	.L17
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	r8, rdx
	mov	rcx, rax
	lea	rdx, .LC8[rip]
	mov	esi, 20
	lea	rdi, header.0[rip]
	mov	eax, 0
	call	snprintf@PLT
	mov	rdx, QWORD PTR -72[rbp]
	mov	DWORD PTR [rdx], eax
.L17:
	cmp	QWORD PTR -80[rbp], 0
	je	.L18
	mov	rax, QWORD PTR -80[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR [rax], rdx
.L18:
	lea	rax, header.0[rip]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	getbsize, .-getbsize
	.local	header.0
	.comm	header.0,20,16
	.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	"894813.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"BLOCKSIZE\000"
	.align	2
.LC2:
	.ascii	"G\000"
	.align	2
.LC3:
	.ascii	"K\000"
	.align	2
.LC4:
	.ascii	"M\000"
	.align	2
.LC5:
	.ascii	"%s: unknown blocksize\000"
	.align	2
.LC6:
	.ascii	"maximum blocksize is %ldG\000"
	.align	2
.LC7:
	.ascii	"%s: minimum blocksize is 512\000"
	.align	2
.LC8:
	.ascii	"%ld%s-blocks\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	getbsize
	.syntax unified
	.arm
	.fpu softvfp
	.type	getbsize, %function
getbsize:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L23+4
	str	r3, [fp, #-16]
	ldr	r0, .L23+8
	bl	getenv
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L2
	sub	r3, fp, #36
	mov	r2, #10
	mov	r1, r3
	ldr	r0, [fp, #-12]
	bl	strtol
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	blt	.L21
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L5
	mov	r3, #1
	str	r3, [fp, #-32]
.L5:
	ldr	r3, [fp, #-36]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L6
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L22
.L6:
	ldr	r3, [fp, #-36]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L8
	cmp	r3, #0
	blt	.L7
	cmp	r3, #109
	bgt	.L7
	cmp	r3, #71
	blt	.L7
	sub	r3, r3, #71
	cmp	r3, #38
	ldrls	pc, [pc, r3, asl #2]
	b	.L7
.L10:
	.word	.L12
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L11
	.word	.L7
	.word	.L9
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L12
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L11
	.word	.L7
	.word	.L9
.L12:
	ldr	r3, .L23+12
	str	r3, [fp, #-16]
	mov	r3, #1
	str	r3, [fp, #-28]
	mov	r3, #1073741824
	str	r3, [fp, #-24]
	b	.L13
.L11:
	ldr	r3, .L23+16
	str	r3, [fp, #-16]
	mov	r3, #1048576
	str	r3, [fp, #-28]
	mov	r3, #1024
	str	r3, [fp, #-24]
	b	.L13
.L9:
	ldr	r3, .L23+20
	str	r3, [fp, #-16]
	mov	r3, #1024
	str	r3, [fp, #-28]
	mov	r3, #1048576
	str	r3, [fp, #-24]
	b	.L13
.L8:
	mov	r3, #1073741824
	str	r3, [fp, #-28]
	mov	r3, #1
	str	r3, [fp, #-24]
	b	.L13
.L22:
	nop
.L7:
	ldr	r1, [fp, #-12]
	ldr	r0, .L23+24
	bl	warnx
	mov	r3, #512
	str	r3, [fp, #-32]
	mov	r3, #1
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-28]
	nop
.L13:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	ble	.L14
	mov	r1, #1
	ldr	r0, .L23+28
	bl	warnx
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-32]
.L14:
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-24]
	mul	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #512
	bge	.L16
	b	.L4
.L21:
	nop
.L4:
	ldr	r1, [fp, #-12]
	ldr	r0, .L23+32
	bl	warnx
	ldr	r3, .L23+4
	str	r3, [fp, #-16]
	mov	r3, #512
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-20]
	b	.L16
.L2:
	mov	r3, #512
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-20]
.L16:
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L17
	ldr	r3, [fp, #-16]
	str	r3, [sp]
	ldr	r3, [fp, #-32]
	ldr	r2, .L23+36
	mov	r1, #20
	ldr	r0, .L23+40
	bl	snprintf
	mov	r2, r0
	ldr	r3, [fp, #-40]
	str	r2, [r3]
.L17:
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	beq	.L18
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-20]
	str	r2, [r3]
.L18:
	ldr	r3, .L23+40
	ldr	r2, .L23
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC9
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	header.5337
	.size	getbsize, .-getbsize
	.local	header.5337
	.comm	header.5337,20,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
