	.file	"594765.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 32
.LC0:
	.string	"Cause of death: segfault."
	.zero	102
	.string	"Segfault, but it's alright! You'll get it to work eventually (maybe after the deadline, but hey, at least it works?)."
	.zero	10
	.string	"Segfault, but you got this, bro."
	.zero	95
	.string	"Congrats, it's going to be 10 hours before this program is fixed."
	.zero	62
	.string	"Segfault, but I believe in you! You can fix this! (doubtful, tbh)"
	.zero	62
	.string	"Are you a CS major? Wouldn't've guessed it. Jk welcome to the never-ending cycle of suffering, fellow egomaniac."
	.zero	15
	.string	"Segfault, but you can fix it. You're a passable programmer (probably... you did get this far, after all)."
	.zero	22
	.string	"Segfault: RIP. Sorry. gg. Maybe memes will help?"
	.zero	79
	.text
	.globl	seg_handler
	.type	seg_handler, @function
seg_handler:
.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, 1072
	mov	DWORD PTR -1044[rbp], edi
	mov	QWORD PTR -1056[rbp], rsi
	mov	QWORD PTR -1064[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -1044[rbp], 11
	jne	.L4
	lea	rax, -1040[rbp]
	lea	rdx, .LC0[rip]
	mov	ecx, 128
	mov	rdi, rax
	mov	rsi, rdx
	rep movsq
	mov	edi, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	call	rand@PLT
	cdq
	shr	edx, 29
	add	eax, edx
	and	eax, 7
	sub	eax, edx
	lea	rdx, -1040[rbp]
	cdqe
	sal	rax, 7
	add	rax, rdx
	mov	rdi, rax
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	seg_handler, .-seg_handler
	.section	.rodata
.LC1:
	.string	"sigaction failed"
	.text
	.globl	init
	.type	init, @function
init:
.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, 160
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -160[rbp]
	mov	edx, 152
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, seg_handler[rip]
	mov	QWORD PTR -160[rbp], rax
	mov	DWORD PTR -24[rbp], 4
	lea	rax, -160[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 11
	call	sigaction@PLT
	test	eax, eax
	je	.L8
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	edi, 2
	call	exit@PLT
.L8:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	init, .-init
	.section	.init_array,"aw"
	.align 8
	.quad	init
	.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	"594765.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Cause of death: segfault.\000"
	.space	102
	.ascii	"Segfault, but it's alright! You'll get it to work e"
	.ascii	"ventually (maybe after the deadline, but hey, at le"
	.ascii	"ast it works?).\000"
	.space	10
	.ascii	"Segfault, but you got this, bro.\000"
	.space	95
	.ascii	"Congrats, it's going to be 10 hours before this pro"
	.ascii	"gram is fixed.\000"
	.space	62
	.ascii	"Segfault, but I believe in you! You can fix this! ("
	.ascii	"doubtful, tbh)\000"
	.space	62
	.ascii	"Are you a CS major? Wouldn't've guessed it. Jk welc"
	.ascii	"ome to the never-ending cycle of suffering, fellow "
	.ascii	"egomaniac.\000"
	.space	15
	.ascii	"Segfault, but you can fix it. You're a passable pro"
	.ascii	"grammer (probably... you did get this far, after al"
	.ascii	"l).\000"
	.space	22
	.ascii	"Segfault: RIP. Sorry. gg. Maybe memes will help?\000"
	.space	79
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	seg_handler
	.syntax unified
	.arm
	.fpu softvfp
	.type	seg_handler, %function
seg_handler:
	@ args = 0, pretend = 0, frame = 1048
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1040
	sub	sp, sp, #8
	str	r0, [fp, #-1040]
	str	r1, [fp, #-1044]
	str	r2, [fp, #-1048]
	ldr	r3, .L5
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-1040]
	cmp	r3, #11
	bne	.L4
	ldr	r2, .L5+4
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r2
	mov	r2, #1024
	mov	r0, r3
	bl	memcpy
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	bl	rand
	mov	r3, r0
	rsbs	r1, r3, #0
	and	r2, r3, #7
	and	r3, r1, #7
	rsbpl	r2, r3, #0
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	lsl	r2, r2, #7
	add	r3, r3, r2
	mov	r0, r3
	bl	puts
	mov	r0, #1
	bl	exit
.L4:
	nop
	ldr	r3, .L5
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L3
	bl	__stack_chk_fail
.L3:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC1
	.word	.LC0
	.size	seg_handler, .-seg_handler
	.section	.rodata
	.align	2
.LC2:
	.ascii	"sigaction failed\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	init
	.syntax unified
	.arm
	.fpu softvfp
	.type	init, %function
init:
	@ args = 0, pretend = 0, frame = 144
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #144
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #148
	mov	r2, #140
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, .L11+4
	str	r3, [fp, #-148]
	mov	r3, #4
	str	r3, [fp, #-16]
	sub	r3, fp, #148
	mov	r2, #0
	mov	r1, r3
	mov	r0, #11
	bl	sigaction
	mov	r3, r0
	cmp	r3, #0
	beq	.L10
	ldr	r0, .L11+8
	bl	perror
	mov	r0, #2
	bl	exit
.L10:
	nop
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC3
	.word	seg_handler
	.word	.LC2
	.size	init, .-init
	.section	.init_array,"aw",%init_array
	.align	2
	.word	init(target1)
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
