	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ep93xx_keypad_config
_ep93xx_keypad_config:                  ## @ep93xx_keypad_config
	.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, %r14
	movq	16(%rdi), %rbx
	movl	8(%rdi), %edi
	movl	12(%rbx), %esi
	callq	_clk_set_rate
	movq	_EP93XX_KEYPAD_DISABLE_3_KEY@GOTPCREL(%rip), %rax
	movl	(%rbx), %edx
	movl	(%rax), %ecx
	andl	%edx, %ecx
	je	LBB0_2
## %bb.1:
	movq	_KEY_INIT_DIS3KY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_2:
	movq	_EP93XX_KEYPAD_DIAG_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%edx, %eax
	je	LBB0_4
## %bb.3:
	movq	_KEY_INIT_DIAG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	movq	_EP93XX_KEYPAD_BACK_DRIVE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %edi
	andl	%edx, %edi
	je	LBB0_6
## %bb.5:
	movq	_KEY_INIT_BACK@GOTPCREL(%rip), %rsi
	movl	(%rsi), %edi
LBB0_6:
	movl	4(%rbx), %esi
	orl	%ecx, %eax
	movq	_EP93XX_KEYPAD_TEST_MODE@GOTPCREL(%rip), %rcx
	andl	(%rcx), %edx
	je	LBB0_8
## %bb.7:
	movq	_KEY_INIT_T2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
LBB0_8:
	movq	_KEY_INIT_DBNC_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %esi
	orl	%edx, %edi
	movq	_KEY_INIT_DBNC_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %esi
	orl	%edi, %eax
	movl	8(%rbx), %edi
	movq	_KEY_INIT_PRSCL_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edi
	movq	_KEY_INIT_PRSCL_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %edi
	orl	%esi, %edi
	orl	%eax, %edi
	movq	_KEY_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	___raw_writel                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EP93XX_KEYPAD_DISABLE_3_KEY,4,2 ## @EP93XX_KEYPAD_DISABLE_3_KEY
	.comm	_KEY_INIT_DIS3KY,4,2            ## @KEY_INIT_DIS3KY
	.comm	_EP93XX_KEYPAD_DIAG_MODE,4,2    ## @EP93XX_KEYPAD_DIAG_MODE
	.comm	_KEY_INIT_DIAG,4,2              ## @KEY_INIT_DIAG
	.comm	_EP93XX_KEYPAD_BACK_DRIVE,4,2   ## @EP93XX_KEYPAD_BACK_DRIVE
	.comm	_KEY_INIT_BACK,4,2              ## @KEY_INIT_BACK
	.comm	_EP93XX_KEYPAD_TEST_MODE,4,2    ## @EP93XX_KEYPAD_TEST_MODE
	.comm	_KEY_INIT_T2,4,2                ## @KEY_INIT_T2
	.comm	_KEY_INIT_DBNC_SHIFT,4,2        ## @KEY_INIT_DBNC_SHIFT
	.comm	_KEY_INIT_DBNC_MASK,4,2         ## @KEY_INIT_DBNC_MASK
	.comm	_KEY_INIT_PRSCL_SHIFT,4,2       ## @KEY_INIT_PRSCL_SHIFT
	.comm	_KEY_INIT_PRSCL_MASK,4,2        ## @KEY_INIT_PRSCL_MASK
	.comm	_KEY_INIT,8,3                   ## @KEY_INIT
	.no_dead_strip	_ep93xx_keypad_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ep93xx_keypad_config
