	.file	"extr_bttv-cards.c_identify_by_eeprom.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"GET MM20xPCTV"
.LC1:
	.string	"Picolo"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"%d: detected by eeprom: %s [card=%d]\n"
	.text
	.p2align 4
	.type	identify_by_eeprom, @function
identify_by_eeprom:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	edx, 13
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	lea	rsi, .LC0[rip]
	mov	rdi, rbx
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	strncmp@PLT
	test	rax, rax
	jne	.L2
	movsx	rcx, DWORD PTR BTTV_BOARD_MODTEC_205[rip]
.L3:
	cmp	ecx, -1
	jne	.L13
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	rax, QWORD PTR bttv_tvcards[rip]
	mov	esi, DWORD PTR 4[rbp]
	mov	DWORD PTR 0[rbp], ecx
	lea	rdi, .LC2[rip]
	mov	edx, DWORD PTR [rax+rcx*4]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	pr_info@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	lea	rdi, 20[rbx]
	mov	edx, 7
	lea	rsi, .LC1[rip]
	call	strncmp@PLT
	test	rax, rax
	je	.L14
	cmp	BYTE PTR [rbx], -124
	jne	.L1
	cmp	BYTE PTR 2[rbx], 0
	jne	.L1
	movsx	rcx, DWORD PTR BTTV_BOARD_HAUPPAUGE[rip]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L14:
	movsx	rcx, DWORD PTR BTTV_BOARD_EURESYS_PICOLO[rip]
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	identify_by_eeprom, .-identify_by_eeprom
	.comm	bttv_tvcards,8,8
	.comm	BTTV_BOARD_MODTEC_205,4,4
	.comm	BTTV_BOARD_HAUPPAUGE,4,4
	.comm	BTTV_BOARD_EURESYS_PICOLO,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_bttv-cards.c_identify_by_eeprom.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"GET MM20xPCTV\000"
	.align	2
.LC1:
	.ascii	"Picolo\000"
	.align	2
.LC2:
	.ascii	"%d: detected by eeprom: %s [card=%d]\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	identify_by_eeprom, %function
identify_by_eeprom:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r2, #13
	mov	r4, r1
	mov	r5, r0
	mov	r0, r1
	ldr	r1, .L12
	bl	strncmp
	cmp	r0, #0
	bne	.L2
	ldr	r3, .L12+4
	ldr	r3, [r3]
.L3:
	cmn	r3, #1
	popeq	{r4, r5, r6, pc}
.L11:
	ldr	r2, .L12+8
	ldr	r1, [r5, #4]
	ldr	r2, [r2]
	str	r3, [r5]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r0, .L12+12
	pop	{r4, r5, r6, lr}
	b	pr_info
.L2:
	ldr	r1, .L12+16
	add	r0, r4, #20
	bl	strcmp
	cmp	r0, #0
	bne	.L4
	ldr	r3, .L12+20
	ldr	r3, [r3]
	cmn	r3, #1
	popeq	{r4, r5, r6, pc}
	b	.L11
.L4:
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #132
	popne	{r4, r5, r6, pc}
	ldrb	r3, [r4, #2]	@ zero_extendqisi2
	cmp	r3, #0
	popne	{r4, r5, r6, pc}
	ldr	r3, .L12+24
	ldr	r3, [r3]
	b	.L3
.L13:
	.align	2
.L12:
	.word	.LC0
	.word	BTTV_BOARD_MODTEC_205
	.word	bttv_tvcards
	.word	.LC2
	.word	.LC1
	.word	BTTV_BOARD_EURESYS_PICOLO
	.word	BTTV_BOARD_HAUPPAUGE
	.size	identify_by_eeprom, .-identify_by_eeprom
	.comm	bttv_tvcards,4,4
	.comm	BTTV_BOARD_MODTEC_205,4,4
	.comm	BTTV_BOARD_HAUPPAUGE,4,4
	.comm	BTTV_BOARD_EURESYS_PICOLO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
