	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adxl34x_disable_store
_adxl34x_disable_store:                 ## @adxl34x_disable_store
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %rbx
	callq	_dev_get_drvdata
	movq	%rax, %r12
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_kstrtouint
	testl	%eax, %eax
	jne	LBB0_9
## %bb.1:
	movq	%r12, %r15
	addq	$4, %r15
	movq	%r15, %rdi
	callq	_mutex_lock
	cmpl	$0, 16(%r12)
	je	LBB0_2
LBB0_8:
	xorl	%eax, %eax
	cmpl	$0, -36(%rbp)
	setne	%al
	movl	%eax, (%r12)
	movq	%r15, %rdi
	callq	_mutex_unlock
	movl	%r14d, %eax
LBB0_9:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	cmpq	$0, 8(%r12)
	je	LBB0_8
## %bb.3:
	cmpl	$0, -36(%rbp)
	movl	(%r12), %eax
	je	LBB0_6
## %bb.4:
	testl	%eax, %eax
	jne	LBB0_8
## %bb.5:
	movq	%r12, %rdi
	callq	___adxl34x_disable
	jmp	LBB0_8
LBB0_6:
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movq	%r12, %rdi
	callq	___adxl34x_enable
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_adxl34x_disable_store
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adxl34x_disable_store
_adxl34x_disable_store:                 ; @adxl34x_disable_store
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x3
	mov	x21, x2
	bl	_dev_get_drvdata
	mov	x20, x0
	add	x2, sp, #12
	mov	x0, x21
	mov	w1, #10
	bl	_kstrtouint
	cbnz	w0, LBB0_3
; %bb.1:
	add	x21, x20, #4
	mov	x0, x21
	bl	_mutex_lock
	ldr	w8, [x20, #16]
	cbz	w8, LBB0_4
LBB0_2:
	ldr	w8, [sp, #12]
	cmp	w8, #0
	cset	w8, ne
	str	w8, [x20]
	mov	x0, x21
	bl	_mutex_unlock
	mov	x0, x19
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_4:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_2
; %bb.5:
	ldr	w9, [sp, #12]
	ldr	w8, [x20]
	cbz	w9, LBB0_8
; %bb.6:
	cbnz	w8, LBB0_2
; %bb.7:
	mov	x0, x20
	bl	___adxl34x_disable
	b	LBB0_2
LBB0_8:
	cbz	w8, LBB0_2
; %bb.9:
	mov	x0, x20
	bl	___adxl34x_enable
	b	LBB0_2
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_adxl34x_disable_store
.subsections_via_symbols
