	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iproc_get_tsc_config
_iproc_get_tsc_config:                  ## @iproc_get_tsc_config
	.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	(%rdi), %r15
	movq	_iproc_default_config@GOTPCREL(%rip), %rax
	movq	48(%rax), %rcx
	movq	%rcx, 48(%rsi)
	movups	(%rax), %xmm0
	movups	16(%rax), %xmm1
	movups	32(%rax), %xmm2
	movups	%xmm2, 32(%rsi)
	movups	%xmm1, 16(%rsi)
	movups	%xmm0, (%rsi)
	xorl	%r14d, %r14d
	testq	%r15, %r15
	je	LBB0_28
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %r12
	leaq	L_.str(%rip), %rsi
	leaq	-36(%rbp), %rdx
	movq	%r15, %rdi
	callq	_of_property_read_u32
	testq	%rax, %rax
	js	LBB0_5
## %bb.2:
	movl	-36(%rbp), %edx
	leal	-257(%rdx), %eax
	cmpl	$-257, %eax                     ## imm = 0xFEFF
	ja	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	jmp	LBB0_9
LBB0_4:
	movl	%edx, (%rbx)
LBB0_5:
	leaq	L_.str.2(%rip), %rsi
	leaq	-36(%rbp), %rdx
	movq	%r15, %rdi
	callq	_of_property_read_u32
	testq	%rax, %rax
	js	LBB0_11
## %bb.6:
	movl	-36(%rbp), %edx
	cmpl	$256, %edx                      ## imm = 0x100
	jl	LBB0_10
## %bb.7:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_8
LBB0_10:
	movl	%edx, 4(%rbx)
LBB0_11:
	leaq	L_.str.4(%rip), %rsi
	leaq	-36(%rbp), %rdx
	movq	%r15, %rdi
	callq	_of_property_read_u32
	testq	%rax, %rax
	js	LBB0_15
## %bb.12:
	movl	-36(%rbp), %edx
	cmpl	$12, %edx
	jl	LBB0_14
## %bb.13:
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_8
LBB0_14:
	movl	%edx, 8(%rbx)
LBB0_15:
	leaq	L_.str.6(%rip), %rsi
	leaq	-36(%rbp), %rdx
	movq	%r15, %rdi
	callq	_of_property_read_u32
	testq	%rax, %rax
	js	LBB0_19
## %bb.16:
	movl	-36(%rbp), %edx
	cmpl	$256, %edx                      ## imm = 0x100
	jl	LBB0_18
## %bb.17:
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_8
LBB0_18:
	movl	%edx, 12(%rbx)
LBB0_19:
	leaq	L_.str.8(%rip), %rsi
	leaq	-36(%rbp), %rdx
	movq	%r15, %rdi
	callq	_of_property_read_u32
	testq	%rax, %rax
	js	LBB0_23
## %bb.20:
	movl	-36(%rbp), %edx
	cmpl	$9, %edx
	jl	LBB0_22
## %bb.21:
	leaq	L_.str.9(%rip), %rsi
	jmp	LBB0_8
LBB0_22:
	movl	%edx, 16(%rbx)
LBB0_23:
	leaq	L_.str.10(%rip), %rsi
	leaq	-36(%rbp), %rdx
	movq	%r15, %rdi
	callq	_of_property_read_u32
	testq	%rax, %rax
	js	LBB0_27
## %bb.24:
	movl	-36(%rbp), %edx
	cmpl	$32, %edx
	jl	LBB0_26
## %bb.25:
	leaq	L_.str.11(%rip), %rsi
LBB0_8:
	movq	%r12, %rdi
LBB0_9:
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_28:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	movl	%edx, 20(%rbx)
LBB0_27:
	leaq	24(%rbx), %rdx
	leaq	L_.str.12(%rip), %rsi
	movq	%r15, %rdi
	callq	_of_property_read_u32
	leaq	28(%rbx), %rdx
	leaq	L_.str.13(%rip), %rsi
	movq	%r15, %rdi
	callq	_of_property_read_u32
	leaq	32(%rbx), %rdx
	leaq	L_.str.14(%rip), %rsi
	movq	%r15, %rdi
	callq	_of_property_read_u32
	leaq	36(%rbx), %rdx
	leaq	L_.str.15(%rip), %rsi
	movq	%r15, %rdi
	callq	_of_property_read_u32
	leaq	L_.str.16(%rip), %rsi
	movq	%r15, %rdi
	callq	_of_property_read_bool
	movq	%rax, 48(%rbx)
	leaq	L_.str.17(%rip), %rsi
	movq	%r15, %rdi
	callq	_of_property_read_bool
	movq	%rax, 40(%rbx)
	jmp	LBB0_28
	.cfi_endproc
                                        ## -- End function
	.comm	_iproc_default_config,56,3      ## @iproc_default_config
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"scanning_period"

