	.file	"extr_ts78xx-setup.c_ts78xx_fpga_supports.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"unrecognised FPGA revision 0x%.2x\n"
	.text
	.p2align 4
	.type	ts78xx_fpga_supports, @function
ts78xx_fpga_supports:
.LFB0:
	.cfi_startproc
	endbr64
	mov	esi, DWORD PTR ts78xx_fpga[rip]
	lea	eax, -128[rsi]
	cmp	eax, 8
	ja	.L2
	movabs	rax, 4294967297
	mov	DWORD PTR ts78xx_fpga[rip+12], 1
	mov	QWORD PTR ts78xx_fpga[rip+4], rax
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	mov	eax, esi
	shr	eax, 8
	cmp	eax, 137
	je	.L10
	mov	QWORD PTR ts78xx_fpga[rip+4], 0
	mov	DWORD PTR ts78xx_fpga[rip+12], 0
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	movzx	esi, sil
	lea	rdi, .LC0[rip]
	call	pr_warn@PLT
	movabs	rax, 4294967297
	mov	DWORD PTR ts78xx_fpga[rip+12], 1
	mov	QWORD PTR ts78xx_fpga[rip+4], rax
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ts78xx_fpga_supports, .-ts78xx_fpga_supports
	.comm	ts78xx_fpga,16,16
	.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_ts78xx-setup.c_ts78xx_fpga_supports.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"unrecognised FPGA revision 0x%.2x\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ts78xx_fpga_supports, %function
ts78xx_fpga_supports:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r4, .L9
	ldr	r1, [r4]
	sub	r3, r1, #128
	cmp	r3, #8
	bls	.L6
	lsr	r3, r1, #8
	cmp	r3, #137
	beq	.L8
	mov	r3, #0
	str	r3, [r4, #12]
	str	r3, [r4, #8]
	str	r3, [r4, #4]
	pop	{r4, pc}
.L8:
	ldr	r0, .L9+4
	and	r1, r1, #255
	bl	pr_warn
.L6:
	mov	r3, #1
	str	r3, [r4, #12]
	str	r3, [r4, #8]
	str	r3, [r4, #4]
	pop	{r4, pc}
.L10:
	.align	2
.L9:
	.word	ts78xx_fpga
	.word	.LC0
	.size	ts78xx_fpga_supports, .-ts78xx_fpga_supports
	.comm	ts78xx_fpga,16,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
