	.file	"12638640.c"
	.intel_syntax noprefix
	.text
	.globl	init_task_union
	.data
	.align 32
	.type	init_task_union, @object
	.size	init_task_union, 16384
init_task_union:
	.string	"swapper"
	.zero	8
	.zero	16368
	.globl	fixed_tl
	.align 8
	.type	fixed_tl, @object
	.size	fixed_tl, 8
fixed_tl:
	.byte	96
	.byte	7
	.zero	2
	.long	256
	.globl	bkv4
	.align 8
	.type	bkv4, @object
	.size	bkv4, 8
bkv4:
	.quad	61172160
	.globl	cav1
	.align 4
	.type	cav1, @object
	.size	cav1, 4
cav1:
	.byte	100
	.byte	1
	.ascii	"\002"
	.zero	1
	.globl	V
	.align 4
	.type	V, @object
	.size	V, 4
V:
	.byte	1
	.byte	2
	.zero	2
	.globl	nd
	.align 32
	.type	nd, @object
	.size	nd, 64
nd:
	.string	"relname"
	.zero	56
	.globl	hobbit
	.align 4
	.type	hobbit, @object
	.size	hobbit, 16
hobbit:
	.long	5
	.long	1
	.long	2
	.long	3
	.text
	.globl	foo
	.type	foo, @function
foo:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rax, hobbit2[rip]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	foo, .-foo
	.globl	hobbit2
	.data
	.align 4
	.type	hobbit2, @object
	.size	hobbit2, 16
hobbit2:
	.long	5
	.long	1
	.long	2
	.long	3
	.globl	data
	.align 4
	.type	data, @object
	.size	data, 16
data:
	.long	0
	.long	1
	.long	2
	.long	3
	.globl	s
	.align 8
	.type	s, @object
	.size	s, 27
s:
	.quad	0
	.string	"   xyzkasjdlf     "
	.globl	ai
	.align 8
	.type	ai, @object
	.size	ai, 8
ai:
	.byte	3
	.string	"foo"
	.zero	1
	.zero	2
	.section	.rodata
.LC0:
	.string	"returning raw_lock"
	.text
	.globl	one_raw_spinlock
	.type	one_raw_spinlock, @function
one_raw_spinlock:
.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, 16
	lea	rdi, .LC0[rip]
	call	puts@PLT
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	one_raw_spinlock, .-one_raw_spinlock
	.globl	ucast_test
	.type	ucast_test, @function
