	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sd_stopN
_sd_stopN:                              ## @sd_stopN
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_sensor_data@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	(%rdi), %rcx
	movl	(%rax,%rcx,4), %esi
	movl	$4, %edx
	callq	_reg_w_buf
	movq	(%r14), %rax
	movq	(%rbx), %rcx
	movl	(%rax,%rcx,4), %esi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_reg_w_buf
	movq	(%rbx), %rax
	movq	_SENSOR_OM6802@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movl	$20, %edi
	callq	_msleep
	movq	%rbx, %rdi
	movl	$777, %esi                      ## imm = 0x309
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_reg_w                          ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sensor_data,8,3                ## @sensor_data
	.comm	_SENSOR_OM6802,8,3              ## @SENSOR_OM6802
	.no_dead_strip	_sd_stopN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sd_stopN
_sd_stopN:                              ; @sd_stopN
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x20, _sensor_data@GOTPAGE
Lloh1:
	ldr	x20, [x20, _sensor_data@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	x9, [x0]
	ldr	w1, [x8, x9, lsl #2]
	mov	w2, #4
	bl	_reg_w_buf
	ldr	x8, [x20]
	ldr	x9, [x19]
	ldr	w1, [x8, x9, lsl #2]
	mov	x0, x19
	mov	w2, #4
	bl	_reg_w_buf
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _SENSOR_OM6802@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SENSOR_OM6802@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #20
	bl	_msleep
	mov	x0, x19
	mov	w1, #777
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_reg_w
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_sensor_data,8,3                ; @sensor_data
	.comm	_SENSOR_OM6802,8,3              ; @SENSOR_OM6802
	.no_dead_strip	_sd_stopN
.subsections_via_symbols
