	.file	"extr_farsync.c_check_started_ok.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Bad shared memory version %d expected %d\n"
	.align 8
.LC1:
	.string	"Missing shared memory signature\n"
	.align 8
.LC2:
	.string	"Firmware initialisation failed. Card halted\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC3:
	.string	"Unknown firmware status 0x%x\n"
	.section	.rodata.str1.8
	.align 8
.LC4:
	.string	"Port count mismatch on card %d.  Firmware thinks %d we say %d\n"
	.text
	.p2align 4
	.type	check_started_ok, @function
check_started_ok:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	esi, DWORD PTR smcVersion[rip]
	call	FST_RDW@PLT
	mov	r12, QWORD PTR SMC_VERSION[rip]
	cmp	rax, r12
	je	.L2
	mov	esi, DWORD PTR smcVersion[rip]
	mov	rdi, rbx
	call	FST_RDW@PLT
	mov	rdx, r12
	lea	rdi, .LC0[rip]
	mov	rsi, rax
	xor	eax, eax
	call	pr_err@PLT
	mov	rax, QWORD PTR FST_BADVERSION[rip]
	mov	QWORD PTR 16[rbx], rax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR endOfSmcSignature[rip]
	mov	rdi, rbx
	call	FST_RDL@PLT
	cmp	rax, QWORD PTR END_SIG[rip]
	je	.L4
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	pr_err@PLT
	mov	rax, QWORD PTR FST_BADVERSION[rip]
	mov	QWORD PTR 16[rbx], rax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	esi, DWORD PTR taskStatus[rip]
	mov	rdi, rbx
	call	FST_RDB@PLT
	cmp	eax, 1
	je	.L13
	cmp	eax, 255
	je	.L14
	test	eax, eax
	jne	.L15
.L6:
	mov	esi, DWORD PTR numberOfPorts[rip]
	mov	rdi, rbx
	call	FST_RDL@PLT
	mov	r12, QWORD PTR [rbx]
	cmp	rax, r12
	je	.L1
	mov	esi, DWORD PTR numberOfPorts[rip]
	mov	rdi, rbx
	call	FST_RDL@PLT
	mov	esi, DWORD PTR 8[rbx]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rcx, r12
	pop	rbx
	.cfi_def_cfa_offset 16
	mov	rdx, rax
	lea	rdi, .LC4[rip]
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	pr_warn@PLT
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	rax, QWORD PTR FST_RUNNING[rip]
	mov	QWORD PTR 16[rbx], rax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L15:
	mov	esi, eax
	lea	rdi, .LC3[rip]
	xor	eax, eax
	call	pr_err@PLT
	mov	rax, QWORD PTR FST_HALTED[rip]
	mov	QWORD PTR 16[rbx], rax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	lea	rdi, .LC2[rip]
	xor	eax, eax
	call	pr_err@PLT
	mov	rax, QWORD PTR FST_HALTED[rip]
	mov	QWORD PTR 16[rbx], rax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	check_started_ok, .-check_started_ok
	.comm	taskStatus,4,4
	.comm	smcVersion,4,4
	.comm	numberOfPorts,4,4
	.comm	endOfSmcSignature,4,4
	.comm	SMC_VERSION,8,8
	.comm	FST_RUNNING,8,8
	.comm	FST_HALTED,8,8
	.comm	FST_BADVERSION,8,8
	.comm	END_SIG,8,8
	.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_farsync.c_check_started_ok.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Bad shared memory version %d expected %d\012\000"
	.align	2
.LC1:
	.ascii	"Missing shared memory signature\012\000"
	.align	2
.LC2:
	.ascii	"Firmware initialisation failed. Card halted\012\000"
	.align	2
.LC3:
	.ascii	"Unknown firmware status 0x%x\012\000"
	.align	2
.LC4:
	.ascii	"Port count mismatch on card %d.  Firmware thinks %d"
	.ascii	" we say %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	check_started_ok, %function
check_started_ok:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r6, .L16
	mov	r4, r0
	ldr	r1, [r6]
	bl	FST_RDW
	ldr	r5, .L16+4
	ldr	r3, [r5]
	cmp	r0, r3
	beq	.L2
	ldr	r1, [r6]
	mov	r0, r4
	bl	FST_RDW
	ldr	r2, [r5]
	mov	r1, r0
	ldr	r0, .L16+8
	bl	pr_err
	ldr	r3, .L16+12
	ldr	r3, [r3]
	str	r3, [r4, #8]
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r3, .L16+16
	mov	r0, r4
	ldr	r1, [r3]
	bl	FST_RDL
	ldr	r3, .L16+20
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L4
	ldr	r0, .L16+24
	bl	pr_err
	ldr	r3, .L16+12
	ldr	r3, [r3]
	str	r3, [r4, #8]
	pop	{r4, r5, r6, pc}
.L4:
	ldr	r3, .L16+28
	mov	r0, r4
	ldr	r1, [r3]
	bl	FST_RDB
	cmp	r0, #1
	beq	.L13
	cmp	r0, #255
	beq	.L14
	cmp	r0, #0
	bne	.L15
.L6:
	ldr	r5, .L16+32
	mov	r0, r4
	ldr	r1, [r5]
	bl	FST_RDL
	ldr	r3, [r4]
	cmp	r0, r3
	popeq	{r4, r5, r6, pc}
	ldr	r1, [r5]
	mov	r0, r4
	ldr	r5, [r4, #4]
	bl	FST_RDL
	mov	r1, r5
	mov	r2, r0
	ldr	r3, [r4]
	ldr	r0, .L16+36
	pop	{r4, r5, r6, lr}
	b	pr_warn
.L13:
	ldr	r3, .L16+40
	ldr	r3, [r3]
	str	r3, [r4, #8]
	b	.L6
.L15:
	mov	r1, r0
	ldr	r0, .L16+44
	bl	pr_err
	ldr	r3, .L16+48
	ldr	r3, [r3]
	str	r3, [r4, #8]
	pop	{r4, r5, r6, pc}
.L14:
	ldr	r0, .L16+52
	bl	pr_err
	ldr	r3, .L16+48
	ldr	r3, [r3]
	str	r3, [r4, #8]
	pop	{r4, r5, r6, pc}
.L17:
	.align	2
.L16:
	.word	smcVersion
	.word	SMC_VERSION
	.word	.LC0
	.word	FST_BADVERSION
	.word	endOfSmcSignature
	.word	END_SIG
	.word	.LC1
	.word	taskStatus
	.word	numberOfPorts
	.word	.LC4
	.word	FST_RUNNING
	.word	.LC3
	.word	FST_HALTED
	.word	.LC2
	.size	check_started_ok, .-check_started_ok
	.comm	taskStatus,4,4
	.comm	smcVersion,4,4
	.comm	numberOfPorts,4,4
	.comm	endOfSmcSignature,4,4
	.comm	SMC_VERSION,4,4
	.comm	FST_RUNNING,4,4
	.comm	FST_HALTED,4,4
	.comm	FST_BADVERSION,4,4
	.comm	END_SIG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
