	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function store_value
_store_value:                           ## @store_value
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_dev_get_drvdata
	movq	%rax, %r15
	movq	%rsp, %rbx
	movq	_HID_CUSTOM_NAME_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movl	(%r13), %edi
	leaq	L_.str(%rip), %rsi
	leaq	-52(%rbp), %rdx
	leaq	-92(%rbp), %rcx
	movq	%r14, %r8
	callq	_sscanf
	cmpl	$3, %eax
	jne	LBB0_8
## %bb.1:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movslq	-52(%rbp), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movslq	(%r15), %rbx
	leaq	L_.str.1(%rip), %r13
	movq	%r13, %rdi
	callq	_strlen
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	leaq	-68(%rbp), %rdx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	callq	_kstrtoint
	testq	%rax, %rax
	je	LBB0_3
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subq	(%rax), %r12
LBB0_5:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_6
LBB0_8:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subq	(%rax), %r12
LBB0_6:
	movq	%rbx, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.7:
	movq	%r12, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	addq	%r14, %rbx
	movq	8(%r15), %rax
	movl	(%rax,%rbx,4), %esi
	movl	4(%r15), %edi
	movl	-52(%rbp), %edx
	leaq	-68(%rbp), %r8
	movl	$4, %ecx
	callq	_sensor_hub_set_feature
	jmp	LBB0_5
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_HID_CUSTOM_NAME_LENGTH,4,2     ## @HID_CUSTOM_NAME_LENGTH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"feature-%x-%x-%s"

	.comm	_EINVAL,8,3                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"value"

	.no_dead_strip	_store_value
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function store_value
_store_value:                           ; @store_value
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #32
	mov	x19, x3
	mov	x21, x2
	mov	x23, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	bl	_dev_get_drvdata
	mov	x20, x0
	mov	x24, sp
Lloh3:
	adrp	x8, _HID_CUSTOM_NAME_LENGTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HID_CUSTOM_NAME_LENGTH@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x22, x9, x8
	mov	sp, x22
	ldr	w0, [x23]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	sub	x2, x29, #76
	sub	x3, x29, #80
	mov	x4, x22
	bl	_sscanf
	cmp	w0, #3
	b.ne	LBB0_3
; %bb.1:
	ldur	w25, [x29, #-76]
	ldr	w26, [x20]
Lloh10:
	adrp	x23, l_.str.1@PAGE
Lloh11:
	add	x23, x23, l_.str.1@PAGEOFF
	mov	x0, x23
	bl	_strlen
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_strncmp
	cbnz	w0, LBB0_3
; %bb.2:
	sub	x2, x29, #84
	mov	x0, x21
	mov	w1, #0
	bl	_kstrtoint
	cbz	x0, LBB0_6
LBB0_3:
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	neg	x19, x8
LBB0_4:
	mov	sp, x24
	ldur	x8, [x29, #-72]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.5:
	mov	x0, x19
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_6:
	add	w8, w26, w25
	ldr	x9, [x20, #8]
	ldr	w1, [x9, w8, sxtw #2]
	ldr	w0, [x20, #4]
	ldur	w2, [x29, #-76]
	sub	x4, x29, #84
	mov	w3, #4
	bl	_sensor_hub_set_feature
	b	LBB0_4
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_HID_CUSTOM_NAME_LENGTH,4,2     ; @HID_CUSTOM_NAME_LENGTH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"feature-%x-%x-%s"

	.comm	_EINVAL,8,3                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"value"

	.no_dead_strip	_store_value
.subsections_via_symbols
