	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qt1010_init_meas2
_qt1010_init_meas2:                     ## @qt1010_init_meas2
	.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	$312, %rsp                      ## imm = 0x138
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_QT1010_WR@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	%rax, -336(%rbp)
	movl	$7, -328(%rbp)
	movq	%rsi, -320(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -312(%rbp)
	movq	%rax, -296(%rbp)
	movl	$34, -288(%rbp)
	movq	$208, -280(%rbp)
	movaps	%xmm0, -272(%rbp)
	movq	%rax, -256(%rbp)
	movl	$30, -248(%rbp)
	movaps	%xmm0, -240(%rbp)
	movq	$0, -224(%rbp)
	movq	%rax, -216(%rbp)
	movl	$30, -208(%rbp)
	movq	$208, -200(%rbp)
	movaps	%xmm0, -192(%rbp)
	movq	_QT1010_RD@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -176(%rbp)
	movl	$34, -168(%rbp)
	movq	$255, -160(%rbp)
	movups	%xmm0, -152(%rbp)
	movq	%rax, -136(%rbp)
	movl	$30, -128(%rbp)
	movups	%xmm0, -120(%rbp)
	movq	$0, -104(%rbp)
	movq	%rax, -96(%rbp)
	movl	$34, -88(%rbp)
	movq	$255, -80(%rbp)
	movups	%xmm0, -72(%rbp)
	leaq	-336(%rbp), %rdi
	callq	_ARRAY_SIZE
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%r14, -344(%rbp)                ## 8-byte Spill
	leaq	-300(%rbp), %r14
	xorl	%r12d, %r12d
	leaq	-336(%rbp), %r15
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	-12(%r14), %rax
	movl	-4(%r14), %esi
	cmpq	(%r13), %rax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_qt1010_writereg
	testl	%eax, %eax
	je	LBB0_3
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	leaq	-352(%rbp), %rdx
	callq	_qt1010_readreg
	testl	%eax, %eax
	jne	LBB0_8
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%r12
	movq	%r15, %rdi
	callq	_ARRAY_SIZE
	addq	$40, %r14
	cmpq	%rax, %r12
	jb	LBB0_4
## %bb.9:
	movq	-352(%rbp), %rax
	movq	-344(%rbp), %r14                ## 8-byte Reload
	jmp	LBB0_10
LBB0_1:
                                        ## implicit-def: $rax
LBB0_10:
	movq	%rax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_8:
	cltq
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_13
## %bb.12:
	addq	$312, %rsp                      ## imm = 0x138
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_QT1010_WR,8,3                  ## @QT1010_WR
	.comm	_QT1010_RD,8,3                  ## @QT1010_RD
	.no_dead_strip	_qt1010_init_meas2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qt1010_init_meas2
_qt1010_init_meas2:                     ; @qt1010_init_meas2
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #368
	.cfi_def_cfa_offset 368
	stp	x24, x23, [sp, #304]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #320]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #336]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #352]            ; 16-byte Folded Spill
	add	x29, sp, #352
	.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	x19, x2
	mov	x20, 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	x21, _QT1010_WR@GOTPAGE
Lloh4:
	ldr	x21, [x21, _QT1010_WR@GOTPAGEOFF]
	ldr	x8, [x21]
	str	x8, [sp, #16]
	mov	w9, #7
	str	w9, [sp, #24]
	stp	x1, xzr, [sp, #32]
	stp	xzr, x8, [sp, #48]
	mov	w9, #34
	str	w9, [sp, #64]
	mov	w10, #208
	stp	x10, xzr, [sp, #72]
	stp	xzr, x8, [sp, #88]
	mov	w11, #30
	str	w11, [sp, #104]
	stp	xzr, xzr, [sp, #112]
	stp	xzr, x8, [sp, #128]
	str	w11, [sp, #144]
	stp	x10, xzr, [sp, #152]
Lloh5:
	adrp	x10, _QT1010_RD@GOTPAGE
Lloh6:
	ldr	x10, [x10, _QT1010_RD@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	stp	xzr, x10, [sp, #168]
	str	w9, [sp, #184]
	mov	w10, #255
	stp	x10, xzr, [sp, #192]
	stp	xzr, x8, [sp, #208]
	str	w11, [sp, #224]
	stp	xzr, xzr, [sp, #232]
	stp	xzr, x8, [sp, #248]
	str	w9, [sp, #264]
	stp	xzr, xzr, [sp, #280]
	str	x10, [sp, #272]
	add	x23, sp, #16
	add	x0, sp, #16
	bl	_ARRAY_SIZE
	cbz	x0, LBB0_7
; %bb.1:
	mov	x22, #0
	add	x23, x23, #36
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x8, [x23, #-12]
	ldr	x9, [x21]
	ldur	w1, [x23, #-4]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w2, [x23]
	mov	x0, x20
	bl	_qt1010_writereg
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_5
	b	LBB0_9
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x2, sp, #8
	mov	x0, x20
	bl	_qt1010_readreg
                                        ; kill: def $w0 killed $w0 def $x0
	cbnz	w0, LBB0_9
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x22, x22, #1
	add	x0, sp, #16
	bl	_ARRAY_SIZE
	add	x23, x23, #40
	cmp	x22, x0
	b.lo	LBB0_2
; %bb.6:
	ldr	x8, [sp, #8]
	b	LBB0_8
LBB0_7:
                                        ; implicit-def: $x8
LBB0_8:
	mov	x0, #0
	str	x8, [x19]
	b	LBB0_10
LBB0_9:
	sxtw	x0, w0
LBB0_10:
	ldur	x8, [x29, #-56]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	ldp	x29, x30, [sp, #352]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #336]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #320]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #304]            ; 16-byte Folded Reload
	add	sp, sp, #368
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_QT1010_WR,8,3                  ; @QT1010_WR
	.comm	_QT1010_RD,8,3                  ; @QT1010_RD
	.no_dead_strip	_qt1010_init_meas2
.subsections_via_symbols
