	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function omap4_keypad_open
_omap4_keypad_open:                     ## @omap4_keypad_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_input_get_drvdata
	movq	%rax, %r14
	movl	(%rbx), %edi
	callq	_pm_runtime_get_sync
	movl	(%r14), %edi
	callq	_disable_irq
	movq	_OMAP4_KBD_CTRL@GOTPCREL(%rip), %rax
	movq	_OMAP4_KEYPAD_PTV_DIV_128@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_OMAP4_DEF_CTRL_PTV_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	movl	(%rax), %esi
	movq	_OMAP4_DEF_CTRL_NOSOFTMODE@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r14, %rdi
	callq	_kbd_writel
	movq	_OMAP4_KBD_DEBOUNCINGTIME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OMAP4_VAL_DEBOUNCINGTIME_16MS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_kbd_writel
	movq	_OMAP4_KBD_IRQSTATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_kbd_read_irqreg
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_kbd_write_irqreg
	movq	_OMAP4_KBD_IRQENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OMAP4_DEF_IRQENABLE_EVENTEN@GOTPCREL(%rip), %rax
	movq	_OMAP4_DEF_IRQENABLE_LONGKEY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%r14, %rdi
	callq	_kbd_write_irqreg
	movq	_OMAP4_KBD_WAKEUPENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OMAP4_DEF_WUP_EVENT_ENA@GOTPCREL(%rip), %rax
	movq	_OMAP4_DEF_WUP_LONG_KEY_ENA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%r14, %rdi
	callq	_kbd_writel
	movl	(%r14), %edi
	callq	_enable_irq
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OMAP4_KBD_CTRL,4,2             ## @OMAP4_KBD_CTRL
	.comm	_OMAP4_DEF_CTRL_NOSOFTMODE,4,2  ## @OMAP4_DEF_CTRL_NOSOFTMODE
	.comm	_OMAP4_KEYPAD_PTV_DIV_128,4,2   ## @OMAP4_KEYPAD_PTV_DIV_128
	.comm	_OMAP4_DEF_CTRL_PTV_SHIFT,4,2   ## @OMAP4_DEF_CTRL_PTV_SHIFT
	.comm	_OMAP4_KBD_DEBOUNCINGTIME,4,2   ## @OMAP4_KBD_DEBOUNCINGTIME
	.comm	_OMAP4_VAL_DEBOUNCINGTIME_16MS,4,2 ## @OMAP4_VAL_DEBOUNCINGTIME_16MS
	.comm	_OMAP4_KBD_IRQSTATUS,4,2        ## @OMAP4_KBD_IRQSTATUS
	.comm	_OMAP4_KBD_IRQENABLE,4,2        ## @OMAP4_KBD_IRQENABLE
	.comm	_OMAP4_DEF_IRQENABLE_EVENTEN,4,2 ## @OMAP4_DEF_IRQENABLE_EVENTEN
	.comm	_OMAP4_DEF_IRQENABLE_LONGKEY,4,2 ## @OMAP4_DEF_IRQENABLE_LONGKEY
	.comm	_OMAP4_KBD_WAKEUPENABLE,4,2     ## @OMAP4_KBD_WAKEUPENABLE
	.comm	_OMAP4_DEF_WUP_EVENT_ENA,4,2    ## @OMAP4_DEF_WUP_EVENT_ENA
	.comm	_OMAP4_DEF_WUP_LONG_KEY_ENA,4,2 ## @OMAP4_DEF_WUP_LONG_KEY_ENA
	.no_dead_strip	_omap4_keypad_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function omap4_keypad_open
_omap4_keypad_open:                     ; @omap4_keypad_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
	mov	x20, x0
	bl	_input_get_drvdata
	mov	x19, x0
	ldr	w0, [x20]
	bl	_pm_runtime_get_sync
	ldr	w0, [x19]
	bl	_disable_irq
Lloh0:
	adrp	x8, _OMAP4_KBD_CTRL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OMAP4_KBD_CTRL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _OMAP4_DEF_CTRL_NOSOFTMODE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OMAP4_DEF_CTRL_NOSOFTMODE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _OMAP4_KEYPAD_PTV_DIV_128@GOTPAGE
