	.file	"extr_csigma.c_cx_probe_800_chained_board.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	cx_probe_800_chained_board, @function
cx_probe_800_chained_board:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, edi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	BDET@PLT
	mov	edi, eax
	call	inb@PLT
	movzx	edx, BYTE PTR BDET_IB[rip]
	movzx	ecx, BYTE PTR BDET_IB_NEG[rip]
	mov	ebp, eax
	mov	eax, edx
	or	eax, ecx
	and	eax, ebp
	cmp	dl, al
	je	.L5
	cmp	cl, al
	jne	.L4
.L5:
	mov	r12d, 100
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L16:
	sub	r12d, 1
	je	.L15
.L2:
	mov	edi, r13d
	mov	ebx, ebp
	call	BDET@PLT
	mov	edi, eax
	call	inb@PLT
	mov	ebp, eax
	movzx	eax, BYTE PTR BDET_IB[rip]
	or	al, BYTE PTR BDET_IB_NEG[rip]
	xor	ebx, ebp
	and	ebx, eax
	cmp	al, bl
	je	.L16
.L4:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	edi, r13d
	call	BCR0@PLT
	xor	esi, esi
	mov	edi, eax
	call	outb@PLT
	mov	edi, r13d
	call	BCR1@PLT
	xor	esi, esi
	mov	edi, eax
	call	outb@PLT
	mov	edi, r13d
	call	BCR2@PLT
	xor	esi, esi
	mov	edi, eax
	call	outb@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	eax, 1
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	cx_probe_800_chained_board, .-cx_probe_800_chained_board
	.comm	BDET_IB_NEG,1,1
	.comm	BDET_IB,1,1
	.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_csigma.c_cx_probe_800_chained_board.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cx_probe_800_chained_board, %function
cx_probe_800_chained_board:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	bl	BDET
	bl	inb
	ldr	r6, .L11
	ldr	r7, .L11+4
	ldrb	r1, [r6]	@ zero_extendqisi2
	ldrb	r2, [r7]	@ zero_extendqisi2
	orr	r3, r1, r2
	and	r3, r3, r0
	cmp	r1, r3
	cmpne	r2, r3
	moveq	r8, r0
	moveq	r4, #100
	beq	.L2
	b	.L4
.L10:
	subs	r4, r4, #1
	beq	.L9
.L2:
	mov	r0, r5
	bl	BDET
	bl	inb
	mov	r2, r8
	ldrb	r3, [r6]	@ zero_extendqisi2
	ldrb	r1, [r7]	@ zero_extendqisi2
	eor	r2, r2, r0
	orr	r3, r3, r1
	bics	r3, r3, r2
	mov	r8, r0
	beq	.L10
.L4:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	mov	r0, r5
	bl	BCR0
	mov	r1, r4
	bl	outb
	mov	r0, r5
	bl	BCR1
	mov	r1, r4
	bl	outb
	mov	r0, r5
	bl	BCR2
	mov	r1, r4
	bl	outb
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	.align	2
.L11:
	.word	BDET_IB
	.word	BDET_IB_NEG
	.size	cx_probe_800_chained_board, .-cx_probe_800_chained_board
	.comm	BDET_IB_NEG,1,1
	.comm	BDET_IB,1,1
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
