	.file	"extr_hexium_orion.c_hexium_attach.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	".\n"
.LC1:
	.string	"hexium orion"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"hexium_orion: cannot register capture v4l2 device. skipping.\n"
	.align 8
.LC3:
	.string	"hexium_orion: found 'hexium orion' frame grabber-%d.\n"
	.text
	.p2align 4
	.type	hexium_attach, @function
hexium_attach:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rbx, QWORD PTR [rdi]
	lea	rdi, .LC0[rip]
	call	DEB_EE@PLT
	lea	rsi, vv_data[rip]
	mov	rdi, rbp
	call	saa7146_vv_init@PLT
	mov	eax, DWORD PTR vidioc_enum_input[rip]
	lea	rdi, 8[rbx]
	mov	ecx, DWORD PTR VFL_TYPE_GRABBER[rip]
	lea	rdx, .LC1[rip]
	mov	rsi, rbp
	mov	DWORD PTR vv_data[rip+8], eax
	mov	eax, DWORD PTR vidioc_g_input[rip]
	mov	DWORD PTR vv_data[rip+4], eax
	mov	eax, DWORD PTR vidioc_s_input[rip]
	mov	DWORD PTR vv_data[rip], eax
	call	saa7146_register_device@PLT
	test	rax, rax
	jne	.L6
	mov	esi, DWORD PTR hexium_num[rip]
	lea	rdi, .LC3[rip]
	xor	eax, eax
	call	printk@PLT
	add	DWORD PTR hexium_num[rip], 1
	mov	rdi, rbp
	mov	QWORD PTR [rbx], 0
	call	hexium_init_done@PLT
	xor	eax, eax
.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
.L6:
	.cfi_restore_state
	lea	rdi, .LC2[rip]
	xor	eax, eax
	call	printk@PLT
	mov	eax, -1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	hexium_attach, .-hexium_attach
	.comm	vv_data,12,8
	.comm	vidioc_s_input,4,4
	.comm	vidioc_g_input,4,4
	.comm	vidioc_enum_input,4,4
	.comm	hexium_num,4,4
	.comm	VFL_TYPE_GRABBER,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_hexium_orion.c_hexium_attach.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	".\012\000"
	.align	2
.LC1:
	.ascii	"hexium orion\000"
	.align	2
.LC2:
	.ascii	"hexium_orion: cannot register capture v4l2 device. "
	.ascii	"skipping.\012\000"
	.align	2
.LC3:
	.ascii	"hexium_orion: found 'hexium orion' frame grabber-%d"
	.ascii	".\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hexium_attach, %function
hexium_attach:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r5, .L7
	ldr	r0, .L7+4
	ldr	r7, [r4]
	bl	DEB_EE
	mov	r1, r5
	mov	r0, r4
	bl	saa7146_vv_init
	ldr	r0, .L7+8
	ldr	r1, .L7+12
	ldr	r2, .L7+16
	ldr	r0, [r0]
	ldr	r1, [r1]
	ldr	r2, [r2]
	ldr	r3, .L7+20
	str	r0, [r5, #8]
	str	r1, [r5, #4]
	str	r2, [r5]
	mov	r1, r4
	ldr	r3, [r3]
	ldr	r2, .L7+24
	add	r0, r7, #4
	bl	saa7146_register_device
	subs	r5, r0, #0
	bne	.L6
	ldr	r6, .L7+28
	ldr	r0, .L7+32
	ldr	r1, [r6]
	bl	printk
	ldr	r3, [r6]
	mov	r0, r4
	add	r3, r3, #1
	str	r3, [r6]
	str	r5, [r7]
	bl	hexium_init_done
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	ldr	r0, .L7+36
	bl	printk
	mvn	r5, #0
	b	.L1
.L8:
	.align	2
.L7:
	.word	vv_data
	.word	.LC0
	.word	vidioc_enum_input
	.word	vidioc_g_input
	.word	vidioc_s_input
	.word	VFL_TYPE_GRABBER
	.word	.LC1
	.word	hexium_num
	.word	.LC3
	.word	.LC2
	.size	hexium_attach, .-hexium_attach
	.comm	vv_data,12,4
	.comm	vidioc_s_input,4,4
	.comm	vidioc_g_input,4,4
	.comm	vidioc_enum_input,4,4
	.comm	hexium_num,4,4
	.comm	VFL_TYPE_GRABBER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
