	.file	"238716.c"
	.intel_syntax noprefix
	.text
	.globl	g
	.bss
	.align 8
	.type	g, @object
	.size	g, 8
g:
	.zero	8
	.globl	f
	.align 4
	.type	f, @object
	.size	f, 4
f:
	.zero	4
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	j
	.align 4
	.type	j, @object
	.size	j, 4
j:
	.zero	4
	.text
	.globl	k
	.type	k, @function
k:
.LFB0:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR i[rip]
	cmp	eax, 8
	je	.L2
	cmp	eax, 8
	jg	.L3
	cmp	eax, 3
	je	.L4
	cmp	eax, 3
	jg	.L3
	cmp	eax, 1
	je	.L5
	cmp	eax, 2
	je	.L6
	jmp	.L3
.L5:
	mov	rax, QWORD PTR g[rip]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L7
	mov	DWORD PTR -44[rbp], 1
	jmp	.L6
.L7:
	mov	DWORD PTR -20[rbp], 5
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -44[rbp], eax
.L6:
	mov	DWORD PTR j[rip], 0
	jmp	.L8
.L13:
	mov	DWORD PTR -52[rbp], 0
	mov	rax, QWORD PTR g[rip]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR j[rip]
	or	eax, 2
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L9
	mov	rax, QWORD PTR g[rip]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR j[rip]
	sal	eax, 2
	or	eax, 2
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	DWORD PTR -52[rbp], eax
.L9:
	mov	rax, QWORD PTR g[rip]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR j[rip]
	sal	eax, 2
	or	eax, 2
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L10
	mov	DWORD PTR -48[rbp], 3
	jmp	.L11
.L10:
	mov	DWORD PTR -48[rbp], 7
.L11:
	cmp	DWORD PTR -52[rbp], 0
	je	.L12
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, DWORD PTR -48[rbp]
	jne	.L12
	mov	rax, QWORD PTR g[rip]
	mov	eax, DWORD PTR [rax]
	cdqe
	mov	rdx, rax
	mov	rax, QWORD PTR g[rip]
	cmp	rdx, rax
	jne	.L12
	mov	DWORD PTR -20[rbp], 0
.L12:
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	mov	DWORD PTR j[rip], eax
.L8:
	mov	eax, DWORD PTR j[rip]
	cmp	eax, 3
	jle	.L13
	mov	DWORD PTR j[rip], 0
	jmp	.L14
.L15:
	mov	eax, 0
	call	n@PLT
.L14:
	mov	eax, DWORD PTR j[rip]
	cmp	eax, 3
	jle	.L15
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR f[rip], eax
.L4:
	mov	DWORD PTR j[rip], 0
	jmp	.L16
.L17:
	mov	rax, QWORD PTR g[rip]
	mov	rax, QWORD PTR 8[rax]
	add	rax, 16
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 2
	neg	rax
	add	rax, rdx
	mov	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	mov	DWORD PTR j[rip], eax
.L16:
	mov	eax, DWORD PTR j[rip]
	cmp	eax, 1
	jle	.L17
	cmp	DWORD PTR -52[rbp], 0
	je	.L18
	mov	DWORD PTR -24[rbp], 0
.L18:
	mov	eax, DWORD PTR -44[rbp]
	mov	DWORD PTR f[rip], eax
	jmp	.L3
.L2:
	mov	DWORD PTR j[rip], 0
	mov	QWORD PTR -40[rbp], 0
	jmp	.L19
.L27:
	mov	DWORD PTR -52[rbp], 0
	mov	rax, QWORD PTR g[rip]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR j[rip]
	sal	eax, 2
	or	eax, 2
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L20
	mov	rax, QWORD PTR g[rip]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR j[rip]
	or	eax, 2
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	DWORD PTR -52[rbp], eax
.L20:
	mov	rax, QWORD PTR g[rip]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR j[rip]
	sal	eax, 2
	or	eax, 2
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L21
	mov	DWORD PTR -48[rbp], 3
	jmp	.L22
.L21:
	mov	DWORD PTR -48[rbp], 7
.L22:
	cmp	DWORD PTR -52[rbp], 0
	je	.L23
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, DWORD PTR -48[rbp]
	je	.L25
	mov	rax, QWORD PTR g[rip]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L25
	mov	eax, DWORD PTR j[rip]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	cdqe
	or	QWORD PTR -40[rbp], rax
	jmp	.L25
.L23:
	mov	eax, DWORD PTR j[rip]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	cdqe
	or	QWORD PTR -40[rbp], rax
.L25:
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	mov	DWORD PTR j[rip], eax
.L19:
	mov	eax, DWORD PTR j[rip]
	cmp	eax, 7
	jle	.L27
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR g[rip], rax
.L3:
	nop
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L28
	call	__stack_chk_fail@PLT
.L28:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	k, .-k
	.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	"238716.c"
	.text
	.comm	g,4,4
	.comm	f,4,4
	.comm	i,4,4
	.comm	j,4,4
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	k
	.syntax unified
	.arm
	.fpu softvfp
	.type	k, %function
k:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L30+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	cmp	r3, #7
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L3
.L7:
	ldr	r3, .L30+8
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L8
	mov	r3, #1
	str	r3, [fp, #-28]
	b	.L6
.L8:
	mov	r3, #5
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-28]
.L6:
	ldr	r3, .L30+12
	mov	r2, #0
	str	r2, [r3]
	b	.L9
.L14:
	mov	r3, #0
	str	r3, [fp, #-36]
	ldr	r3, .L30+8
	ldr	r3, [r3]
	ldr	r2, [r3, #4]
	ldr	r3, .L30+12
	ldr	r3, [r3]
	orr	r3, r3, #2
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L10
	ldr	r3, .L30+8
	ldr	r3, [r3]
	ldr	r2, [r3, #4]
	ldr	r3, .L30+12
	ldr	r3, [r3]
	lsl	r3, r3, #2
	orr	r3, r3, #2
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-36]
.L10:
	ldr	r3, .L30+8
	ldr	r3, [r3]
	ldr	r2, [r3, #4]
	ldr	r3, .L30+12
	ldr	r3, [r3]
	lsl	r3, r3, #2
	orr	r3, r3, #2
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L11
	mov	r3, #3
	str	r3, [fp, #-32]
	b	.L12
.L11:
	mov	r3, #7
	str	r3, [fp, #-32]
.L12:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L13
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	bne	.L13
	ldr	r3, .L30+8
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, .L30+8
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L13
	mov	r3, #0
	str	r3, [fp, #-12]
.L13:
	ldr	r3, .L30+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L30+12
	str	r3, [r2]
.L9:
	ldr	r3, .L30+12
	ldr	r3, [r3]
	cmp	r3, #3
	ble	.L14
	ldr	r3, .L30+12
	mov	r2, #0
	str	r2, [r3]
	b	.L15
.L16:
	bl	n
.L15:
	ldr	r3, .L30+12
	ldr	r3, [r3]
	cmp	r3, #3
	ble	.L16
	ldr	r3, [fp, #-12]
	ldr	r2, .L30+16
	str	r3, [r2]
.L5:
	ldr	r3, .L30+12
	mov	r2, #0
	str	r2, [r3]
	b	.L17
.L18:
	ldr	r3, .L30+8
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	add	r3, r3, #8
	ldr	r2, [r3]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	rsb	r3, r3, #0
	add	r3, r2, r3
	str	r3, [fp, #-36]
	ldr	r3, .L30+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L30+12
	str	r3, [r2]
.L17:
	ldr	r3, .L30+12
	ldr	r3, [r3]
	cmp	r3, #1
	ble	.L18
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L19
	mov	r3, #0
	str	r3, [fp, #-16]
.L19:
	ldr	r2, .L30+16
	ldr	r3, [fp, #-28]
	str	r3, [r2]
	b	.L2
.L3:
	ldr	r3, .L30+12
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L20
.L28:
	mov	r3, #0
	str	r3, [fp, #-36]
	ldr	r3, .L30+8
	ldr	r3, [r3]
	ldr	r2, [r3, #4]
	ldr	r3, .L30+12
	ldr	r3, [r3]
	lsl	r3, r3, #2
	orr	r3, r3, #2
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L21
	ldr	r3, .L30+8
	ldr	r3, [r3]
	ldr	r2, [r3, #4]
	ldr	r3, .L30+12
	ldr	r3, [r3]
	orr	r3, r3, #2
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-36]
.L21:
	ldr	r3, .L30+8
	ldr	r3, [r3]
	ldr	r2, [r3, #4]
	ldr	r3, .L30+12
	ldr	r3, [r3]
	lsl	r3, r3, #2
	orr	r3, r3, #2
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L22
	mov	r3, #3
	str	r3, [fp, #-32]
	b	.L23
.L22:
	mov	r3, #7
	str	r3, [fp, #-32]
.L23:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L24
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	beq	.L26
	ldr	r3, .L30+8
	ldr	r3, [r3]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L26
	ldr	r3, .L30+12
	ldr	r3, [r3]
	mov	r2, #1
	lsl	r3, r2, r3
	ldr	r2, [fp, #-40]
	orr	r3, r2, r3
	str	r3, [fp, #-40]
	b	.L26
.L24:
	ldr	r3, .L30+12
	ldr	r3, [r3]
	mov	r2, #1
	lsl	r3, r2, r3
	ldr	r2, [fp, #-40]
	orr	r3, r2, r3
	str	r3, [fp, #-40]
.L26:
	ldr	r3, .L30+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L30+12
	str	r3, [r2]
.L20:
	ldr	r3, .L30+12
	ldr	r3, [r3]
	cmp	r3, #7
	ble	.L28
	ldr	r3, [fp, #-40]
	ldr	r2, .L30+8
	str	r3, [r2]
.L2:
	nop
	ldr	r2, .L30
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L29
	bl	__stack_chk_fail
.L29:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L31:
	.align	2
.L30:
	.word	.LC0
	.word	i
	.word	g
	.word	j
	.word	f
	.size	k, .-k
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
