	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function micro_ts_probe
_micro_ts_probe:                        ## @micro_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
	movl	(%rdi), %edi
	callq	_dev_get_drvdata
	movq	%rax, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$16, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r15, 8(%rax)
	movq	%r14, %rdi
	callq	_devm_input_allocate_device
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	leaq	L_.str.1(%rip), %rcx
	movq	%rcx, (%rax)
	movq	_micro_ts_open@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rax)
	movq	_micro_ts_close@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_input_set_drvdata
	movq	(%rbx), %rdi
	movq	_EV_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BTN_TOUCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_input_set_capability
	movq	(%rbx), %rdi
	movq	_EV_ABS@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_ABS_X@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	callq	_input_set_capability
	movq	(%rbx), %rdi
	movl	(%r15), %esi
	movq	_ABS_Y@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	callq	_input_set_capability
	movq	(%rbx), %rdi
	movl	(%r12), %esi
	xorl	%r15d, %r15d
	xorl	%edx, %edx
	movl	$1023, %ecx                     ## imm = 0x3FF
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	movq	(%rbx), %rdi
	movl	(%r13), %esi
	xorl	%edx, %edx
	movl	$1023, %ecx                     ## imm = 0x3FF
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	movq	(%rbx), %rdi
	callq	_input_register_device
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %r12d
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movl	%r12d, %r15d
	jmp	LBB0_7
LBB0_3:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_7
LBB0_6:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_platform_set_drvdata
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_info
LBB0_7:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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	"failed to allocate input device\n"

L_.str.1:                               ## @.str.1
	.asciz	"ipaq micro ts"

	.comm	_micro_ts_open,4,2              ## @micro_ts_open
	.comm	_micro_ts_close,4,2             ## @micro_ts_close
	.comm	_EV_KEY,4,2                     ## @EV_KEY
	.comm	_BTN_TOUCH,4,2                  ## @BTN_TOUCH
	.comm	_EV_ABS,4,2                     ## @EV_ABS
	.comm	_ABS_X,4,2                      ## @ABS_X
	.comm	_ABS_Y,4,2                      ## @ABS_Y
L_.str.2:                               ## @.str.2
	.asciz	"error registering touch input\n"

L_.str.3:                               ## @.str.3
	.asciz	"iPAQ micro touchscreen\n"

	.no_dead_strip	_micro_ts_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function micro_ts_probe
_micro_ts_probe:                        ; @micro_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
	ldr	w0, [x0]
	bl	_dev_get_drvdata
	mov	x21, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #16
	bl	_devm_kzalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
	str	x21, [x0, #8]
	mov	x0, x19
	bl	_devm_input_allocate_device
	str	x0, [x20]
	cbz	x0, LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, l_.str.1@PAGE
Lloh4:
	add	x8, x8, l_.str.1@PAGEOFF
	str	x8, [x0]
Lloh5:
	adrp	x8, _micro_ts_open@GOTPAGE
Lloh6:
	ldr	x8, [x8, _micro_ts_open@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _micro_ts_close@GOTPAGE
Lloh9:
	ldr	x9, [x9, _micro_ts_close@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #8]
	mov	x1, x20
	bl	_input_set_drvdata
	ldr	x0, [x20]
Lloh11:
	adrp	x8, _EV_KEY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EV_KEY@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x8, _BTN_TOUCH@GOTPAGE
Lloh15:
	ldr	x8, [x8, _BTN_TOUCH@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	bl	_input_set_capability
	ldr	x0, [x20]
Lloh17:
	adrp	x21, _EV_ABS@GOTPAGE
Lloh18:
	ldr	x21, [x21, _EV_ABS@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh19:
	adrp	x22, _ABS_X@GOTPAGE
Lloh20:
	ldr	x22, [x22, _ABS_X@GOTPAGEOFF]
	ldr	w2, [x22]
	bl	_input_set_capability
	ldr	x0, [x20]
	ldr	w1, [x21]
Lloh21:
	adrp	x21, _ABS_Y@GOTPAGE
Lloh22:
	ldr	x21, [x21, _ABS_Y@GOTPAGEOFF]
	ldr	w2, [x21]
	bl	_input_set_capability
	ldr	x0, [x20]
	ldr	w1, [x22]
	mov	w2, #0
	mov	w3, #1023
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
	ldr	x0, [x20]
	ldr	w1, [x21]
	mov	w2, #0
	mov	w3, #1023
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
	ldr	x0, [x20]
	bl	_input_register_device
	mov	x21, x0
	cbz	w0, LBB0_6
; %bb.3:
Lloh23:
	adrp	x1, l_.str.2@PAGE
Lloh24:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_7
LBB0_4:
Lloh25:
	adrp	x1, l_.str@PAGE
Lloh26:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_5:
Lloh27:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_7
LBB0_6:
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
Lloh30:
	adrp	x1, l_.str.3@PAGE
Lloh31:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_info
LBB0_7:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.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	"failed to allocate input device\n"

l_.str.1:                               ; @.str.1
	.asciz	"ipaq micro ts"

	.comm	_micro_ts_open,4,2              ; @micro_ts_open
	.comm	_micro_ts_close,4,2             ; @micro_ts_close
	.comm	_EV_KEY,4,2                     ; @EV_KEY
	.comm	_BTN_TOUCH,4,2                  ; @BTN_TOUCH
	.comm	_EV_ABS,4,2                     ; @EV_ABS
	.comm	_ABS_X,4,2                      ; @ABS_X
	.comm	_ABS_Y,4,2                      ; @ABS_Y
l_.str.2:                               ; @.str.2
	.asciz	"error registering touch input\n"

l_.str.3:                               ; @.str.3
	.asciz	"iPAQ micro touchscreen\n"

	.no_dead_strip	_micro_ts_probe
.subsections_via_symbols
