	.file	"840370.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"the_stack_data/840370.c"
.LC1:
	.string	"a == 5"
.LC2:
	.string	"success"
.LC3:
	.string	"!success"
	.text
	.globl	test_int
	.type	test_int, @function
test_int:
.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -16[rbp], 37
	mov	DWORD PTR -12[rbp], 37
	lea	rdx, -12[rbp]
	mov	eax, DWORD PTR [rdx]
	mov	ecx, 5
	lock cmpxchg	DWORD PTR -16[rbp], ecx
	mov	ecx, eax
	sete	al
	test	al, al
	jne	.L2
	mov	DWORD PTR [rdx], ecx
.L2:
	mov	BYTE PTR -17[rbp], al
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, 5
	je	.L3
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 9
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L3:
	movzx	eax, BYTE PTR -17[rbp]
	test	al, al
	jne	.L4
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 10
	lea	rsi, .LC0[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L4:
	mov	DWORD PTR -12[rbp], 32
	lea	rdx, -12[rbp]
	mov	eax, DWORD PTR [rdx]
	mov	ecx, 1
	lock cmpxchg	DWORD PTR -16[rbp], ecx
	mov	ecx, eax
	sete	al
	test	al, al
	jne	.L5
	mov	DWORD PTR [rdx], ecx
.L5:
	mov	BYTE PTR -17[rbp], al
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, 5
	je	.L6
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 15
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L6:
	movzx	eax, BYTE PTR -17[rbp]
	xor	eax, 1
	test	al, al
	jne	.L9
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 16
	lea	rsi, .LC0[rip]
	lea	rdi, .LC3[rip]
	call	__assert_fail@PLT
.L9:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	test_int, .-test_int
	.globl	test_long
	.type	test_long, @function
test_long:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -24[rbp], 37
	mov	QWORD PTR -16[rbp], 37
	lea	rdx, -16[rbp]
	mov	rax, QWORD PTR [rdx]
	mov	ecx, 5
	lock cmpxchg	QWORD PTR -24[rbp], rcx
	mov	rcx, rax
	sete	al
	test	al, al
	jne	.L11
	mov	QWORD PTR [rdx], rcx
.L11:
	mov	BYTE PTR -25[rbp], al
	mov	rax, QWORD PTR -24[rbp]
	cmp	rax, 5
	je	.L12
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 24
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L12:
	movzx	eax, BYTE PTR -25[rbp]
	test	al, al
	jne	.L13
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 25
	lea	rsi, .LC0[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L13:
	mov	QWORD PTR -16[rbp], 32
	lea	rdx, -16[rbp]
	mov	rax, QWORD PTR [rdx]
	mov	ecx, 1
	lock cmpxchg	QWORD PTR -24[rbp], rcx
	mov	rcx, rax
	sete	al
	test	al, al
	jne	.L14
	mov	QWORD PTR [rdx], rcx
.L14:
	mov	BYTE PTR -25[rbp], al
	mov	rax, QWORD PTR -24[rbp]
	cmp	rax, 5
	je	.L15
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 30
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L15:
	movzx	eax, BYTE PTR -25[rbp]
	xor	eax, 1
	test	al, al
	jne	.L18
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 31
	lea	rsi, .LC0[rip]
	lea	rdi, .LC3[rip]
	call	__assert_fail@PLT
.L18:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	test_long, .-test_long
	.globl	test_longlong
	.type	test_longlong, @function
test_longlong:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -24[rbp], 37
	mov	QWORD PTR -16[rbp], 37
	lea	rdx, -16[rbp]
	mov	rax, QWORD PTR [rdx]
	mov	ecx, 5
	lock cmpxchg	QWORD PTR -24[rbp], rcx
	mov	rcx, rax
	sete	al
	test	al, al
	jne	.L20
	mov	QWORD PTR [rdx], rcx
.L20:
	mov	BYTE PTR -25[rbp], al
	mov	rax, QWORD PTR -24[rbp]
	cmp	rax, 5
	je	.L21
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 39
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L21:
	movzx	eax, BYTE PTR -25[rbp]
	test	al, al
	jne	.L22
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 40
	lea	rsi, .LC0[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L22:
	mov	QWORD PTR -16[rbp], 32
	lea	rdx, -16[rbp]
	mov	rax, QWORD PTR [rdx]
	mov	ecx, 1
	lock cmpxchg	QWORD PTR -24[rbp], rcx
	mov	rcx, rax
	sete	al
	test	al, al
	jne	.L23
	mov	QWORD PTR [rdx], rcx
.L23:
	mov	BYTE PTR -25[rbp], al
	mov	rax, QWORD PTR -24[rbp]
	cmp	rax, 5
	je	.L24
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 45
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L24:
	movzx	eax, BYTE PTR -25[rbp]
	xor	eax, 1
	test	al, al
	jne	.L27
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 46
	lea	rsi, .LC0[rip]
	lea	rdi, .LC3[rip]
	call	__assert_fail@PLT
.L27:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L26
	call	__stack_chk_fail@PLT
.L26:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	test_longlong, .-test_longlong
	.globl	main
	.type	main, @function
main:
.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, 0
	call	test_int
	mov	eax, 0
	call	test_long
	mov	eax, 0
	call	test_longlong
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	main, .-main
	.section	.rodata
	.align 8
	.type	__PRETTY_FUNCTION__.2, @object
	.size	__PRETTY_FUNCTION__.2, 9
__PRETTY_FUNCTION__.2:
	.string	"test_int"
	.align 8
	.type	__PRETTY_FUNCTION__.1, @object
	.size	__PRETTY_FUNCTION__.1, 10
__PRETTY_FUNCTION__.1:
	.string	"test_long"
	.align 8
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 14
__PRETTY_FUNCTION__.0:
	.string	"test_longlong"
	.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	"840370.c"
	.text
	.global	__sync_val_compare_and_swap_4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"the_stack_data/840370.c\000"
	.align	2
.LC1:
	.ascii	"a == 5\000"
	.align	2
.LC2:
	.ascii	"success\000"
	.align	2
.LC3:
	.ascii	"!success\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	test_int
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_int, %function
test_int:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #16
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #37
	str	r3, [fp, #-24]
	mov	r3, #37
	str	r3, [fp, #-20]
	sub	r4, fp, #20
	ldr	r5, [r4]
	sub	r3, fp, #24
	mov	r2, #5
	mov	r1, r5
	mov	r0, r3
	bl	__sync_val_compare_and_swap_4
	mov	r3, r0
	cmp	r3, r5
	moveq	r2, #1
	movne	r2, #0
	cmp	r2, #0
	bne	.L2
	str	r3, [r4]
.L2:
	mov	r3, r2
	strb	r3, [fp, #-25]
	ldr	r3, [fp, #-24]
	cmp	r3, #5
	beq	.L3
	ldr	r3, .L10+4
	mov	r2, #9
	ldr	r1, .L10+8
	ldr	r0, .L10+12
	bl	__assert_fail
.L3:
	ldrb	r3, [fp, #-25]
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L4
	ldr	r3, .L10+4
	mov	r2, #10
	ldr	r1, .L10+8
	ldr	r0, .L10+16
	bl	__assert_fail
.L4:
	mov	r3, #32
	str	r3, [fp, #-20]
	sub	r4, fp, #20
	ldr	r5, [r4]
	sub	r3, fp, #24
	mov	r2, #1
	mov	r1, r5
	mov	r0, r3
	bl	__sync_val_compare_and_swap_4
	mov	r3, r0
	cmp	r3, r5
	moveq	r2, #1
	movne	r2, #0
	cmp	r2, #0
	bne	.L5
	str	r3, [r4]
.L5:
	mov	r3, r2
	strb	r3, [fp, #-25]
	ldr	r3, [fp, #-24]
	cmp	r3, #5
	beq	.L6
	ldr	r3, .L10+4
	mov	r2, #15
	ldr	r1, .L10+8
	ldr	r0, .L10+12
	bl	__assert_fail
.L6:
	ldrb	r3, [fp, #-25]
	and	r3, r3, #255
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L9
	ldr	r3, .L10+4
	mov	r2, #16
	ldr	r1, .L10+8
	ldr	r0, .L10+20
	bl	__assert_fail
.L9:
	nop
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC4
	.word	__PRETTY_FUNCTION__.4213
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	test_int, .-test_int
	.section	.rodata
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	test_long
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_long, %function
test_long:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #16
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #37
	str	r3, [fp, #-24]
	mov	r3, #37
	str	r3, [fp, #-20]
	sub	r4, fp, #20
	ldr	r5, [r4]
	sub	r3, fp, #24
	mov	r2, #5
	mov	r1, r5
	mov	r0, r3
	bl	__sync_val_compare_and_swap_4
	mov	r3, r0
	cmp	r3, r5
	moveq	r2, #1
	movne	r2, #0
	cmp	r2, #0
	bne	.L13
	str	r3, [r4]
.L13:
	mov	r3, r2
	strb	r3, [fp, #-25]
	ldr	r3, [fp, #-24]
	cmp	r3, #5
	beq	.L14
	ldr	r3, .L21+4
	mov	r2, #24
	ldr	r1, .L21+8
	ldr	r0, .L21+12
	bl	__assert_fail
.L14:
	ldrb	r3, [fp, #-25]
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L15
	ldr	r3, .L21+4
	mov	r2, #25
	ldr	r1, .L21+8
	ldr	r0, .L21+16
	bl	__assert_fail
.L15:
	mov	r3, #32
	str	r3, [fp, #-20]
	sub	r4, fp, #20
	ldr	r5, [r4]
	sub	r3, fp, #24
	mov	r2, #1
	mov	r1, r5
	mov	r0, r3
	bl	__sync_val_compare_and_swap_4
	mov	r3, r0
	cmp	r3, r5
	moveq	r2, #1
	movne	r2, #0
	cmp	r2, #0
	bne	.L16
	str	r3, [r4]
.L16:
	mov	r3, r2
	strb	r3, [fp, #-25]
	ldr	r3, [fp, #-24]
	cmp	r3, #5
	beq	.L17
	ldr	r3, .L21+4
	mov	r2, #30
	ldr	r1, .L21+8
	ldr	r0, .L21+12
	bl	__assert_fail
.L17:
	ldrb	r3, [fp, #-25]
	and	r3, r3, #255
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L20
	ldr	r3, .L21+4
	mov	r2, #31
	ldr	r1, .L21+8
	ldr	r0, .L21+20
	bl	__assert_fail
.L20:
	nop
	ldr	r3, .L21
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L19
	bl	__stack_chk_fail
.L19:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC5
	.word	__PRETTY_FUNCTION__.4219
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	test_long, .-test_long
	.section	.rodata
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	test_longlong
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_longlong, %function
test_longlong:
	@ args = 0, pretend = 0, frame = 32
	@ 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
	mov	r2, #37
	mov	r3, #0
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	mov	r2, #37
	mov	r3, #0
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r1, fp, #20
	sub	r0, fp, #28
	mov	r3, #0
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r2, #5
	mov	r3, #0
	bl	__atomic_compare_exchange_8
	mov	r3, r0
	strb	r3, [fp, #-29]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	cmp	r3, #0
	cmpeq	r2, #5
	beq	.L24
	ldr	r3, .L30+4
	mov	r2, #39
	ldr	r1, .L30+8
	ldr	r0, .L30+12
	bl	__assert_fail
.L24:
	ldrb	r3, [fp, #-29]
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L25
	ldr	r3, .L30+4
	mov	r2, #40
	ldr	r1, .L30+8
	ldr	r0, .L30+16
	bl	__assert_fail
.L25:
	mov	r2, #32
	mov	r3, #0
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r1, fp, #20
	sub	r0, fp, #28
	mov	r3, #0
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r2, #1
	mov	r3, #0
	bl	__atomic_compare_exchange_8
	mov	r3, r0
	strb	r3, [fp, #-29]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	cmp	r3, #0
	cmpeq	r2, #5
	beq	.L26
	ldr	r3, .L30+4
	mov	r2, #45
	ldr	r1, .L30+8
	ldr	r0, .L30+12
	bl	__assert_fail
.L26:
	ldrb	r3, [fp, #-29]
	and	r3, r3, #255
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L29
	ldr	r3, .L30+4
	mov	r2, #46
	ldr	r1, .L30+8
	ldr	r0, .L30+20
	bl	__assert_fail
.L29:
	nop
	ldr	r3, .L30
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L28
	bl	__stack_chk_fail
.L28:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L31:
	.align	2
.L30:
	.word	.LC6
	.word	__PRETTY_FUNCTION__.4225
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	test_longlong, .-test_longlong
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	test_int
	bl	test_long
	bl	test_longlong
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.4213, %object
	.size	__PRETTY_FUNCTION__.4213, 9
__PRETTY_FUNCTION__.4213:
	.ascii	"test_int\000"
	.align	2
	.type	__PRETTY_FUNCTION__.4219, %object
	.size	__PRETTY_FUNCTION__.4219, 10
__PRETTY_FUNCTION__.4219:
	.ascii	"test_long\000"
	.align	2
	.type	__PRETTY_FUNCTION__.4225, %object
	.size	__PRETTY_FUNCTION__.4225, 14
__PRETTY_FUNCTION__.4225:
	.ascii	"test_longlong\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
