	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function store_tabletYtilt
_store_tabletYtilt:                     ## @store_tabletYtilt
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %rbx
	callq	_dev_get_drvdata
	movq	%rax, %r14
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_kstrtoint
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	leaq	-1(%r15), %rdx
	cmpb	$10, -1(%rbx,%r15)
	cmovneq	%r15, %rdx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_6
## %bb.2:
	movq	_AIPTEK_TILT_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_3
LBB0_4:
	movl	-28(%rbp), %eax
	movq	_AIPTEK_TILT_MIN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jl	LBB0_6
## %bb.5:
	movq	_AIPTEK_TILT_MAX@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jg	LBB0_6
LBB0_3:
	movl	%eax, (%r14)
	jmp	LBB0_7
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subq	(%rax), %r15
LBB0_7:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"disable"

	.comm	_EINVAL,8,3                     ## @EINVAL
	.comm	_AIPTEK_TILT_DISABLE,4,2        ## @AIPTEK_TILT_DISABLE
	.comm	_AIPTEK_TILT_MIN,4,2            ## @AIPTEK_TILT_MIN
	.comm	_AIPTEK_TILT_MAX,4,2            ## @AIPTEK_TILT_MAX
	.no_dead_strip	_store_tabletYtilt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function store_tabletYtilt
_store_tabletYtilt:                     ; @store_tabletYtilt
	.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	_kstrtoint
	cbz	x0, LBB0_3
; %bb.1:
	sub	x8, x19, #1
	ldrb	w9, [x21, x8]
	cmp	w9, #10
	csel	x2, x8, x19, eq
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_strncmp
	cbnz	x0, LBB0_4
; %bb.2:
Lloh2:
	adrp	x8, _AIPTEK_TILT_DISABLE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AIPTEK_TILT_DISABLE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	b	LBB0_5
LBB0_3:
	ldr	w8, [sp, #12]
Lloh5:
	adrp	x9, _AIPTEK_TILT_MIN@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AIPTEK_TILT_MIN@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	adrp	x10, _AIPTEK_TILT_MAX@GOTPAGE
Lloh9:
	ldr	x10, [x10, _AIPTEK_TILT_MAX@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	cmp	w8, w9
	ccmp	w8, w10, #0, ge
	b.le	LBB0_5
LBB0_4:
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	neg	x19, x8
	b	LBB0_6
LBB0_5:
	str	w8, [x20]
LBB0_6:
	mov	x0, x19
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"disable"

	.comm	_EINVAL,8,3                     ; @EINVAL
	.comm	_AIPTEK_TILT_DISABLE,4,2        ; @AIPTEK_TILT_DISABLE
	.comm	_AIPTEK_TILT_MIN,4,2            ; @AIPTEK_TILT_MIN
	.comm	_AIPTEK_TILT_MAX,4,2            ; @AIPTEK_TILT_MAX
	.no_dead_strip	_store_tabletYtilt
.subsections_via_symbols