Lloh7:
	ldr	x9, [x9, _OMAP4_KEYPAD_PTV_DIV_128@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _OMAP4_DEF_CTRL_PTV_SHIFT@GOTPAGE
Lloh10:
	ldr	x10, [x10, _OMAP4_DEF_CTRL_PTV_SHIFT@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w2, w9, w8
	mov	x0, x19
	bl	_kbd_writel
Lloh12:
	adrp	x8, _OMAP4_KBD_DEBOUNCINGTIME@GOTPAGE
Lloh13:
	ldr	x8, [x8, _OMAP4_KBD_DEBOUNCINGTIME@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _OMAP4_VAL_DEBOUNCINGTIME_16MS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _OMAP4_VAL_DEBOUNCINGTIME_16MS@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_kbd_writel
Lloh18:
	adrp	x8, _OMAP4_KBD_IRQSTATUS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _OMAP4_KBD_IRQSTATUS@GOTPAGEOFF]
Lloh20:
	ldr	w20, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_kbd_read_irqreg
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_kbd_write_irqreg
Lloh21:
	adrp	x8, _OMAP4_KBD_IRQENABLE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _OMAP4_KBD_IRQENABLE@GOTPAGEOFF]
Lloh23:
	adrp	x9, _OMAP4_DEF_IRQENABLE_EVENTEN@GOTPAGE
Lloh24:
	ldr	x9, [x9, _OMAP4_DEF_IRQENABLE_EVENTEN@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
Lloh26:
	ldr	w8, [x9]
Lloh27:
	adrp	x9, _OMAP4_DEF_IRQENABLE_LONGKEY@GOTPAGE
Lloh28:
	ldr	x9, [x9, _OMAP4_DEF_IRQENABLE_LONGKEY@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_kbd_write_irqreg
Lloh30:
	adrp	x8, _OMAP4_KBD_WAKEUPENABLE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _OMAP4_KBD_WAKEUPENABLE@GOTPAGEOFF]
Lloh32:
	adrp	x9, _OMAP4_DEF_WUP_EVENT_ENA@GOTPAGE
Lloh33:
	ldr	x9, [x9, _OMAP4_DEF_WUP_EVENT_ENA@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
Lloh35:
	ldr	w8, [x9]
Lloh36:
	adrp	x9, _OMAP4_DEF_WUP_LONG_KEY_ENA@GOTPAGE
Lloh37:
	ldr	x9, [x9, _OMAP4_DEF_WUP_LONG_KEY_ENA@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_kbd_writel
	ldr	w0, [x19]
	bl	_enable_irq
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh34
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh25
	.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	_OMAP4_KBD_CTRL,4,2             ; @OMAP4_KBD_CTRL
	.comm	_OMAP4_DEF_CTRL_NOSOFTMODE,4,2  ; @OMAP4_DEF_CTRL_NOSOFTMODE
	.comm	_OMAP4_KEYPAD_PTV_DIV_128,4,2   ; @OMAP4_KEYPAD_PTV_DIV_128
	.comm	_OMAP4_DEF_CTRL_PTV_SHIFT,4,2   ; @OMAP4_DEF_CTRL_PTV_SHIFT
	.comm	_OMAP4_KBD_DEBOUNCINGTIME,4,2   ; @OMAP4_KBD_DEBOUNCINGTIME
	.comm	_OMAP4_VAL_DEBOUNCINGTIME_16MS,4,2 ; @OMAP4_VAL_DEBOUNCINGTIME_16MS
	.comm	_OMAP4_KBD_IRQSTATUS,4,2        ; @OMAP4_KBD_IRQSTATUS
	.comm	_OMAP4_KBD_IRQENABLE,4,2        ; @OMAP4_KBD_IRQENABLE
	.comm	_OMAP4_DEF_IRQENABLE_EVENTEN,4,2 ; @OMAP4_DEF_IRQENABLE_EVENTEN
	.comm	_OMAP4_DEF_IRQENABLE_LONGKEY,4,2 ; @OMAP4_DEF_IRQENABLE_LONGKEY
	.comm	_OMAP4_KBD_WAKEUPENABLE,4,2     ; @OMAP4_KBD_WAKEUPENABLE
	.comm	_OMAP4_DEF_WUP_EVENT_ENA,4,2    ; @OMAP4_DEF_WUP_EVENT_ENA
	.comm	_OMAP4_DEF_WUP_LONG_KEY_ENA,4,2 ; @OMAP4_DEF_WUP_LONG_KEY_ENA
	.no_dead_strip	_omap4_keypad_open
.subsections_via_symbols
