	.file	"286402.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"the_stack_data/286402.c"
.LC1:
	.string	"r >= 0"
.LC2:
	.string	"some branch\n"
.LC3:
	.string	"some other branch\n"
.LC4:
	.string	"cpu_before != cpu_after"
	.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, 192
	mov	DWORD PTR -180[rbp], edi
	mov	QWORD PTR -192[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -176[rbp], 0
	mov	DWORD PTR -172[rbp], 0
	call	getpid@PLT
	mov	DWORD PTR -168[rbp], eax
	lea	rax, -144[rbp]
	mov	rsi, rax
	mov	eax, 0
	mov	edx, 16
	mov	rdi, rsi
	mov	rcx, rdx
	rep stosq
	mov	QWORD PTR -160[rbp], 0
	cmp	QWORD PTR -160[rbp], 1023
	ja	.L3
	mov	rax, QWORD PTR -160[rbp]
	shr	rax, 6
	lea	rdx, 0[0+rax*8]
	lea	rcx, -144[rbp]
	add	rdx, rcx
	mov	rsi, QWORD PTR [rdx]
	mov	rdx, QWORD PTR -160[rbp]
	and	edx, 63
	mov	edi, 1
	mov	ecx, edx
	sal	rdi, cl
	mov	rdx, rdi
	lea	rcx, 0[0+rax*8]
	lea	rax, -144[rbp]
	add	rax, rcx
	or	rdx, rsi
	mov	QWORD PTR [rax], rdx
.L3:
	lea	rdx, -144[rbp]
	mov	eax, DWORD PTR -168[rbp]
	mov	esi, 128
	mov	edi, eax
	call	sched_setaffinity@PLT
	mov	DWORD PTR -164[rbp], eax
	cmp	DWORD PTR -164[rbp], 0
	jns	.L4
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 25
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L4:
	lea	rax, -176[rbp]
	mov	ecx, 0
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 309
	mov	eax, 0
	call	syscall@PLT
	mov	DWORD PTR -164[rbp], eax
	cmp	DWORD PTR -164[rbp], 0
	jns	.L5
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 27
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L5:
	cmp	DWORD PTR -180[rbp], 1
	jle	.L6
	lea	rdi, .LC2[rip]
	call	puts@PLT
.L6:
	lea	rax, -144[rbp]
	mov	rsi, rax
	mov	eax, 0
	mov	edx, 16
	mov	rdi, rsi
	mov	rcx, rdx
	rep stosq
	mov	QWORD PTR -152[rbp], 1
	cmp	QWORD PTR -152[rbp], 1023
	ja	.L8
	mov	rax, QWORD PTR -152[rbp]
	shr	rax, 6
	lea	rdx, 0[0+rax*8]
	lea	rcx, -144[rbp]
	add	rdx, rcx
	mov	rsi, QWORD PTR [rdx]
	mov	rdx, QWORD PTR -152[rbp]
	and	edx, 63
	mov	edi, 1
	mov	ecx, edx
	sal	rdi, cl
	mov	rdx, rdi
	lea	rcx, 0[0+rax*8]
	lea	rax, -144[rbp]
	add	rax, rcx
	or	rdx, rsi
	mov	QWORD PTR [rax], rdx
.L8:
	lea	rdx, -144[rbp]
	mov	eax, DWORD PTR -168[rbp]
	mov	esi, 128
	mov	edi, eax
	call	sched_setaffinity@PLT
	mov	DWORD PTR -164[rbp], eax
	cmp	DWORD PTR -164[rbp], 0
	jns	.L9
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 36
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L9:
	lea	rax, -172[rbp]
	mov	ecx, 0
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 309
	mov	eax, 0
	call	syscall@PLT
	mov	DWORD PTR -164[rbp], eax
	cmp	DWORD PTR -164[rbp], 0
	jns	.L10
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 38
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L10:
	cmp	DWORD PTR -180[rbp], 1
	jle	.L11
	lea	rdi, .LC3[rip]
	call	puts@PLT
.L11:
	mov	edx, DWORD PTR -176[rbp]
	mov	eax, DWORD PTR -172[rbp]
	cmp	edx, eax
	jne	.L12
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 44
	lea	rsi, .LC0[rip]
	lea	rdi, .LC4[rip]
	call	__assert_fail@PLT
.L12:
	mov	edi, 6
	call	raise@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 5
__PRETTY_FUNCTION__.0:
	.string	"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	"286402.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"the_stack_data/286402.c\000"
	.align	2
.LC1:
	.ascii	"r >= 0\000"
	.align	2
.LC2:
	.ascii	"some branch\012\000"
	.align	2
.LC3:
	.ascii	"some other branch\012\000"
	.align	2
.LC4:
	.ascii	"cpu_before != cpu_after\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 168
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #168
	str	r0, [fp, #-168]
	str	r1, [fp, #-172]
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-160]
	mov	r3, #0
	str	r3, [fp, #-156]
	bl	getpid
	str	r0, [fp, #-152]
	sub	r3, fp, #136
	mov	r0, r3
	mov	r3, #128
	mov	r2, r3
	mov	r1, #0
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-148]
	ldr	r3, [fp, #-148]
	cmp	r3, #1024
	bcs	.L3
	ldr	r3, [fp, #-148]
	lsr	r3, r3, #5
	lsl	r2, r3, #2
	sub	r1, fp, #136
	add	r2, r1, r2
	ldr	r1, [r2]
	ldr	r2, [fp, #-148]
	and	r2, r2, #31
	mov	r0, #1
	lsl	r2, r0, r2
	lsl	r3, r3, #2
	sub	r0, fp, #136
	add	r3, r0, r3
	orr	r2, r1, r2
	str	r2, [r3]
.L3:
	sub	r3, fp, #136
	mov	r2, r3
	mov	r1, #128
	ldr	r0, [fp, #-152]
	bl	sched_setaffinity
	str	r0, [fp, #-144]
	ldr	r3, [fp, #-144]
	cmp	r3, #0
	bge	.L4
	ldr	r3, .L15+4
	mov	r2, #25
	ldr	r1, .L15+8
	ldr	r0, .L15+12
	bl	__assert_fail
.L4:
	sub	r1, fp, #160
	mov	r3, #0
	mov	r2, #0
	ldr	r0, .L15+16
	bl	syscall
	str	r0, [fp, #-144]
	ldr	r3, [fp, #-144]
	cmp	r3, #0
	bge	.L5
	ldr	r3, .L15+4
	mov	r2, #27
	ldr	r1, .L15+8
	ldr	r0, .L15+12
	bl	__assert_fail
.L5:
	ldr	r3, [fp, #-168]
	cmp	r3, #1
	ble	.L6
	ldr	r0, .L15+20
	bl	puts
.L6:
	sub	r3, fp, #136
	mov	r0, r3
	mov	r3, #128
	mov	r2, r3
	mov	r1, #0
	bl	memset
	mov	r3, #1
	str	r3, [fp, #-140]
	ldr	r3, [fp, #-140]
	cmp	r3, #1024
	bcs	.L8
	ldr	r3, [fp, #-140]
	lsr	r3, r3, #5
	lsl	r2, r3, #2
	sub	r1, fp, #136
	add	r2, r1, r2
	ldr	r1, [r2]
	ldr	r2, [fp, #-140]
	and	r2, r2, #31
	mov	r0, #1
	lsl	r2, r0, r2
	lsl	r3, r3, #2
	sub	r0, fp, #136
	add	r3, r0, r3
	orr	r2, r1, r2
	str	r2, [r3]
.L8:
	sub	r3, fp, #136
	mov	r2, r3
	mov	r1, #128
	ldr	r0, [fp, #-152]
	bl	sched_setaffinity
	str	r0, [fp, #-144]
	ldr	r3, [fp, #-144]
	cmp	r3, #0
	bge	.L9
	ldr	r3, .L15+4
	mov	r2, #36
	ldr	r1, .L15+8
	ldr	r0, .L15+12
	bl	__assert_fail
.L9:
	sub	r1, fp, #156
	mov	r3, #0
	mov	r2, #0
	ldr	r0, .L15+16
	bl	syscall
	str	r0, [fp, #-144]
	ldr	r3, [fp, #-144]
	cmp	r3, #0
	bge	.L10
	ldr	r3, .L15+4
	mov	r2, #38
	ldr	r1, .L15+8
	ldr	r0, .L15+12
	bl	__assert_fail
.L10:
	ldr	r3, [fp, #-168]
	cmp	r3, #1
	ble	.L11
	ldr	r0, .L15+24
	bl	puts
.L11:
	ldr	r2, [fp, #-160]
	ldr	r3, [fp, #-156]
	cmp	r2, r3
	bne	.L12
	ldr	r3, .L15+4
	mov	r2, #44
	ldr	r1, .L15+8
	ldr	r0, .L15+28
	bl	__assert_fail
.L12:
	mov	r0, #6
	bl	raise
	mov	r3, #0
	ldr	r2, .L15
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC5
	.word	__PRETTY_FUNCTION__.6491
	.word	.LC0
	.word	.LC1
	.word	345
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.6491, %object
	.size	__PRETTY_FUNCTION__.6491, 5
__PRETTY_FUNCTION__.6491:
	.ascii	"main\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
