	.file	"extr_alignment.c_safe_usermode.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"alignment: ignoring faults is unsafe on this CPU.  Defaulting to fixup mode.\n"
	.text
	.p2align 4
	.type	safe_usermode, @function
safe_usermode:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	eax, eax
	mov	r12d, edi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	ebx, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	cpu_is_v6_unaligned@PLT
	test	rax, rax
	je	.L2
	mov	eax, DWORD PTR UM_FIXUP[rip]
	mov	edx, DWORD PTR UM_SIGNAL[rip]
	or	edx, eax
	test	edx, r12d
	jne	.L2
	or	r12d, eax
	test	ebx, ebx
	jne	.L11
.L2:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	pr_warn@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	safe_usermode, .-safe_usermode
	.comm	UM_SIGNAL,4,4
	.comm	UM_FIXUP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_alignment.c_safe_usermode.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"alignment: ignoring faults is unsafe on this CPU.  "
	.ascii	"Defaulting to fixup mode.\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	safe_usermode, %function
safe_usermode:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	mov	r5, r1
	bl	cpu_is_v6_unaligned
	cmp	r0, #0
	beq	.L2
	ldr	r2, .L12
	ldr	r3, .L12+4
	ldr	r2, [r2]
	ldr	r3, [r3]
	orr	r3, r2, r3
	tst	r3, r4
	bne	.L2
	cmp	r5, #0
	orr	r4, r4, r2
	bne	.L11
.L2:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L11:
	ldr	r0, .L12+8
	bl	pr_warn
	b	.L2
.L13:
	.align	2
.L12:
	.word	UM_FIXUP
	.word	UM_SIGNAL
	.word	.LC0
	.size	safe_usermode, .-safe_usermode
	.comm	UM_SIGNAL,4,4
	.comm	UM_FIXUP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
