	.file	"592973.c"
	.intel_syntax noprefix
	.text
	.globl	success
	.bss
	.type	success, @object
	.size	success, 1
success:
	.zero	1
	.globl	failures
	.type	failures, @object
	.size	failures, 1
failures:
	.zero	1
	.globl	dummy
	.type	dummy, @object
	.size	dummy, 1
dummy:
	.zero	1
	.globl	aint0
	.align 4
	.type	aint0, @object
	.size	aint0, 4
aint0:
	.zero	4
	.globl	aint1
	.align 4
	.type	aint1, @object
	.size	aint1, 4
aint1:
	.zero	4
	.globl	achar0
	.type	achar0, @object
	.size	achar0, 1
achar0:
	.zero	1
	.globl	achar1
	.type	achar1, @object
	.size	achar1, 1
achar1:
	.zero	1
	.globl	achar2
	.type	achar2, @object
	.size	achar2, 1
achar2:
	.zero	1
	.globl	achar3
	.type	achar3, @object
	.size	achar3, 1
achar3:
	.zero	1
	.text
	.globl	done
	.type	done, @function
done:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movzx	eax, BYTE PTR dummy[rip]
	add	eax, 1
	mov	BYTE PTR dummy[rip], al
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	done, .-done
	.globl	shift_right_var
	.type	shift_right_var, @function
shift_right_var:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movzx	eax, BYTE PTR achar0[rip]
	movzx	edx, al
	movzx	eax, BYTE PTR achar1[rip]
	movzx	eax, al
	mov	ecx, eax
	sar	edx, cl
	mov	eax, edx
	mov	BYTE PTR achar0[rip], al
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	shift_right_var, .-shift_right_var
	.globl	shift_left_var
	.type	shift_left_var, @function
shift_left_var:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movzx	eax, BYTE PTR achar0[rip]
	movzx	edx, al
	movzx	eax, BYTE PTR achar1[rip]
	movzx	eax, al
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	mov	BYTE PTR achar0[rip], al
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	shift_left_var, .-shift_left_var
	.globl	shift_int_left_1
	.type	shift_int_left_1, @function
shift_int_left_1:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR aint0[rip]
	add	eax, eax
	mov	DWORD PTR aint0[rip], eax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	shift_int_left_1, .-shift_int_left_1
	.section	.rodata
.LC0:
	.string	"failures: %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	BYTE PTR achar0[rip], 1
	mov	BYTE PTR achar1[rip], 1
	call	shift_left_var
	movzx	eax, BYTE PTR achar0[rip]
	cmp	al, 2
	je	.L6
	movzx	eax, BYTE PTR failures[rip]
	add	eax, 1
	mov	BYTE PTR failures[rip], al
.L6:
	mov	BYTE PTR achar0[rip], 1
	mov	BYTE PTR achar1[rip], 1
	mov	BYTE PTR achar2[rip], 1
	mov	BYTE PTR -1[rbp], 0
	jmp	.L7
.L9:
	call	shift_left_var
	movzx	eax, BYTE PTR achar2[rip]
	add	eax, eax
	mov	BYTE PTR achar2[rip], al
	movzx	edx, BYTE PTR achar2[rip]
	movzx	eax, BYTE PTR achar0[rip]
	cmp	dl, al
	je	.L8
	movzx	eax, BYTE PTR failures[rip]
	add	eax, 1
	mov	BYTE PTR failures[rip], al
.L8:
	movzx	eax, BYTE PTR -1[rbp]
	add	eax, 1
	mov	BYTE PTR -1[rbp], al
.L7:
	cmp	BYTE PTR -1[rbp], 6
	jle	.L9
	movzx	eax, BYTE PTR failures[rip]
	mov	BYTE PTR success[rip], al
	mov	eax, 0
	call	done
	movzx	eax, BYTE PTR failures[rip]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, BYTE PTR failures[rip]
	movzx	eax, al
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.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	"592973.c"
	.text
	.global	success
	.bss
	.type	success, %object
	.size	success, 1
