	.file	"760563.c"
	.intel_syntax noprefix
	.text
	.globl	col
	.bss
	.align 4
	.type	col, @object
	.size	col, 4
col:
	.zero	4
	.globl	c
	.type	c, @object
	.size	c, 1
c:
	.zero	1
	.globl	count
	.align 4
	.type	count, @object
	.size	count, 4
count:
	.zero	4
	.section	.rodata
.LC0:
	.string	"gcol [column number]\n"
	.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	cmp	DWORD PTR -4[rbp], 2
	je	.L2
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 21
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	eax, -1
	jmp	.L3
.L2:
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR col[rip], eax
	call	getchar@PLT
	mov	BYTE PTR c[rip], al
	jmp	.L4
.L14:
	mov	DWORD PTR count[rip], 1
	jmp	.L5
.L13:
	movzx	eax, BYTE PTR c[rip]
	cmp	al, 32
	je	.L6
	movzx	eax, BYTE PTR c[rip]
	cmp	al, 9
	jne	.L7
.L6:
	mov	eax, DWORD PTR count[rip]
	add	eax, 1
	mov	DWORD PTR count[rip], eax
	nop
.L8:
	call	getchar@PLT
	mov	BYTE PTR c[rip], al
	movzx	eax, BYTE PTR c[rip]
	cmp	al, 32
	je	.L8
	movzx	eax, BYTE PTR c[rip]
	cmp	al, 9
	je	.L8
	jmp	.L5
.L7:
	mov	eax, DWORD PTR count[rip]
	mov	edx, eax
	mov	eax, DWORD PTR col[rip]
	cmp	edx, eax
	jne	.L9
	mov	rdx, QWORD PTR stdout[rip]
	movzx	eax, BYTE PTR c[rip]
	movsx	eax, al
	mov	rsi, rdx
	mov	edi, eax
	call	putc@PLT
	jmp	.L10
.L9:
	mov	eax, DWORD PTR count[rip]
	mov	edx, eax
	mov	eax, DWORD PTR col[rip]
	cmp	edx, eax
	jbe	.L10
	nop
.L11:
	call	getchar@PLT
	cmp	eax, 10
	jne	.L11
	jmp	.L12
.L10:
	call	getchar@PLT
	mov	BYTE PTR c[rip], al
.L5:
	movzx	eax, BYTE PTR c[rip]
	cmp	al, 10
	jne	.L13
.L12:
	mov	rax, QWORD PTR stdout[rip]
	mov	rsi, rax
	mov	edi, 10
	call	putc@PLT
	call	getchar@PLT
	mov	BYTE PTR c[rip], al
.L4:
	movzx	eax, BYTE PTR c[rip]
	cmp	al, -1
	jne	.L14
	mov	eax, 0
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"760563.c"
	.text
	.comm	col,4,4
	.comm	c,1,1
	.comm	count,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"gcol [column number]\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
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	beq	.L2
	ldr	r3, .L15
	ldr	r3, [r3]
	mov	r2, #21
	mov	r1, #1
	ldr	r0, .L15+4
	bl	fwrite
	mvn	r3, #0
	b	.L14
.L2:
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L15+8
	str	r2, [r3]
	bl	getchar
	mov	r3, r0
	and	r2, r3, #255
	ldr	r3, .L15+12
	strb	r2, [r3]
.L13:
	ldr	r3, .L15+16
	mov	r2, #1
	str	r2, [r3]
	b	.L4
.L12:
	ldr	r3, .L15+12
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L5
	ldr	r3, .L15+12
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #9
	bne	.L6
.L5:
	ldr	r3, .L15+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L15+16
	str	r3, [r2]
	nop
.L7:
	bl	getchar
	mov	r3, r0
	and	r2, r3, #255
	ldr	r3, .L15+12
	strb	r2, [r3]
	ldr	r3, .L15+12
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L7
	ldr	r3, .L15+12
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #9
	beq	.L7
	b	.L4
.L6:
	ldr	r3, .L15+16
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, .L15+8
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L8
	ldr	r3, .L15+12
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L15+20
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	putc
	b	.L9
.L8:
	ldr	r3, .L15+16
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, .L15+8
	ldr	r3, [r3]
	cmp	r2, r3
	bls	.L9
	nop
.L10:
	bl	getchar
	mov	r3, r0
	cmp	r3, #10
	bne	.L10
	b	.L11
.L9:
	bl	getchar
	mov	r3, r0
	and	r2, r3, #255
	ldr	r3, .L15+12
	strb	r2, [r3]
.L4:
	ldr	r3, .L15+12
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L12
.L11:
	ldr	r3, .L15+20
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	putc
	bl	getchar
	mov	r3, r0
	and	r2, r3, #255
	ldr	r3, .L15+12
	strb	r2, [r3]
	b	.L13
.L14:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	stderr
	.word	.LC0
	.word	col
	.word	c
	.word	count
	.word	stdout
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