ucast_test:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -36[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	mov	DWORD PTR -36[rbp], 1
	mov	DWORD PTR -32[rbp], 2
	mov	rax, QWORD PTR -36[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -16[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -12[rbp], rax
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -12[rbp]
	mov	ecx, DWORD PTR -4[rbp]
	mov	rdx, rcx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	ucast_test, .-ucast_test
	.globl	foo2
	.data
	.align 16
	.type	foo2, @object
	.size	foo2, 16
foo2:
	.value	23122
	.zero	2
	.quad	-12312731
	.value	-312
	.zero	2
	.section	.rodata
.LC1:
	.string	"PR156: %s\n"
.LC2:
	.string	"PR295/PR568: %d, %d\n"
.LC3:
	.string	"PR574: %d, %d, %d, %d\n"
.LC4:
	.string	"PR162: %d, %d, %d\n"
.LC5:
	.string	"PR650: %s, %d\n"
.LC6:
	.string	"PR199: %d, %d, %d, %d\n"
.LC7:
	.string	"PR431: %d, %d, %d, %d\n"
.LC8:
	.string	"PR654: %ld, '%s'\n"
.LC9:
	.string	"PR323: %d, '%s'\n"
.LC10:
	.string	"PR627: %d\n"
.LC11:
	.string	"PR684: %d, %d, %d %d\n"
.LC12:
	.string	"rdar://6828787: %d, %d, %d\n"
	.text
	.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
	sub	rsp, 16
	lea	rsi, init_task_union[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR fixed_tl[rip+4]
	mov	eax, DWORD PTR fixed_tl[rip]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, BYTE PTR cav1[rip+2]
	movzx	esi, al
	movzx	eax, WORD PTR cav1[rip]
	sal	eax, 6
	sar	ax, 10
	movsx	edx, al
	movzx	eax, BYTE PTR cav1[rip]
	sal	eax, 4
	sar	al, 4
	movsx	eax, al
	mov	rcx, QWORD PTR bkv4[rip]
	mov	edi, ecx
	mov	r8d, esi
	mov	ecx, edx
	mov	edx, eax
	mov	esi, edi
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	ecx, DWORD PTR V[rip]
	movzx	eax, BYTE PTR V[rip+1]
	movsx	edx, al
	movzx	eax, BYTE PTR V[rip]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR nd[rip]
	mov	edx, eax
	lea	rsi, nd[rip]
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	esi, DWORD PTR hobbit[rip+12]
	mov	ecx, DWORD PTR hobbit[rip+8]
	mov	edx, DWORD PTR hobbit[rip+4]
	mov	eax, DWORD PTR hobbit[rip]
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	esi, DWORD PTR hobbit2[rip+12]
	mov	ecx, DWORD PTR hobbit2[rip+8]
	mov	edx, DWORD PTR hobbit2[rip+4]
	mov	eax, DWORD PTR hobbit2[rip]
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	esi, DWORD PTR data[rip+12]
	mov	ecx, DWORD PTR data[rip+8]
	mov	edx, DWORD PTR data[rip+4]
	mov	eax, DWORD PTR data[rip]
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR s[rip]
	lea	rdx, s[rip+8]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, BYTE PTR ai[rip]
	and	eax, 3
	movzx	eax, al
	lea	rdx, ai[rip+1]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	call	one_raw_spinlock
	mov	esi, 0
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	call	ucast_test
	mov	QWORD PTR -12[rbp], rax
	mov	eax, DWORD PTR -4[rbp]
	and	eax, 0
	or	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	esi, DWORD PTR -12[rbp]
	mov	ecx, DWORD PTR -4[rbp]
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -12[rbp]
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, WORD PTR foo2[rip+12]
	movsx	edx, ax
	mov	rax, QWORD PTR foo2[rip+4]
	mov	esi, eax
	movzx	eax, WORD PTR foo2[rip]
	cwde
	mov	ecx, edx
	mov	edx, esi
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.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	"12638640.c"
	.text
	.global	init_task_union
	.data
	.align	2
	.type	init_task_union, %object
	.size	init_task_union, 8192
init_task_union:
	.ascii	"swapper\000"
	.space	8
	.space	8176
	.global	fixed_tl
	.align	2
	.type	fixed_tl, %object
	.size	fixed_tl, 8
fixed_tl:
	.byte	96
	.byte	7
	.space	2
	.word	256
	.global	bkv4
	.align	3
	.type	bkv4, %object
	.size	bkv4, 8
bkv4:
	.word	61172160
	.space	4
	.global	cav1
	.align	2
	.type	cav1, %object
	.size	cav1, 4
cav1:
	.byte	100
	.byte	1
	.ascii	"\002"
	.space	1
	.global	V
	.align	2
	.type	V, %object
	.size	V, 4
V:
	.byte	1
	.byte	2
	.space	2
	.global	nd
	.align	2
	.type	nd, %object
	.size	nd, 64
nd:
	.ascii	"relname\000"
	.space	56
	.global	hobbit
	.align	2
	.type	hobbit, %object
	.size	hobbit, 16
hobbit:
	.word	5
	.word	1
	.word	2
	.word	3
	.text
	.align	2
	.global	foo
	.syntax unified
	.arm
	.fpu softvfp
	.type	foo, %function
foo:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L3
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L4:
	.align	2
.L3:
	.word	hobbit2
	.size	foo, .-foo
	.global	hobbit2
	.data
	.align	2
	.type	hobbit2, %object
	.size	hobbit2, 16
hobbit2:
	.word	5
	.word	1
	.word	2
	.word	3
	.global	data
	.align	2
	.type	data, %object
	.size	data, 16
data:
	.word	0
	.word	1
	.word	2
	.word	3
	.global	s
	.align	2
	.type	s, %object
	.size	s, 23
s:
	.word	0
	.ascii	"   xyzkasjdlf     \000"
	.global	ai
	.align	2
	.type	ai, %object
	.size	ai, 8
ai:
	.byte	3
	.ascii	"foo\000"
	.space	1
	.space	2
	.section	.rodata
	.align	2
.LC0:
	.ascii	"returning raw_lock\000"
	.text
	.align	2
	.global	one_raw_spinlock
	.syntax unified
	.arm
	.fpu softvfp
	.type	one_raw_spinlock, %function
one_raw_spinlock:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r0, .L7
	bl	puts
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC0
	.size	one_raw_spinlock, .-one_raw_spinlock
	.align	2
	.global	ucast_test
	.syntax unified
	.arm
	.fpu softvfp
	.type	ucast_test, %function
ucast_test:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #36
	str	r0, [fp, #-32]
	sub	r3, fp, #28
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	mov	r3, #1
	str	r3, [fp, #-28]
	mov	r3, #2
	str	r3, [fp, #-24]
	sub	r3, fp, #16
	sub	r2, fp, #28
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	ldr	r3, [fp, #-32]
	mov	ip, r3
	sub	r3, fp, #16
	ldm	r3, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	ldr	r0, [fp, #-32]
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	ucast_test, .-ucast_test
	.global	foo2
	.data
	.align	2
	.type	foo2, %object
	.size	foo2, 12
foo2:
	.short	23122
	.space	2
	.word	-12312731
	.short	-312
	.space	2
	.section	.rodata
	.align	2
.LC1:
	.ascii	"PR156: %s\012\000"
	.align	2
.LC2:
	.ascii	"PR295/PR568: %d, %d\012\000"
	.align	2
.LC3:
	.ascii	"PR574: %d, %d, %d, %d\012\000"
	.align	2
.LC4:
	.ascii	"PR162: %d, %d, %d\012\000"
	.align	2
.LC5:
	.ascii	"PR650: %s, %d\012\000"
	.align	2
.LC6:
	.ascii	"PR199: %d, %d, %d, %d\012\000"
	.align	2
.LC7:
	.ascii	"PR431: %d, %d, %d, %d\012\000"
	.align	2
.LC8:
	.ascii	"PR654: %ld, '%s'\012\000"
	.align	2
.LC9:
	.ascii	"PR323: %d, '%s'\012\000"
	.align	2
.LC10:
	.ascii	"PR627: %d\012\000"
	.align	2
.LC11:
	.ascii	"PR684: %d, %d, %d %d\012\000"
	.align	2
.LC12:
	.ascii	"rdar://6828787: %d, %d, %d\012\000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L14+4
	ldr	r0, .L14+8
	bl	printf
	ldr	r3, .L14+12
	ldr	r3, [r3]
	ldr	r2, .L14+12
	ldr	r2, [r2, #4]
	mov	r1, r3
	ldr	r0, .L14+16
	bl	printf
	ldr	r3, .L14+20
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r3, .L14+24
	ldrb	r3, [r3]
	lsl	r3, r3, #4
	lsl	r3, r3, #24
	asr	r3, r3, #24
	asr	r3, r3, #4
	lsl	r3, r3, #24
	asr	r3, r3, #24
	mov	r2, r3
	ldr	r3, .L14+24
	ldrh	r3, [r3]	@ movhi
	lsl	r3, r3, #6
	lsl	r3, r3, #16
	asr	r3, r3, #16
	asr	r3, r3, #10
	lsl	r3, r3, #24
	asr	r3, r3, #24
	mov	r0, r3
	ldr	r3, .L14+24
	ldrb	r3, [r3, #2]	@ zero_extendqisi2
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L14+28
	bl	printf
	ldr	r3, .L14+32
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, .L14+32
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L14+32
	ldr	r3, [r3]
	ldr	r0, .L14+36
	bl	printf
	ldr	r3, .L14+40
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L14+40
	ldr	r0, .L14+44
	bl	printf
	ldr	r3, .L14+48
	ldr	r1, [r3]
	ldr	r3, .L14+48
	ldr	r2, [r3, #4]
	ldr	r3, .L14+48
	ldr	r0, [r3, #8]
	ldr	r3, .L14+48
	ldr	r3, [r3, #12]
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L14+52
	bl	printf
	ldr	r3, .L14+56
	ldr	r1, [r3]
	ldr	r3, .L14+56
	ldr	r2, [r3, #4]
	ldr	r3, .L14+56
	ldr	r0, [r3, #8]
	ldr	r3, .L14+56
	ldr	r3, [r3, #12]
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L14+52
	bl	printf
	ldr	r3, .L14+60
	ldr	r1, [r3]
	ldr	r3, .L14+60
	ldr	r2, [r3, #4]
	ldr	r3, .L14+60
	ldr	r0, [r3, #8]
	ldr	r3, .L14+60
	ldr	r3, [r3, #12]
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L14+64
	bl	printf
	ldr	r3, .L14+68
	ldr	r3, [r3]
	ldr	r2, .L14+72
	mov	r1, r3
	ldr	r0, .L14+76
	bl	printf
	ldr	r3, .L14+80
	ldrb	r3, [r3]
	and	r3, r3, #3
	and	r3, r3, #255
	ldr	r2, .L14+84
	mov	r1, r3
	ldr	r0, .L14+88
	bl	printf
	bl	one_raw_spinlock
	mov	r1, #0
	ldr	r0, .L14+92
	bl	printf
	sub	r3, fp, #20
	mov	r0, r3
	bl	ucast_test
	ldr	r1, [fp, #-20]
	ldr	r2, [fp, #-16]
	ldr	r0, [fp, #-12]
	ldr	r3, [fp, #-20]
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L14+96
	bl	printf
	ldr	r3, .L14+100
	ldrsh	r3, [r3]
	mov	r1, r3
	ldr	r3, .L14+100
	ldr	r2, [r3, #4]
	ldr	r3, .L14+100
	ldrsh	r3, [r3, #8]
	ldr	r0, .L14+104
	bl	printf
	mov	r3, #0
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC13
	.word	init_task_union
	.word	.LC1
	.word	fixed_tl
	.word	.LC2
	.word	bkv4
	.word	cav1
	.word	.LC3
	.word	V
	.word	.LC4
	.word	nd
	.word	.LC5
	.word	hobbit
	.word	.LC6
	.word	hobbit2
	.word	data
	.word	.LC7
	.word	s
	.word	s+4
	.word	.LC8
	.word	ai
	.word	ai+1
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	foo2
	.word	.LC12
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
