	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function w90p910_open
_w90p910_open:                          ## @w90p910_open
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	callq	_input_get_drvdata
	movq	%rax, %rbx
	movl	12(%rax), %edi
	callq	_clk_enable
	movq	_ADC_RST1@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	(%rbx), %rsi
	callq	___raw_writel
	movl	$1, %edi
	callq	_msleep
	movq	_ADC_RST0@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	(%rbx), %rsi
	callq	___raw_writel
	movl	$1, %edi
	callq	_msleep
	movq	(%rbx), %rdi
	addq	$4, %rdi
	callq	___raw_readl
	movq	_TSC_FOURWIRE@GOTPCREL(%rip), %rcx
	andq	(%rcx), %rax
	movq	(%rbx), %rsi
	addq	$4, %rsi
	movq	%rax, %rdi
	callq	___raw_writel
	movq	_ADC_DELAY@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	(%rbx), %rsi
	addq	$8, %rsi
	callq	___raw_writel
	movq	_TS_WAIT_NEW_PACKET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	xorl	%eax, %eax
	callq	_wmb
	movq	(%rbx), %rdi
	callq	___raw_readl
	movq	_ADC_WAITTRIG@GOTPCREL(%rip), %rcx
	movq	_ADC_DIV@GOTPCREL(%rip), %rdx
	movq	_ADC_EN@GOTPCREL(%rip), %rsi
	orq	(%rcx), %rax
	orq	(%rdx), %rax
	orq	(%rsi), %rax
	movq	_WT_INT_EN@GOTPCREL(%rip), %rcx
	orq	(%rcx), %rax
	movq	(%rbx), %rsi
	movq	%rax, %rdi
	callq	___raw_writel
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ADC_RST1,8,3                   ## @ADC_RST1
	.comm	_ADC_RST0,8,3                   ## @ADC_RST0
	.comm	_TSC_FOURWIRE,8,3               ## @TSC_FOURWIRE
	.comm	_ADC_DELAY,8,3                  ## @ADC_DELAY
	.comm	_TS_WAIT_NEW_PACKET,4,2         ## @TS_WAIT_NEW_PACKET
	.comm	_ADC_WAITTRIG,8,3               ## @ADC_WAITTRIG
	.comm	_ADC_DIV,8,3                    ## @ADC_DIV
	.comm	_ADC_EN,8,3                     ## @ADC_EN
	.comm	_WT_INT_EN,8,3                  ## @WT_INT_EN
	.no_dead_strip	_w90p910_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function w90p910_open
_w90p910_open:                          ; @w90p910_open
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_input_get_drvdata
	mov	x19, x0
	ldr	w0, [x0, #12]
	bl	_clk_enable
Lloh0:
	adrp	x8, _ADC_RST1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ADC_RST1@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	ldr	x1, [x19]
	bl	___raw_writel
	mov	w0, #1
	bl	_msleep
Lloh3:
	adrp	x8, _ADC_RST0@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ADC_RST0@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
	ldr	x1, [x19]
	bl	___raw_writel
	mov	w0, #1
	bl	_msleep
	ldr	x8, [x19]
	add	x0, x8, #4
	bl	___raw_readl
Lloh6:
	adrp	x8, _TSC_FOURWIRE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TSC_FOURWIRE@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	and	x0, x8, x0
	ldr	x8, [x19]
	add	x1, x8, #4
	bl	___raw_writel
Lloh9:
	adrp	x8, _ADC_DELAY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ADC_DELAY@GOTPAGEOFF]
Lloh11:
	ldr	x0, [x8]
	ldr	x8, [x19]
	add	x1, x8, #8
	bl	___raw_writel
Lloh12:
	adrp	x8, _TS_WAIT_NEW_PACKET@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TS_WAIT_NEW_PACKET@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	bl	_wmb
	ldr	x0, [x19]
	bl	___raw_readl
Lloh15:
	adrp	x8, _ADC_WAITTRIG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ADC_WAITTRIG@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
Lloh18:
	adrp	x9, _ADC_DIV@GOTPAGE
Lloh19:
	ldr	x9, [x9, _ADC_DIV@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
Lloh21:
	adrp	x10, _ADC_EN@GOTPAGE
Lloh22:
	ldr	x10, [x10, _ADC_EN@GOTPAGEOFF]
Lloh23:
	ldr	x10, [x10]
Lloh24:
	adrp	x11, _WT_INT_EN@GOTPAGE
Lloh25:
	ldr	x11, [x11, _WT_INT_EN@GOTPAGEOFF]
Lloh26:
	ldr	x11, [x11]
	orr	x8, x8, x0
	orr	x8, x8, x9
	orr	x8, x8, x10
	orr	x0, x8, x11
	ldr	x1, [x19]
	bl	___raw_writel
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ADC_RST1,8,3                   ; @ADC_RST1
	.comm	_ADC_RST0,8,3                   ; @ADC_RST0
	.comm	_TSC_FOURWIRE,8,3               ; @TSC_FOURWIRE
	.comm	_ADC_DELAY,8,3                  ; @ADC_DELAY
	.comm	_TS_WAIT_NEW_PACKET,4,2         ; @TS_WAIT_NEW_PACKET
	.comm	_ADC_WAITTRIG,8,3               ; @ADC_WAITTRIG
	.comm	_ADC_DIV,8,3                    ; @ADC_DIV
	.comm	_ADC_EN,8,3                     ; @ADC_EN
	.comm	_WT_INT_EN,8,3                  ; @WT_INT_EN
	.no_dead_strip	_w90p910_open
.subsections_via_symbols