L_.str.1:                               ## @.str.1
	.asciz	"scanning_period (%u) must be [1-256]\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.2:                               ## @.str.2
	.asciz	"debounce_timeout"

L_.str.3:                               ## @.str.3
	.asciz	"debounce_timeout (%u) must be [0-255]\n"

L_.str.4:                               ## @.str.4
	.asciz	"settling_timeout"

L_.str.5:                               ## @.str.5
	.asciz	"settling_timeout (%u) must be [0-11]\n"

L_.str.6:                               ## @.str.6
	.asciz	"touch_timeout"

L_.str.7:                               ## @.str.7
	.asciz	"touch_timeout (%u) must be [0-255]\n"

L_.str.8:                               ## @.str.8
	.asciz	"average_data"

L_.str.9:                               ## @.str.9
	.asciz	"average_data (%u) must be [0-8]\n"

L_.str.10:                              ## @.str.10
	.asciz	"fifo_threshold"

L_.str.11:                              ## @.str.11
	.asciz	"fifo_threshold (%u)) must be [0-31]\n"

L_.str.12:                              ## @.str.12
	.asciz	"touchscreen-size-x"

L_.str.13:                              ## @.str.13
	.asciz	"touchscreen-size-y"

L_.str.14:                              ## @.str.14
	.asciz	"touchscreen-fuzz-x"

L_.str.15:                              ## @.str.15
	.asciz	"touchscreen-fuzz-y"

L_.str.16:                              ## @.str.16
	.asciz	"touchscreen-inverted-x"

L_.str.17:                              ## @.str.17
	.asciz	"touchscreen-inverted-y"

	.no_dead_strip	_iproc_get_tsc_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iproc_get_tsc_config
_iproc_get_tsc_config:                  ; @iproc_get_tsc_config
	.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
	ldr	x20, [x0]
Lloh0:
	adrp	x8, _iproc_default_config@GOTPAGE
