	.file	"extr_elf.c_elf_check_arch.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	elf_check_arch
	.type	elf_check_arch, @function
elf_check_arch:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rsi, QWORD PTR EM_ARM[rip]
	xor	eax, eax
	cmp	QWORD PTR [rdi], rsi
	jne	.L1
	mov	edx, DWORD PTR 8[rdi]
	mov	eax, edx
	and	eax, 1
	je	.L3
	mov	eax, DWORD PTR elf_hwcap[rip]
	and	eax, DWORD PTR HWCAP_THUMB[rip]
	je	.L19
.L4:
	mov	edx, DWORD PTR 12[rdi]
	mov	ecx, DWORD PTR EF_ARM_EABI_MASK[rip]
	mov	eax, 1
	and	ecx, edx
	cmp	ecx, DWORD PTR EF_ARM_EABI_UNKNOWN[rip]
	je	.L20
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	and	edx, 3
	je	.L4
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L20:
	test	DWORD PTR EF_ARM_APCS_26[rip], edx
	je	.L5
	mov	eax, DWORD PTR elf_hwcap[rip]
	and	eax, DWORD PTR HWCAP_26BIT[rip]
	je	.L1
.L5:
	mov	ecx, DWORD PTR EF_ARM_VFP_FLOAT[rip]
	mov	eax, DWORD PTR EF_ARM_SOFT_FLOAT[rip]
	or	eax, ecx
	and	edx, eax
	mov	eax, 1
	cmp	ecx, edx
	jne	.L1
	mov	eax, DWORD PTR elf_hwcap[rip]
	test	DWORD PTR HWCAP_VFP[rip], eax
	setne	al
	movzx	eax, al
	ret
	.p2align 4,,10
	.p2align 3
.L19:
	ret
	.cfi_endproc
.LFE0:
	.size	elf_check_arch, .-elf_check_arch
	.comm	elf_hwcap,4,4
	.comm	HWCAP_VFP,4,4
	.comm	HWCAP_THUMB,4,4
	.comm	HWCAP_26BIT,4,4
	.comm	EM_ARM,8,8
	.comm	EF_ARM_VFP_FLOAT,4,4
	.comm	EF_ARM_SOFT_FLOAT,4,4
	.comm	EF_ARM_EABI_UNKNOWN,4,4
	.comm	EF_ARM_EABI_MASK,4,4
	.comm	EF_ARM_APCS_26,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_elf.c_elf_check_arch.c"
	.text
	.align	2
	.global	elf_check_arch
	.syntax unified
	.arm
	.fpu softvfp
	.type	elf_check_arch, %function
elf_check_arch:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r2, .L21
	ldr	r1, [r0]
	ldr	r2, [r2]
	mov	r3, r0
	cmp	r1, r2
	bne	.L6
	ldr	r2, [r0, #4]
	ands	r0, r2, #1
	beq	.L3
	ldr	r1, .L21+4
	ldr	r2, .L21+8
	ldr	r0, [r1]
	ldr	r2, [r2]
	ands	r0, r0, r2
	bxeq	lr
.L4:
	ldr	r0, .L21+12
	ldr	r1, .L21+16
	ldr	r2, [r3, #8]
	ldr	r3, [r0]
	ldr	r1, [r1]
	and	r3, r3, r2
	cmp	r3, r1
	beq	.L20
.L8:
	mov	r0, #1
	bx	lr
.L6:
	mov	r0, #0
	bx	lr
.L3:
	tst	r2, #3
	beq	.L4
	bx	lr
.L20:
	ldr	r3, .L21+20
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L5
	ldr	r1, .L21+4
	ldr	r3, .L21+24
	ldr	r0, [r1]
	ldr	r3, [r3]
	ands	r0, r0, r3
	bxeq	lr
.L5:
	ldr	r1, .L21+28
	ldr	r3, .L21+32
	ldr	r1, [r1]
	ldr	r3, [r3]
	orr	r3, r1, r3
	and	r2, r2, r3
	cmp	r1, r2
	bne	.L8
	ldr	r2, .L21+4
	ldr	r3, .L21+36
	ldr	r2, [r2]
	ldr	r3, [r3]
	tst	r2, r3
	movne	r0, #1
	moveq	r0, #0
	bx	lr
.L22:
	.align	2
.L21:
	.word	EM_ARM
	.word	elf_hwcap
	.word	HWCAP_THUMB
	.word	EF_ARM_EABI_MASK
	.word	EF_ARM_EABI_UNKNOWN
	.word	EF_ARM_APCS_26
	.word	HWCAP_26BIT
	.word	EF_ARM_VFP_FLOAT
	.word	EF_ARM_SOFT_FLOAT
	.word	HWCAP_VFP
	.size	elf_check_arch, .-elf_check_arch
	.comm	elf_hwcap,4,4
	.comm	HWCAP_VFP,4,4
	.comm	HWCAP_THUMB,4,4
	.comm	HWCAP_26BIT,4,4
	.comm	EM_ARM,4,4
	.comm	EF_ARM_VFP_FLOAT,4,4
	.comm	EF_ARM_SOFT_FLOAT,4,4
	.comm	EF_ARM_EABI_UNKNOWN,4,4
	.comm	EF_ARM_EABI_MASK,4,4
	.comm	EF_ARM_APCS_26,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
