	.file	"extr_central.c_clock_board_calc_nslots.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	clock_board_calc_nslots, @function
clock_board_calc_nslots:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	mov	rdi, QWORD PTR CLOCK_STAT1[rip]
	add	rdi, QWORD PTR 8[rbx]
	call	upa_readb@PLT
	and	eax, 192
	cmp	eax, 128
	je	.L2
	mov	r8d, 8
	cmp	eax, 192
	je	.L1
	cmp	eax, 64
	mov	r8d, 4
	mov	eax, 16
	cmove	r8d, eax
.L1:
	mov	eax, r8d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdi, QWORD PTR [rbx]
	test	rdi, rdi
	jne	.L4
.L5:
	mov	r8d, 4
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	mov	eax, r8d
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	call	upa_readb@PLT
	test	eax, eax
	je	.L5
	test	al, -128
	jne	.L5
	mov	r8d, 5
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	clock_board_calc_nslots, .-clock_board_calc_nslots
	.comm	CLOCK_STAT1,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_central.c_clock_board_calc_nslots.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	clock_board_calc_nslots, %function
clock_board_calc_nslots:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L13
	push	{r4, lr}
	ldr	r3, [r3]
	mov	r4, r0
	ldr	r0, [r0, #4]
	add	r0, r0, r3
	bl	upa_readb
	and	r3, r0, #192
	cmp	r3, #128
	beq	.L2
	cmp	r3, #192
	beq	.L6
	cmp	r3, #64
	movne	r0, #4
	moveq	r0, #16
	pop	{r4, pc}
.L6:
	mov	r0, #8
	pop	{r4, pc}
.L2:
	ldr	r0, [r4]
	cmp	r0, #0
	bne	.L4
.L5:
	mov	r0, #4
	pop	{r4, pc}
.L4:
	bl	upa_readb
	cmp	r0, #0
	beq	.L5
	tst	r0, #128
	bne	.L5
	mov	r0, #5
	pop	{r4, pc}
.L14:
	.align	2
.L13:
	.word	CLOCK_STAT1
	.size	clock_board_calc_nslots, .-clock_board_calc_nslots
	.comm	CLOCK_STAT1,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
