	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function max11801_ts_probe
_max11801_ts_probe:                     ## @max11801_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$16, %esi
	callq	_devm_kzalloc
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_devm_input_allocate_device
	testq	%r14, %r14
	je	LBB0_2
## %bb.1:
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%r12, 8(%r14)
	movq	%rbx, (%r14)
	leaq	L_.str.1(%rip), %r15
	movq	%r15, (%rbx)
	movq	_BUS_I2C@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	%r12, 16(%rbx)
	movq	_EV_ABS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	12(%rbx), %esi
	callq	___set_bit
	movq	_EV_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	12(%rbx), %esi
	callq	___set_bit
	movq	_BTN_TOUCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %esi
	callq	___set_bit
	movq	_ABS_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MAX11801_MAX_X@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	movq	_ABS_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MAX11801_MAX_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	movq	%r14, %rdi
	callq	_max11801_ts_phy_init
	movl	4(%r12), %esi
	movq	_max11801_ts_interrupt@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IRQF_TRIGGER_LOW@GOTPCREL(%rip), %rax
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	orl	(%rax), %r8d
	movq	%r14, (%rsp)
	movq	%r12, %rdi
	xorl	%edx, %edx
	movq	%r15, %r9
	callq	_devm_request_threaded_irq
	testl	%eax, %eax
	je	LBB0_6
## %bb.4:
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	jmp	LBB0_5
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	(%r14), %rdi
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_input_register_device          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to allocate memory\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"max11801_ts"

	.comm	_BUS_I2C,4,2                    ## @BUS_I2C
	.comm	_EV_ABS,4,2                     ## @EV_ABS
	.comm	_EV_KEY,4,2                     ## @EV_KEY
	.comm	_BTN_TOUCH,4,2                  ## @BTN_TOUCH
	.comm	_ABS_X,4,2                      ## @ABS_X
	.comm	_MAX11801_MAX_X,4,2             ## @MAX11801_MAX_X
	.comm	_ABS_Y,4,2                      ## @ABS_Y
	.comm	_MAX11801_MAX_Y,4,2             ## @MAX11801_MAX_Y
	.comm	_max11801_ts_interrupt,4,2      ## @max11801_ts_interrupt
	.comm	_IRQF_TRIGGER_LOW,4,2           ## @IRQF_TRIGGER_LOW
	.comm	_IRQF_ONESHOT,4,2               ## @IRQF_ONESHOT
L_.str.2:                               ## @.str.2
	.asciz	"Failed to register interrupt\n"

	.no_dead_strip	_max11801_ts_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function max11801_ts_probe
_max11801_ts_probe:                     ; @max11801_ts_probe
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #16
	bl	_devm_kzalloc
	mov	x20, x0
	mov	x0, x19
	bl	_devm_input_allocate_device
	cmp	x20, #0
	ccmp	x0, #0, #4, ne
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_4
LBB0_2:
	mov	x22, x0
	stp	x0, x19, [x20]
Lloh8:
	adrp	x21, l_.str.1@PAGE
Lloh9:
	add	x21, x21, l_.str.1@PAGEOFF
	str	x21, [x0]
Lloh10:
	adrp	x8, _BUS_I2C@GOTPAGE
Lloh11:
	ldr	x8, [x8, _BUS_I2C@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x0, #24]
	str	x19, [x0, #16]
Lloh13:
	adrp	x8, _EV_ABS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EV_ABS@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ldr	w1, [x22, #12]
	bl	___set_bit
Lloh16:
	adrp	x8, _EV_KEY@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EV_KEY@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	ldr	w1, [x22, #12]
	bl	___set_bit
Lloh19:
	adrp	x8, _BTN_TOUCH@GOTPAGE
Lloh20:
	ldr	x8, [x8, _BTN_TOUCH@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	ldr	w1, [x22, #8]
	bl	___set_bit
Lloh22:
	adrp	x8, _ABS_X@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ABS_X@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
Lloh25:
	adrp	x8, _MAX11801_MAX_X@GOTPAGE
Lloh26:
	ldr	x8, [x8, _MAX11801_MAX_X@GOTPAGEOFF]
Lloh27:
	ldr	w3, [x8]
	mov	x0, x22
	mov	w2, #0
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
Lloh28:
	adrp	x8, _ABS_Y@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ABS_Y@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
Lloh31:
	adrp	x8, _MAX11801_MAX_Y@GOTPAGE
Lloh32:
	ldr	x8, [x8, _MAX11801_MAX_Y@GOTPAGEOFF]
Lloh33:
	ldr	w3, [x8]
	mov	x0, x22
	mov	w2, #0
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
	mov	x0, x20
	bl	_max11801_ts_phy_init
	ldr	w1, [x19, #4]
Lloh34:
	adrp	x8, _max11801_ts_interrupt@GOTPAGE
Lloh35:
	ldr	x8, [x8, _max11801_ts_interrupt@GOTPAGEOFF]
Lloh36:
	adrp	x9, _IRQF_TRIGGER_LOW@GOTPAGE
Lloh37:
	ldr	x9, [x9, _IRQF_TRIGGER_LOW@GOTPAGEOFF]
Lloh38:
	ldr	w3, [x8]
Lloh39:
	ldr	w8, [x9]
Lloh40:
	adrp	x9, _IRQF_ONESHOT@GOTPAGE
Lloh41:
	ldr	x9, [x9, _IRQF_ONESHOT@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	orr	w4, w9, w8
	mov	x0, x19
	mov	x2, #0
	mov	x5, x21
	mov	x6, x20
	bl	_devm_request_threaded_irq
	cbz	w0, LBB0_5
; %bb.3:
	mov	x21, x0
Lloh43:
	adrp	x1, l_.str.2@PAGE
Lloh44:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_4:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	x0, [x20]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_input_register_device
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh38
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to allocate memory\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"max11801_ts"

	.comm	_BUS_I2C,4,2                    ; @BUS_I2C
	.comm	_EV_ABS,4,2                     ; @EV_ABS
	.comm	_EV_KEY,4,2                     ; @EV_KEY
	.comm	_BTN_TOUCH,4,2                  ; @BTN_TOUCH
	.comm	_ABS_X,4,2                      ; @ABS_X
	.comm	_MAX11801_MAX_X,4,2             ; @MAX11801_MAX_X
	.comm	_ABS_Y,4,2                      ; @ABS_Y
	.comm	_MAX11801_MAX_Y,4,2             ; @MAX11801_MAX_Y
	.comm	_max11801_ts_interrupt,4,2      ; @max11801_ts_interrupt
	.comm	_IRQF_TRIGGER_LOW,4,2           ; @IRQF_TRIGGER_LOW
	.comm	_IRQF_ONESHOT,4,2               ; @IRQF_ONESHOT
l_.str.2:                               ; @.str.2
	.asciz	"Failed to register interrupt\n"

	.no_dead_strip	_max11801_ts_probe
.subsections_via_symbols
