	.file	"extr_hid-mf.c_mf_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Mayflash HID hardware probe...\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"HID parse failed.\n"
.LC2:
	.string	"HID hw start failed\n"
.LC3:
	.string	"Force feedback init failed.\n"
	.text
	.p2align 4
	.type	mf_probe, @function
mf_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	lea	rsi, .LC0[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	add	rdi, 4
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	dev_dbg@PLT
	mov	eax, DWORD PTR [r12]
	or	DWORD PTR 0[rbp], eax
	mov	rdi, rbp
	call	hid_parse@PLT
	test	eax, eax
	jne	.L10
	mov	esi, DWORD PTR HID_CONNECT_FF[rip]
	mov	rdi, rbp
	not	esi
	and	esi, DWORD PTR HID_CONNECT_DEFAULT[rip]
	call	hid_hw_start@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L11
	mov	rdi, rbp
	call	mf_init@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L12
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rdi, rbp
	lea	rsi, .LC2[rip]
	call	hid_err@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rdi, rbp
	lea	rsi, .LC1[rip]
	mov	r12d, eax
	call	hid_err@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	rdi, rbp
	lea	rsi, .LC3[rip]
	call	hid_err@PLT
	mov	rdi, rbp
	call	hid_hw_stop@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	mf_probe, .-mf_probe
	.comm	HID_CONNECT_FF,4,4
	.comm	HID_CONNECT_DEFAULT,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_hid-mf.c_mf_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Mayflash HID hardware probe...\012\000"
	.align	2
.LC1:
	.ascii	"HID parse failed.\012\000"
	.align	2
.LC2:
	.ascii	"HID hw start failed\012\000"
	.align	2
.LC3:
	.ascii	"Force feedback init failed.\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mf_probe, %function
mf_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	mov	r4, r1
	add	r0, r0, #4
	ldr	r1, .L13
	bl	dev_dbg
	ldr	r2, [r4]
	ldr	r3, [r5]
	mov	r0, r5
	orr	r3, r3, r2
	str	r3, [r5]
	bl	hid_parse
	subs	r4, r0, #0
	bne	.L10
	ldr	r2, .L13+4
	ldr	r3, .L13+8
	ldr	r1, [r2]
	ldr	r3, [r3]
	mov	r0, r5
	bic	r1, r3, r1
	bl	hid_hw_start
	subs	r4, r0, #0
	mov	r0, r5
	bne	.L11
	bl	mf_init
	subs	r4, r0, #0
	bne	.L12
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L11:
	ldr	r1, .L13+12
	bl	hid_err
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L10:
	mov	r0, r5
	ldr	r1, .L13+16
	bl	hid_err
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L12:
	mov	r0, r5
	ldr	r1, .L13+20
	bl	hid_err
	mov	r0, r5
	bl	hid_hw_stop
	b	.L1
.L14:
	.align	2
.L13:
	.word	.LC0
	.word	HID_CONNECT_FF
	.word	HID_CONNECT_DEFAULT
	.word	.LC2
	.word	.LC1
	.word	.LC3
	.size	mf_probe, .-mf_probe
	.comm	HID_CONNECT_FF,4,4
	.comm	HID_CONNECT_DEFAULT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
