	.file	"extr_das1800.c_das1800_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"probed id does not match board id (0x%x != 0x%x)\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"invalid probe id 0x%x\n"
	.text
	.p2align 4
	.type	das1800_probe, @function
das1800_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rbp, QWORD PTR 8[rdi]
	mov	rdi, QWORD PTR DAS1800_DIGITAL[rip]
	add	rdi, QWORD PTR 16[rbx]
	call	inb@PLT
	shr	al, 4
	test	rbp, rbp
	je	.L2
	movzx	ecx, BYTE PTR 0[rbp]
	xor	r8d, r8d
	cmp	cl, al
	jne	.L7
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r8d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	edi, DWORD PTR [rbx]
	movzx	edx, al
	lea	rsi, .LC0[rip]
	xor	eax, eax
	call	dev_err@PLT
	mov	r8d, DWORD PTR ENODEV[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	neg	r8d
	mov	eax, r8d
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edi, DWORD PTR [rbx]
	movzx	edx, al
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	dev_err@PLT
	mov	r8d, DWORD PTR ENODEV[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	neg	r8d
	mov	eax, r8d
	ret
	.cfi_endproc
.LFE0:
	.size	das1800_probe, .-das1800_probe
	.comm	das1800_boards,8,8
	.comm	ENODEV,4,4
	.comm	DAS1800_DIGITAL,8,8
	.comm	BOARD_DAS1802HR_DA,8,8
	.comm	BOARD_DAS1802HR,8,8
	.comm	BOARD_DAS1801ST_DA,8,8
	.comm	BOARD_DAS1801ST,8,8
	.comm	BOARD_DAS1801HC,8,8
	.comm	BOARD_DAS1801AO,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_das1800.c_das1800_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"probed id does not match board id (0x%x != 0x%x)\012"
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"invalid probe id 0x%x\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	das1800_probe, %function
das1800_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r3, .L8
	ldr	r0, [r0, #12]
	ldr	r3, [r3]
	ldr	r5, [r4, #8]
	add	r0, r0, r3
	bl	inb
	cmp	r5, #0
	asr	r2, r0, #4
	and	r2, r2, #15
	beq	.L2
	ldrb	r3, [r5]	@ zero_extendqisi2
	cmp	r3, r2
	bne	.L7
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L7:
	ldr	r0, [r4]
	ldr	r1, .L8+4
	bl	dev_err
	ldr	r3, .L8+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r0, [r4]
	ldr	r1, .L8+12
	bl	dev_err
	ldr	r3, .L8+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L9:
	.align	2
.L8:
	.word	DAS1800_DIGITAL
	.word	.LC0
	.word	ENODEV
	.word	.LC1
	.size	das1800_probe, .-das1800_probe
	.comm	das1800_boards,4,4
	.comm	ENODEV,4,4
	.comm	DAS1800_DIGITAL,4,4
	.comm	BOARD_DAS1802HR_DA,4,4
	.comm	BOARD_DAS1802HR,4,4
	.comm	BOARD_DAS1801ST_DA,4,4
	.comm	BOARD_DAS1801ST,4,4
	.comm	BOARD_DAS1801HC,4,4
	.comm	BOARD_DAS1801AO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