Lloh1:
	ldr	x8, [x8, _iproc_default_config@GOTPAGEOFF]
	ldp	q0, q1, [x8]
	ldr	q2, [x8, #32]
	ldr	x8, [x8, #48]
	str	x8, [x1, #48]
	stp	q1, q2, [x1, #16]
	str	q0, [x1]
	cbz	x20, LBB0_4
; %bb.1:
	mov	x19, x1
	mov	x21, x0
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	mov	x0, x20
	bl	_of_property_read_u32
	tbnz	x0, #63, LBB0_6
; %bb.2:
	ldr	w2, [sp, #12]
	sub	w8, w2, #257
	cmn	w8, #257
	b.hi	LBB0_5
; %bb.3:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_25
LBB0_4:
	mov	w0, #0
	b	LBB0_26
LBB0_5:
	str	w2, [x19]
LBB0_6:
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #12
	mov	x0, x20
	bl	_of_property_read_u32
	tbnz	x0, #63, LBB0_10
; %bb.7:
	ldr	w2, [sp, #12]
	cmp	w2, #256
	b.lt	LBB0_9
; %bb.8:
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_25
LBB0_9:
	str	w2, [x19, #4]
LBB0_10:
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x2, sp, #12
	mov	x0, x20
	bl	_of_property_read_u32
	tbnz	x0, #63, LBB0_14
; %bb.11:
	ldr	w2, [sp, #12]
	cmp	w2, #12
	b.lt	LBB0_13
; %bb.12:
Lloh12:
	adrp	x1, l_.str.5@PAGE
Lloh13:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_25
LBB0_13:
	str	w2, [x19, #8]
LBB0_14:
Lloh14:
	adrp	x1, l_.str.6@PAGE
Lloh15:
	add	x1, x1, l_.str.6@PAGEOFF
	add	x2, sp, #12
	mov	x0, x20
	bl	_of_property_read_u32
	tbnz	x0, #63, LBB0_18
; %bb.15:
	ldr	w2, [sp, #12]
	cmp	w2, #256
	b.lt	LBB0_17
; %bb.16:
Lloh16:
	adrp	x1, l_.str.7@PAGE
Lloh17:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_25
LBB0_17:
	str	w2, [x19, #12]
LBB0_18:
Lloh18:
	adrp	x1, l_.str.8@PAGE
Lloh19:
	add	x1, x1, l_.str.8@PAGEOFF
	add	x2, sp, #12
	mov	x0, x20
	bl	_of_property_read_u32
	tbnz	x0, #63, LBB0_22
; %bb.19:
	ldr	w2, [sp, #12]
	cmp	w2, #9
	b.lt	LBB0_21
; %bb.20:
Lloh20:
	adrp	x1, l_.str.9@PAGE
Lloh21:
	add	x1, x1, l_.str.9@PAGEOFF
	b	LBB0_25
LBB0_21:
	str	w2, [x19, #16]
LBB0_22:
Lloh22:
	adrp	x1, l_.str.10@PAGE
Lloh23:
	add	x1, x1, l_.str.10@PAGEOFF
	add	x2, sp, #12
	mov	x0, x20
	bl	_of_property_read_u32
	tbnz	x0, #63, LBB0_28
; %bb.23:
	ldr	w2, [sp, #12]
	cmp	w2, #32
	b.lt	LBB0_27
; %bb.24:
Lloh24:
	adrp	x1, l_.str.11@PAGE
Lloh25:
	add	x1, x1, l_.str.11@PAGEOFF
LBB0_25:
	mov	x0, x21
	bl	_dev_err
Lloh26:
	adrp	x8, _EINVAL@GOTPAGE
Lloh27:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_26:
	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_27:
	str	w2, [x19, #20]
LBB0_28:
	add	x2, x19, #24
Lloh29:
	adrp	x1, l_.str.12@PAGE
Lloh30:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x20
	bl	_of_property_read_u32
	add	x2, x19, #28
Lloh31:
	adrp	x1, l_.str.13@PAGE
Lloh32:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x20
	bl	_of_property_read_u32
	add	x2, x19, #32
Lloh33:
	adrp	x1, l_.str.14@PAGE
Lloh34:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x0, x20
	bl	_of_property_read_u32
	add	x2, x19, #36
Lloh35:
	adrp	x1, l_.str.15@PAGE
Lloh36:
	add	x1, x1, l_.str.15@PAGEOFF
	mov	x0, x20
	bl	_of_property_read_u32
Lloh37:
	adrp	x1, l_.str.16@PAGE
Lloh38:
	add	x1, x1, l_.str.16@PAGEOFF
	mov	x0, x20
	bl	_of_property_read_bool
	str	x0, [x19, #48]
Lloh39:
	adrp	x1, l_.str.17@PAGE
Lloh40:
	add	x1, x1, l_.str.17@PAGEOFF
	mov	x0, x20
	bl	_of_property_read_bool
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19, #40]
	b	LBB0_26
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_iproc_default_config,56,3      ; @iproc_default_config
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"scanning_period"

l_.str.1:                               ; @.str.1
	.asciz	"scanning_period (%u) must be [1-256]\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.2:                               ; @.str.2
	.asciz	"debounce_timeout"

l_.str.3:                               ; @.str.3
	.asciz	"debounce_timeout (%u) must be [0-255]\n"

l_.str.4:                               ; @.str.4
	.asciz	"settling_timeout"

l_.str.5:                               ; @.str.5
	.asciz	"settling_timeout (%u) must be [0-11]\n"

l_.str.6:                               ; @.str.6
	.asciz	"touch_timeout"

l_.str.7:                               ; @.str.7
	.asciz	"touch_timeout (%u) must be [0-255]\n"

l_.str.8:                               ; @.str.8
	.asciz	"average_data"

l_.str.9:                               ; @.str.9
	.asciz	"average_data (%u) must be [0-8]\n"

l_.str.10:                              ; @.str.10
	.asciz	"fifo_threshold"

l_.str.11:                              ; @.str.11
	.asciz	"fifo_threshold (%u)) must be [0-31]\n"

l_.str.12:                              ; @.str.12
	.asciz	"touchscreen-size-x"

l_.str.13:                              ; @.str.13
	.asciz	"touchscreen-size-y"

l_.str.14:                              ; @.str.14
	.asciz	"touchscreen-fuzz-x"

l_.str.15:                              ; @.str.15
	.asciz	"touchscreen-fuzz-y"

l_.str.16:                              ; @.str.16
	.asciz	"touchscreen-inverted-x"

l_.str.17:                              ; @.str.17
	.asciz	"touchscreen-inverted-y"

	.no_dead_strip	_iproc_get_tsc_config
.subsections_via_symbols
