	.file	"extr_firewire.c_fw_modevent.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	fw_modevent, @function
fw_modevent:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	r12d, r12d
	cmp	esi, 129
	je	.L1
	cmp	esi, 130
	je	.L3
	cmp	esi, 128
	je	.L13
	mov	r12d, DWORD PTR EOPNOTSUPP[rip]
.L1:
	mov	eax, r12d
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	esi, DWORD PTR fwdev_clone[rip]
	mov	edi, DWORD PTR dev_clone[rip]
	mov	ecx, 1000
	xor	edx, edx
	call	EVENTHANDLER_REGISTER@PLT
	mov	QWORD PTR fwdev_ehtag.1934[rip], rax
	mov	eax, r12d
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	rsi, QWORD PTR fwdev_ehtag.1934[rip]
	test	rsi, rsi
	je	.L1
	mov	edi, DWORD PTR dev_clone[rip]
	call	EVENTHANDLER_DEREGISTER@PLT
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	fw_modevent, .-fw_modevent
	.local	fwdev_ehtag.1934
	.comm	fwdev_ehtag.1934,8,8
	.comm	fwdev_clone,4,4
	.comm	dev_clone,4,4
	.comm	EOPNOTSUPP,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_firewire.c_fw_modevent.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fw_modevent, %function
fw_modevent:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #129
	beq	.L6
	cmp	r1, #130
	push	{r4, lr}
	beq	.L3
	cmp	r1, #128
	beq	.L15
	ldr	r3, .L16
	ldr	r0, [r3]
	pop	{r4, pc}
.L6:
	mov	r0, #0
	bx	lr
.L15:
	ldr	r3, .L16+4
	ldr	r1, [r3]
	cmp	r1, #0
	beq	.L13
	ldr	r3, .L16+8
	ldr	r0, [r3]
	bl	EVENTHANDLER_DEREGISTER
.L13:
	mov	r0, #0
	pop	{r4, pc}
.L3:
	ldr	r2, .L16+12
	ldr	r3, .L16+8
	ldr	r1, [r2]
	ldr	r0, [r3]
	mov	r2, #0
	mov	r3, #1000
	bl	EVENTHANDLER_REGISTER
	mov	r2, r0
	ldr	r3, .L16+4
	mov	r0, #0
	str	r2, [r3]
	pop	{r4, pc}
.L17:
	.align	2
.L16:
	.word	EOPNOTSUPP
	.word	.LANCHOR0
	.word	dev_clone
	.word	fwdev_clone
	.size	fw_modevent, .-fw_modevent
	.comm	fwdev_clone,4,4
	.comm	dev_clone,4,4
	.comm	EOPNOTSUPP,4,4
	.bss
	.align	2
	.set	.LANCHOR0,. + 0
	.type	fwdev_ehtag.4218, %object
	.size	fwdev_ehtag.4218, 4
fwdev_ehtag.4218:
	.space	4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