_ep93xx_keypad_config:                  ; @ep93xx_keypad_config
	.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	x19, x0
	ldr	x20, [x0, #16]
	ldr	w0, [x0, #8]
	ldr	w1, [x20, #12]
	bl	_clk_set_rate
Lloh0:
	adrp	x8, _EP93XX_KEYPAD_DISABLE_3_KEY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EP93XX_KEYPAD_DISABLE_3_KEY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _KEY_INIT_DIS3KY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _KEY_INIT_DIS3KY@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	ldp	w10, w11, [x20]
	tst	w8, w10
	csel	w8, wzr, w9, eq
Lloh6:
	adrp	x9, _EP93XX_KEYPAD_DIAG_MODE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _EP93XX_KEYPAD_DIAG_MODE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x12, _KEY_INIT_DIAG@GOTPAGE
Lloh10:
	ldr	x12, [x12, _KEY_INIT_DIAG@GOTPAGEOFF]
Lloh11:
	ldr	w12, [x12]
	tst	w9, w10
	csel	w9, wzr, w12, eq
Lloh12:
	adrp	x12, _EP93XX_KEYPAD_BACK_DRIVE@GOTPAGE
Lloh13:
	ldr	x12, [x12, _EP93XX_KEYPAD_BACK_DRIVE@GOTPAGEOFF]
Lloh14:
	ldr	w12, [x12]
Lloh15:
	adrp	x13, _KEY_INIT_BACK@GOTPAGE
Lloh16:
	ldr	x13, [x13, _KEY_INIT_BACK@GOTPAGEOFF]
Lloh17:
	ldr	w13, [x13]
	tst	w12, w10
Lloh18:
	adrp	x12, _EP93XX_KEYPAD_TEST_MODE@GOTPAGE
Lloh19:
	ldr	x12, [x12, _EP93XX_KEYPAD_TEST_MODE@GOTPAGEOFF]
	csel	w13, wzr, w13, eq
Lloh20:
	ldr	w12, [x12]
	tst	w12, w10
	orr	w8, w9, w8
Lloh21:
	adrp	x9, _KEY_INIT_T2@GOTPAGE
Lloh22:
	ldr	x9, [x9, _KEY_INIT_T2@GOTPAGEOFF]
	orr	w8, w8, w13
Lloh23:
	ldr	w9, [x9]
	csel	w9, wzr, w9, eq
	orr	w8, w8, w9
Lloh24:
	adrp	x9, _KEY_INIT_DBNC_SHIFT@GOTPAGE
Lloh25:
	ldr	x9, [x9, _KEY_INIT_DBNC_SHIFT@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	lsl	w9, w11, w9
Lloh27:
	adrp	x10, _KEY_INIT_DBNC_MASK@GOTPAGE
Lloh28:
	ldr	x10, [x10, _KEY_INIT_DBNC_MASK@GOTPAGEOFF]
Lloh29:
	ldr	w10, [x10]
	and	w9, w9, w10
	orr	w8, w8, w9
	ldr	w9, [x20, #8]
Lloh30:
	adrp	x10, _KEY_INIT_PRSCL_SHIFT@GOTPAGE
Lloh31:
	ldr	x10, [x10, _KEY_INIT_PRSCL_SHIFT@GOTPAGEOFF]
Lloh32:
	ldr	w10, [x10]
	lsl	w9, w9, w10
Lloh33:
	adrp	x10, _KEY_INIT_PRSCL_MASK@GOTPAGE
Lloh34:
	ldr	x10, [x10, _KEY_INIT_PRSCL_MASK@GOTPAGEOFF]
Lloh35:
	ldr	w10, [x10]
	and	w9, w9, w10
	orr	w0, w8, w9
	ldr	x8, [x19]
Lloh36:
	adrp	x9, _KEY_INIT@GOTPAGE
Lloh37:
	ldr	x9, [x9, _KEY_INIT@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	add	x1, x9, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	___raw_writel
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.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	_EP93XX_KEYPAD_DISABLE_3_KEY,4,2 ; @EP93XX_KEYPAD_DISABLE_3_KEY
	.comm	_KEY_INIT_DIS3KY,4,2            ; @KEY_INIT_DIS3KY
	.comm	_EP93XX_KEYPAD_DIAG_MODE,4,2    ; @EP93XX_KEYPAD_DIAG_MODE
	.comm	_KEY_INIT_DIAG,4,2              ; @KEY_INIT_DIAG
	.comm	_EP93XX_KEYPAD_BACK_DRIVE,4,2   ; @EP93XX_KEYPAD_BACK_DRIVE
	.comm	_KEY_INIT_BACK,4,2              ; @KEY_INIT_BACK
	.comm	_EP93XX_KEYPAD_TEST_MODE,4,2    ; @EP93XX_KEYPAD_TEST_MODE
	.comm	_KEY_INIT_T2,4,2                ; @KEY_INIT_T2
	.comm	_KEY_INIT_DBNC_SHIFT,4,2        ; @KEY_INIT_DBNC_SHIFT
	.comm	_KEY_INIT_DBNC_MASK,4,2         ; @KEY_INIT_DBNC_MASK
	.comm	_KEY_INIT_PRSCL_SHIFT,4,2       ; @KEY_INIT_PRSCL_SHIFT
	.comm	_KEY_INIT_PRSCL_MASK,4,2        ; @KEY_INIT_PRSCL_MASK
	.comm	_KEY_INIT,8,3                   ; @KEY_INIT
	.no_dead_strip	_ep93xx_keypad_config
.subsections_via_symbols
