	.file	"extr_qt1010.c_qt1010_init_meas1.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"compare reg:%02x %02x %02x"
	.text
	.p2align 4
	.type	qt1010_init_meas1, @function
qt1010_init_meas1:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r9, rcx
	mov	ecx, 17
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	xor	ebx, ebx
	sub	rsp, 216
	.cfi_def_cfa_offset 272
	mov	QWORD PTR 8[rsp], r8
	lea	rdi, 56[rsp]
	lea	r13, 32[rsp]
	mov	r14, r13
	lea	r15, 24[rsp]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 200[rsp], rax
	xor	eax, eax
	mov	QWORD PTR 40[rsp], rdx
	mov	QWORD PTR 48[rsp], r9
	rep stosq
	mov	rax, QWORD PTR QT1010_WR[rip]
	mov	QWORD PTR 80[rsp], 30
	mov	QWORD PTR 120[rsp], 30
	mov	QWORD PTR 32[rsp], rax
	mov	QWORD PTR 72[rsp], rax
	mov	QWORD PTR 112[rsp], rax
	mov	rax, QWORD PTR QT1010_RD[rip]
	mov	QWORD PTR 128[rsp], rsi
	mov	QWORD PTR 152[rsp], rax
	mov	QWORD PTR 160[rsp], rdx
	mov	QWORD PTR 168[rsp], 255
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdx, r15
	mov	rdi, rbp
	add	r14, 40
	call	qt1010_readreg@PLT
	test	eax, eax
	jne	.L1
.L13:
	add	rbx, 1
.L2:
	mov	rdi, r13
	call	ARRAY_SIZE@PLT
	cmp	rax, rbx
	jbe	.L12
	movsx	rsi, DWORD PTR 32[r14]
	mov	rax, QWORD PTR QT1010_WR[rip]
	cmp	QWORD PTR 24[r14], rax
	jne	.L3
	mov	edx, DWORD PTR 36[r14]
	mov	rdi, rbp
	add	r14, 40
	call	qt1010_writereg@PLT
	test	eax, eax
	je	.L13
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rcx, QWORD PTR 200[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L14
	add	rsp, 216
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	rbx, QWORD PTR 24[rsp]
	lea	r13, 24[rsp]
	lea	r15, .LC0[rip]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rcx, QWORD PTR 24[rsp]
	mov	rdx, rbx
	mov	rsi, r12
	mov	rdi, r15
	call	dprintk@PLT
	mov	rax, QWORD PTR 24[rsp]
	cmp	rax, rbx
	je	.L15
	mov	rbx, rax
.L7:
	mov	rdx, r13
	mov	rsi, r12
	mov	rdi, rbp
	call	qt1010_readreg@PLT
	test	eax, eax
	je	.L16
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rax, QWORD PTR 8[rsp]
	xor	edx, edx
	mov	esi, 30
	mov	rdi, rbp
	mov	QWORD PTR [rax], rbx
	call	qt1010_writereg@PLT
	jmp	.L1
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	qt1010_init_meas1, .-qt1010_init_meas1
	.comm	QT1010_WR,8,8
	.comm	QT1010_RD,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_qt1010.c_qt1010_init_meas1.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"compare reg:%02x %02x %02x\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	qt1010_init_meas1, %function
qt1010_init_meas1:
	@ args = 4, pretend = 0, frame = 104
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r3
	sub	sp, sp, #104
	ldr	r3, .L17
	mov	r8, r2
	mov	r4, r1
	mov	r2, #84
	mov	r1, #0
	mov	r7, r0
	add	r0, sp, #16
	ldr	r3, [r3]
	str	r3, [sp, #100]
	mov	r3,#0
	ldr	r10, [sp, #136]
	bl	memset
	mov	r2, #30
	mov	r1, #255
	ldr	r3, .L17+4
	ldr	r9, .L17+8
	ldr	r0, [r3]
	ldr	r3, [r9]
	str	r5, [sp, #12]
	mov	r6, #0
	str	r8, [sp, #8]
	str	r4, [sp, #60]
	str	r8, [sp, #80]
	str	r3, [sp, #4]
	str	r3, [sp, #28]
	str	r3, [sp, #52]
	str	r0, [sp, #76]
	str	r2, [sp, #32]
	str	r2, [sp, #56]
	str	r1, [sp, #84]
	add	r5, sp, #4
	b	.L2
.L3:
	mov	r2, sp
	mov	r0, r7
	bl	qt1010_readreg
	mov	r4, r0
	cmp	r4, #0
	add	r5, r5, #24
	bne	.L1
.L13:
	add	r6, r6, #1
.L2:
	add	r0, sp, #4
	bl	ARRAY_SIZE
	cmp	r0, r6
	bls	.L12
	ldr	r2, [r5, #12]
	ldr	r3, [r9]
	ldr	r1, [r5, #16]
	cmp	r2, r3
	bne	.L3
	ldr	r2, [r5, #20]
	mov	r0, r7
	bl	qt1010_writereg
	mov	r4, r0
	cmp	r4, #0
	add	r5, r5, #24
	beq	.L13
.L1:
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [sp, #100]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	mov	r0, r4
	add	sp, sp, #104
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L12:
	ldr	r5, [sp]
	ldr	r6, .L17+12
	b	.L7
.L16:
	ldr	r3, [sp]
	mov	r2, r5
	mov	r1, r8
	mov	r0, r6
	bl	dprintk
	ldr	r3, [sp]
	cmp	r3, r5
	beq	.L15
	mov	r5, r3
.L7:
	mov	r2, sp
	mov	r1, r8
	mov	r0, r7
	bl	qt1010_readreg
	subs	r4, r0, #0
	beq	.L16
	b	.L1
.L15:
	mov	r2, r4
	mov	r0, r7
	mov	r1, #30
	str	r5, [r10]
	bl	qt1010_writereg
	mov	r4, r0
	b	.L1
.L14:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	.LC1
	.word	QT1010_RD
	.word	QT1010_WR
	.word	.LC0
	.size	qt1010_init_meas1, .-qt1010_init_meas1
	.comm	QT1010_WR,4,4
	.comm	QT1010_RD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
