	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mxs_lradc_ts_probe
_mxs_lradc_ts_probe:                    ## @mxs_lradc_ts_probe
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rdi
	movq	(%rdi), %r15
	callq	_dev_get_drvdata
	movq	%rax, %rbx
	movl	$0, -48(%rbp)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$40, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r12
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_platform_set_drvdata
	movq	%rbx, 32(%r12)
	movq	%r14, 16(%r12)
	movq	%r12, %rdi
	addq	$24, %rdi
	callq	_spin_lock_init
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_devm_platform_ioremap_resource
	movl	%eax, 12(%r12)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.26:
	movl	12(%r12), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_25
LBB0_4:
	leaq	L_.str(%rip), %rsi
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	callq	_of_property_read_u32
	testl	%eax, %eax
	je	LBB0_5
LBB0_25:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	leaq	L_.str.1(%rip), %rsi
	leaq	-44(%rbp), %rdx
	movq	%r15, %rdi
	callq	_of_property_read_u32
	movl	$4, %edx
	testl	%eax, %eax
	jne	LBB0_8
## %bb.6:
	movl	-44(%rbp), %edx
	leal	-1(%rdx), %eax
	cmpl	$32, %eax
	jae	LBB0_7
LBB0_8:
	movl	%edx, (%r12)
	leaq	L_.str.3(%rip), %rsi
	leaq	-44(%rbp), %rdx
	movq	%r15, %rdi
	callq	_of_property_read_u32
	movl	$2, %edx
	testl	%eax, %eax
	je	LBB0_9
LBB0_13:
	movl	%edx, 4(%r12)
	leaq	L_.str.5(%rip), %rsi
	leaq	-44(%rbp), %rdx
	movq	%r15, %rdi
	callq	_of_property_read_u32
	movl	$10, %edx
	testl	%eax, %eax
	jne	LBB0_17
## %bb.14:
	movl	-44(%rbp), %edx
	testl	%edx, %edx
	jle	LBB0_16
## %bb.15:
	movq	_LRADC_DELAY_DELAY_MASK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edx
	jg	LBB0_16
LBB0_17:
	movl	%edx, 8(%r12)
	movl	12(%r12), %edi
	callq	_stmp_reset_block
	testl	%eax, %eax
	jne	LBB0_25
## %bb.18:
	movq	%r12, %rdi
	callq	_mxs_lradc_ts_hw_init
	movq	_mxs_lradc_ts_irq_names@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_platform_get_irq_byname
	testl	%eax, %eax
	js	LBB0_25
## %bb.19:
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_irq_of_parse_and_map
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_mxs_lradc_ts_stop
	movq	_mxs_lradc_ts_handle_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	(%r13), %rax
	movl	(%rax), %r8d
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	movq	%r12, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	jne	LBB0_25
## %bb.20:
	movq	(%r13), %rax
	movl	4(%rax), %esi
	movq	%r14, %rdi
	callq	_platform_get_irq_byname
	testl	%eax, %eax
	js	LBB0_25
## %bb.21:
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_irq_of_parse_and_map
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_mxs_lradc_ts_stop
	movq	_mxs_lradc_ts_handle_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	(%r13), %rax
	movl	4(%rax), %r8d
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	movq	%r12, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	jne	LBB0_25
## %bb.22:
	movq	(%r13), %rax
	movl	8(%rax), %esi
	movq	%r14, %rdi
	callq	_platform_get_irq_byname
	testl	%eax, %eax
	js	LBB0_25
## %bb.23:
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_irq_of_parse_and_map
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_mxs_lradc_ts_stop
	movq	_mxs_lradc_ts_handle_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	(%r13), %rax
	movl	8(%rax), %r8d
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	movq	%r12, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	jne	LBB0_25
## %bb.24:
	movq	%r12, %rdi
	callq	_mxs_lradc_ts_register
	jmp	LBB0_25
LBB0_9:
	movl	-44(%rbp), %edx
	cmpl	$2, %edx
	jl	LBB0_11
## %bb.10:
	movq	_LRADC_DELAY_DELAY_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	incl	%eax
	cmpl	%eax, %edx
	jle	LBB0_13
