	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qt1010_init_meas1
_qt1010_init_meas1:                     ## @qt1010_init_meas1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$184, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -224(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rbx
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_QT1010_WR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -208(%rbp)
	movq	%rdx, -200(%rbp)
	movq	%rcx, -192(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -184(%rbp)
	movq	%rax, -168(%rbp)
	movq	$30, -160(%rbp)
	movups	%xmm0, -152(%rbp)
	movq	$0, -136(%rbp)
	movq	%rax, -128(%rbp)
	movq	$30, -120(%rbp)
	movq	%rsi, -112(%rbp)
	movups	%xmm0, -104(%rbp)
	movq	_QT1010_RD@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -88(%rbp)
	movq	%rdx, -80(%rbp)
	movq	$255, -72(%rbp)
	movaps	%xmm0, -64(%rbp)
	leaq	-208(%rbp), %rdi
	callq	_ARRAY_SIZE
	testq	%rax, %rax
	je	LBB0_1
## %bb.8:
	leaq	-172(%rbp), %r13
	xorl	%r14d, %r14d
	leaq	-208(%rbp), %r12
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	-12(%r13), %rax
	movslq	-4(%r13), %rsi
	movq	_QT1010_WR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	(%r13), %edx
	movq	%r15, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_qt1010_writereg
	testl	%eax, %eax
	je	LBB0_6
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, %rdi
	leaq	-216(%rbp), %rdx
	callq	_qt1010_readreg
	testl	%eax, %eax
	jne	LBB0_13
LBB0_6:                                 ##   in Loop: Header=BB0_9 Depth=1
	incq	%r14
	movq	%r12, %rdi
	callq	_ARRAY_SIZE
	addq	$40, %r13
	cmpq	%rax, %r14
	jb	LBB0_9
## %bb.7:
	movq	-216(%rbp), %rax
	jmp	LBB0_2
LBB0_1:
                                        ## implicit-def: $rax
LBB0_2:
	leaq	-216(%rbp), %r12
	leaq	L_.str(%rip), %r13
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %r14
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_qt1010_readreg
	testl	%eax, %eax
	jne	LBB0_13
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-216(%rbp), %rcx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_dprintk
	movq	-216(%rbp), %rax
	cmpq	%rax, %r14
	jne	LBB0_3
## %bb.5:
	movq	-224(%rbp), %rax                ## 8-byte Reload
	movq	%r14, (%rax)
	movq	%r15, %rdi
	movl	$30, %esi
	xorl	%edx, %edx
	callq	_qt1010_writereg
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_15
## %bb.14:
	addq	$184, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_QT1010_WR,8,3                  ## @QT1010_WR
	.comm	_QT1010_RD,8,3                  ## @QT1010_RD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"compare reg:%02x %02x %02x"

	.no_dead_strip	_qt1010_init_meas1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qt1010_init_meas1
_qt1010_init_meas1:                     ; @qt1010_init_meas1
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #240
	.cfi_def_cfa_offset 240
	stp	x24, x23, [sp, #176]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #192]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #208]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #224]            ; 16-byte Folded Spill
	add	x29, sp, #224
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x4
	mov	x21, x2
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x22, _QT1010_WR@GOTPAGE
Lloh4:
	ldr	x22, [x22, _QT1010_WR@GOTPAGEOFF]
	ldr	x8, [x22]
	stp	x8, x2, [sp, #8]
	stp	x3, xzr, [sp, #24]
	stp	xzr, x8, [sp, #40]
	mov	w9, #30
	stp	x9, xzr, [sp, #56]
	stp	xzr, xzr, [sp, #72]
	stp	x8, x9, [sp, #88]
	stp	x1, xzr, [sp, #104]
Lloh5:
	adrp	x8, _QT1010_RD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _QT1010_RD@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	stp	xzr, x8, [sp, #120]
	mov	w8, #255
	stp	x2, x8, [sp, #136]
	stp	xzr, xzr, [sp, #152]
	add	x24, sp, #8
	add	x0, sp, #8
	bl	_ARRAY_SIZE
	cbz	x0, LBB0_6
; %bb.1:
	mov	x23, #0
	add	x24, x24, #36
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w2, [x24]
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_qt1010_writereg
	cbnz	w0, LBB0_12
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x23, x23, #1
	add	x0, sp, #8
	bl	_ARRAY_SIZE
	add	x24, x24, #40
	cmp	x23, x0
	b.hs	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x8, [x24, #-12]
	ldr	x9, [x22]
	ldursw	x1, [x24, #-4]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x2, sp
	mov	x0, x19
	bl	_qt1010_readreg
	cbz	w0, LBB0_3
	b	LBB0_12
LBB0_6:
                                        ; implicit-def: $x8
	b	LBB0_8
LBB0_7:
	ldr	x8, [sp]
LBB0_8:
Lloh8:
	adrp	x22, l_.str@PAGE
Lloh9:
	add	x22, x22, l_.str@PAGEOFF
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x23, x8
	mov	x2, sp
	mov	x0, x19
	mov	x1, x21
	bl	_qt1010_readreg
	cbnz	w0, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x3, [sp]
	mov	x0, x22
	mov	x1, x21
	mov	x2, x23
	bl	_dprintk
	ldr	x8, [sp]
	cmp	x23, x8
	b.ne	LBB0_9
; %bb.11:
	str	x23, [x20]
	mov	x0, x19
	mov	w1, #30
	mov	w2, #0
	bl	_qt1010_writereg
LBB0_12:
	ldur	x8, [x29, #-56]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	ldp	x29, x30, [sp, #224]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #208]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #192]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #176]            ; 16-byte Folded Reload
	add	sp, sp, #240
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_QT1010_WR,8,3                  ; @QT1010_WR
	.comm	_QT1010_RD,8,3                  ; @QT1010_RD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"compare reg:%02x %02x %02x"

	.no_dead_strip	_qt1010_init_meas1
.subsections_via_symbols