success:
	.space	1
	.global	failures
	.type	failures, %object
	.size	failures, 1
failures:
	.space	1
	.global	dummy
	.type	dummy, %object
	.size	dummy, 1
dummy:
	.space	1
	.global	aint0
	.align	2
	.type	aint0, %object
	.size	aint0, 4
aint0:
	.space	4
	.global	aint1
	.align	2
	.type	aint1, %object
	.size	aint1, 4
aint1:
	.space	4
	.global	achar0
	.type	achar0, %object
	.size	achar0, 1
achar0:
	.space	1
	.global	achar1
	.type	achar1, %object
	.size	achar1, 1
achar1:
	.space	1
	.global	achar2
	.type	achar2, %object
	.size	achar2, 1
achar2:
	.space	1
	.global	achar3
	.type	achar3, %object
	.size	achar3, 1
achar3:
	.space	1
	.text
	.align	2
	.global	done
	.syntax unified
	.arm
	.fpu softvfp
	.type	done, %function
done:
	@ 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
	ldr	r3, .L2
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r3, #1
	and	r2, r3, #255
	ldr	r3, .L2
	strb	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L3:
	.align	2
.L2:
	.word	dummy
	.size	done, .-done
	.align	2
	.global	shift_right_var
	.syntax unified
	.arm
	.fpu softvfp
	.type	shift_right_var, %function
shift_right_var:
	@ 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
	ldr	r3, .L5
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L5+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	asr	r3, r2, r3
	and	r2, r3, #255
	ldr	r3, .L5
	strb	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L6:
	.align	2
.L5:
	.word	achar0
	.word	achar1
	.size	shift_right_var, .-shift_right_var
	.align	2
	.global	shift_left_var
	.syntax unified
	.arm
	.fpu softvfp
	.type	shift_left_var, %function
shift_left_var:
	@ 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
	ldr	r3, .L8
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L8+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r2, r3
	and	r2, r3, #255
	ldr	r3, .L8
	strb	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L9:
	.align	2
.L8:
	.word	achar0
	.word	achar1
	.size	shift_left_var, .-shift_left_var
	.align	2
	.global	shift_int_left_1
	.syntax unified
	.arm
	.fpu softvfp
	.type	shift_int_left_1, %function
shift_int_left_1:
	@ 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
	ldr	r3, .L11
	ldr	r3, [r3]
	lsl	r3, r3, #1
	ldr	r2, .L11
	str	r3, [r2]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L12:
	.align	2
.L11:
	.word	aint0
	.size	shift_int_left_1, .-shift_int_left_1
	.section	.rodata
	.align	2
.LC0:
	.ascii	"failures: %d\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L19
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, .L19+4
	mov	r2, #1
	strb	r2, [r3]
	bl	shift_left_var
	ldr	r3, .L19
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #2
	beq	.L14
	ldr	r3, .L19+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r3, #1
	and	r2, r3, #255
	ldr	r3, .L19+8
	strb	r2, [r3]
.L14:
	ldr	r3, .L19
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, .L19+4
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, .L19+12
	mov	r2, #1
	strb	r2, [r3]
	mov	r3, #0
	strb	r3, [fp, #-5]
	b	.L15
.L17:
	bl	shift_left_var
	ldr	r3, .L19+12
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	and	r2, r3, #255
	ldr	r3, .L19+12
	strb	r2, [r3]
	ldr	r3, .L19+12
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, .L19
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L16
	ldr	r3, .L19+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r3, #1
	and	r2, r3, #255
	ldr	r3, .L19+8
	strb	r2, [r3]
.L16:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-5]
.L15:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #6
	bls	.L17
	ldr	r3, .L19+8
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, .L19+16
	strb	r2, [r3]
	bl	done
	ldr	r3, .L19+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L19+20
	bl	printf
	ldr	r3, .L19+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	achar0
	.word	achar1
	.word	failures
	.word	achar2
	.word	success
	.word	.LC0
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