LBB0_11:
	movq	16(%r12), %rdi
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_12
LBB0_7:
	movq	16(%r12), %rdi
	leaq	L_.str.2(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	jmp	LBB0_12
LBB0_16:
	movq	16(%r12), %rdi
	leaq	L_.str.6(%rip), %rsi
LBB0_12:
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fsl,lradc-touchscreen-wires"

L_.str.1:                               ## @.str.1
	.asciz	"fsl,ave-ctrl"

L_.str.2:                               ## @.str.2
	.asciz	"Invalid sample count (%u)\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.3:                               ## @.str.3
	.asciz	"fsl,ave-delay"

	.comm	_LRADC_DELAY_DELAY_MASK,4,2     ## @LRADC_DELAY_DELAY_MASK
L_.str.4:                               ## @.str.4
	.asciz	"Invalid sample delay (%u)\n"

L_.str.5:                               ## @.str.5
	.asciz	"fsl,settling"

L_.str.6:                               ## @.str.6
	.asciz	"Invalid settling delay (%u)\n"

	.comm	_mxs_lradc_ts_irq_names,8,3     ## @mxs_lradc_ts_irq_names
	.comm	_mxs_lradc_ts_handle_irq,4,2    ## @mxs_lradc_ts_handle_irq
	.no_dead_strip	_mxs_lradc_ts_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mxs_lradc_ts_probe
_mxs_lradc_ts_probe:                    ; @mxs_lradc_ts_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x20, x0
	ldr	x0, [x0]
	ldr	x21, [x0]
	bl	_dev_get_drvdata
	mov	x22, x0
	str	wzr, [sp, #12]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #40
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	mov	x0, x20
	mov	x1, x19
	bl	_platform_set_drvdata
	str	x22, [x19, #32]
	str	x20, [x19, #16]
	add	x0, x19, #24
	bl	_spin_lock_init
	mov	x0, x20
	mov	w1, #0
	bl	_devm_platform_ioremap_resource
	str	w0, [x19, #12]
	bl	_IS_ERR
	cbz	x0, LBB0_5
; %bb.2:
	ldr	w0, [x19, #12]
	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
	add	sp, sp, #80
	b	_PTR_ERR
LBB0_3:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w1, w8
	b	LBB0_6
LBB0_5:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	mov	x0, x21
	bl	_of_property_read_u32
	mov	x1, x0
	cbz	w0, LBB0_7
LBB0_6:
	mov	x0, x1
	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
	add	sp, sp, #80
	ret
LBB0_7:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #8
	mov	x0, x21
	bl	_of_property_read_u32
	cbz	w0, LBB0_9
; %bb.8:
	mov	w2, #4
	b	LBB0_10
LBB0_9:
	ldr	w2, [sp, #8]
	sub	w8, w2, #1
	cmp	w8, #32
	b.hs	LBB0_27
LBB0_10:
	str	w2, [x19]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x2, sp, #8
	mov	x0, x21
	bl	_of_property_read_u32
	cbz	w0, LBB0_14
; %bb.11:
	mov	w2, #2
LBB0_12:
	str	w2, [x19, #4]
Lloh11:
	adrp	x1, l_.str.5@PAGE
Lloh12:
	add	x1, x1, l_.str.5@PAGEOFF
	add	x2, sp, #8
	mov	x0, x21
	bl	_of_property_read_u32
	cbz	w0, LBB0_17
; %bb.13:
	mov	w2, #10
	b	LBB0_19
LBB0_14:
	ldr	w2, [sp, #8]
	cmp	w2, #2
	b.lt	LBB0_16
; %bb.15:
Lloh13:
	adrp	x8, _LRADC_DELAY_DELAY_MASK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _LRADC_DELAY_DELAY_MASK@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	add	w8, w8, #1
	cmp	w2, w8
	b.le	LBB0_12
LBB0_16:
	ldr	x0, [x19, #16]
Lloh16:
	adrp	x1, l_.str.4@PAGE
Lloh17:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_29
LBB0_17:
	ldr	w2, [sp, #8]
	cmp	w2, #1
	b.lt	LBB0_28
; %bb.18:
Lloh18:
	adrp	x8, _LRADC_DELAY_DELAY_MASK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _LRADC_DELAY_DELAY_MASK@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cmp	w2, w8
	b.gt	LBB0_28
LBB0_19:
	str	w2, [x19, #8]
	ldr	w0, [x19, #12]
	bl	_stmp_reset_block
	mov	x1, x0
	cbnz	w0, LBB0_6
; %bb.20:
	mov	x0, x19
	bl	_mxs_lradc_ts_hw_init
Lloh21:
	adrp	x23, _mxs_lradc_ts_irq_names@GOTPAGE
Lloh22:
	ldr	x23, [x23, _mxs_lradc_ts_irq_names@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	w1, [x8]
	mov	x0, x20
	bl	_platform_get_irq_byname
	mov	x1, x0
	tbnz	w0, #31, LBB0_6
; %bb.21:
	mov	x0, x21
	bl	_irq_of_parse_and_map
	mov	x22, x0
	mov	x0, x19
	bl	_mxs_lradc_ts_stop
Lloh23:
	adrp	x24, _mxs_lradc_ts_handle_irq@GOTPAGE
Lloh24:
	ldr	x24, [x24, _mxs_lradc_ts_handle_irq@GOTPAGEOFF]
	ldr	w2, [x24]
	ldr	x8, [x23]
	ldr	w4, [x8]
	mov	x0, x20
	mov	x1, x22
	mov	w3, #0
	mov	x5, x19
	bl	_devm_request_irq
	mov	x1, x0
	cbnz	w0, LBB0_6
; %bb.22:
	ldr	x8, [x23]
	ldr	w1, [x8, #4]
	mov	x0, x20
	bl	_platform_get_irq_byname
	mov	x1, x0
	tbnz	w0, #31, LBB0_6
; %bb.23:
	mov	x0, x21
	bl	_irq_of_parse_and_map
	mov	x22, x0
	mov	x0, x19
	bl	_mxs_lradc_ts_stop
	ldr	w2, [x24]
	ldr	x8, [x23]
	ldr	w4, [x8, #4]
	mov	x0, x20
	mov	x1, x22
	mov	w3, #0
	mov	x5, x19
	bl	_devm_request_irq
	mov	x1, x0
	cbnz	w0, LBB0_6
; %bb.24:
	ldr	x8, [x23]
	ldr	w1, [x8, #8]
	mov	x0, x20
	bl	_platform_get_irq_byname
	mov	x1, x0
	tbnz	w0, #31, LBB0_6
; %bb.25:
	mov	x0, x21
	bl	_irq_of_parse_and_map
	mov	x21, x0
	mov	x0, x19
	bl	_mxs_lradc_ts_stop
	ldr	w2, [x24]
	ldr	x8, [x23]
	ldr	w4, [x8, #8]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	mov	x5, x19
	bl	_devm_request_irq
	mov	x1, x0
	cbnz	w0, LBB0_6
; %bb.26:
	mov	x0, x19
	bl	_mxs_lradc_ts_register
	mov	x1, x0
	b	LBB0_6
LBB0_27:
	ldr	x0, [x19, #16]
Lloh25:
	adrp	x1, l_.str.2@PAGE
Lloh26:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_29
LBB0_28:
	ldr	x0, [x19, #16]
Lloh27:
	adrp	x1, l_.str.6@PAGE
Lloh28:
	add	x1, x1, l_.str.6@PAGEOFF
LBB0_29:
	bl	_dev_err
Lloh29:
	adrp	x8, _EINVAL@GOTPAGE
Lloh30:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fsl,lradc-touchscreen-wires"

l_.str.1:                               ; @.str.1
	.asciz	"fsl,ave-ctrl"

l_.str.2:                               ; @.str.2
	.asciz	"Invalid sample count (%u)\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.3:                               ; @.str.3
	.asciz	"fsl,ave-delay"

	.comm	_LRADC_DELAY_DELAY_MASK,4,2     ; @LRADC_DELAY_DELAY_MASK
l_.str.4:                               ; @.str.4
	.asciz	"Invalid sample delay (%u)\n"

l_.str.5:                               ; @.str.5
	.asciz	"fsl,settling"

l_.str.6:                               ; @.str.6
	.asciz	"Invalid settling delay (%u)\n"

	.comm	_mxs_lradc_ts_irq_names,8,3     ; @mxs_lradc_ts_irq_names
	.comm	_mxs_lradc_ts_handle_irq,4,2    ; @mxs_lradc_ts_handle_irq
	.no_dead_strip	_mxs_lradc_ts_probe
.subsections_via_symbols
