	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pmic8xxx_kpd_init
_pmic8xxx_kpd_init:                     ## @pmic8xxx_kpd_init
	.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	%rsi, %r14
	movq	%rdi, %r12
	movq	_KEYP_CTRL_SCAN_COLS_MIN@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	(%rdi), %rsi
	movl	%esi, %eax
	subl	%ecx, %eax
	xorl	%edx, %edx
	cmpq	%rcx, %rsi
	cmovll	%edx, %eax
	movq	_KEYP_CTRL_SCAN_COLS_BITS@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_KEYP_CTRL_SCAN_COLS_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movq	8(%rdi), %rcx
	movq	_KEYP_CTRL_SCAN_ROWS_MIN@GOTPCREL(%rip), %rsi
	subq	(%rsi), %rcx
	jl	LBB0_2
## %bb.1:
	leaq	_pmic8xxx_kpd_init.row_bits(%rip), %rdx
	movl	(%rdx,%rcx,4), %edx
LBB0_2:
	movq	(%r14), %r15
	movq	_KEYP_CTRL_SCAN_ROWS_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	orl	%eax, %edx
	movl	20(%r12), %edi
	movq	_KEYP_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_regmap_write
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	leaq	-40(%rbp), %rdx
	movq	%r15, %rdi
	callq	_of_property_read_u32
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	_MIN_SCAN_DELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movl	%eax, %edi
	jmp	LBB0_7
LBB0_3:
	movl	%eax, %ebx
	movslq	16(%r12), %rdi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_28
LBB0_5:
	movl	-40(%rbp), %edi
	movq	_MIN_SCAN_DELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_7:
	movq	_MAX_SCAN_DELAY@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %edi
	ja	LBB0_10
## %bb.8:
	cmpl	%eax, %edi
	jb	LBB0_10
## %bb.9:
	callq	_is_power_of_2
	testl	%eax, %eax
	je	LBB0_10
## %bb.12:
	leaq	L_.str.3(%rip), %rsi
	leaq	-36(%rbp), %rdx
	movq	%r15, %rdi
	callq	_of_property_read_u32
	testq	%rax, %rax
	je	LBB0_13
## %bb.14:
	movq	_MIN_ROW_HOLD_DELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	jmp	LBB0_15
LBB0_10:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_11
LBB0_13:
	movl	-36(%rbp), %eax
LBB0_15:
	movq	_MAX_ROW_HOLD_DELAY@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	ja	LBB0_18
## %bb.16:
	movq	_MIN_ROW_HOLD_DELAY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %eax
	jb	LBB0_18
## %bb.17:
	xorl	%edx, %edx
	divl	%ecx
	testl	%edx, %edx
	je	LBB0_19
LBB0_18:
	leaq	L_.str.4(%rip), %rsi
LBB0_11:
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_28:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	leaq	L_.str.5(%rip), %rsi
	leaq	-44(%rbp), %rdx
	movq	%r15, %rdi
	callq	_of_property_read_u32
	testq	%rax, %rax
	je	LBB0_20
## %bb.21:
	movq	_MIN_DEBOUNCE_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, -44(%rbp)
	movl	%ecx, %eax
	jmp	LBB0_22
LBB0_20:
	movl	-44(%rbp), %eax
	movq	_MIN_DEBOUNCE_TIME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_22:
	imull	$-858993459, %eax, %edx         ## imm = 0xCCCCCCCD
	cmpl	$858993459, %edx                ## imm = 0x33333333
	ja	LBB0_25
## %bb.23:
	movq	_MAX_DEBOUNCE_TIME@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	ja	LBB0_25
## %bb.24:
	cmpl	%ecx, %eax
	jb	LBB0_25
## %bb.26:
	movl	%eax, %eax
	movl	$3435973837, %ebx               ## imm = 0xCCCCCCCD
	imulq	%rax, %rbx
	shrq	$34, %rbx
	decl	%ebx
	movq	_KEYP_SCAN_DBOUNCE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %ebx
	movl	-40(%rbp), %edi
	callq	_fls
                                        ## kill: def $eax killed $eax def $rax
	leal	-1(%rax), %r8d
	movq	_KEYP_SCAN_PAUSE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r8d
	orl	%ebx, %r8d
	movq	_KEYP_CLOCK_FREQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	imull	-36(%rbp), %eax
	movq	_NSEC_PER_SEC@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	divl	(%rcx)
	movq	_KEYP_SCAN_ROW_HOLD_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	orl	%eax, %r8d
	movl	20(%r12), %edi
	movq	_KEYP_SCAN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r8d, %edx
	callq	_regmap_write
	testl	%eax, %eax
	je	LBB0_28
## %bb.27:
	movl	%eax, %r14d
	movslq	16(%r12), %rdi
	leaq	L_.str.7(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movl	%r14d, %ebx
	jmp	LBB0_28
LBB0_25:
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @pmic8xxx_kpd_init.row_bits
_pmic8xxx_kpd_init.row_bits:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	3                               ## 0x3
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	5                               ## 0x5
	.long	5                               ## 0x5
	.long	6                               ## 0x6
	.long	6                               ## 0x6
	.long	6                               ## 0x6
	.long	7                               ## 0x7
	.long	7                               ## 0x7
	.long	7                               ## 0x7

	.comm	_KEYP_CTRL_SCAN_COLS_MIN,8,3    ## @KEYP_CTRL_SCAN_COLS_MIN
	.comm	_KEYP_CTRL_SCAN_COLS_BITS,4,2   ## @KEYP_CTRL_SCAN_COLS_BITS
	.comm	_KEYP_CTRL_SCAN_COLS_SHIFT,4,2  ## @KEYP_CTRL_SCAN_COLS_SHIFT
	.comm	_KEYP_CTRL_SCAN_ROWS_MIN,8,3    ## @KEYP_CTRL_SCAN_ROWS_MIN
	.comm	_KEYP_CTRL_SCAN_ROWS_SHIFT,4,2  ## @KEYP_CTRL_SCAN_ROWS_SHIFT
	.comm	_KEYP_CTRL,4,2                  ## @KEYP_CTRL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error writing KEYP_CTRL reg, rc=%d\n"

L_.str.1:                               ## @.str.1
	.asciz	"scan-delay"

	.comm	_MIN_SCAN_DELAY,4,2             ## @MIN_SCAN_DELAY
	.comm	_MAX_SCAN_DELAY,4,2             ## @MAX_SCAN_DELAY
L_.str.2:                               ## @.str.2
	.asciz	"invalid keypad scan time supplied\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.3:                               ## @.str.3
	.asciz	"row-hold"

	.comm	_MIN_ROW_HOLD_DELAY,4,2         ## @MIN_ROW_HOLD_DELAY
	.comm	_MAX_ROW_HOLD_DELAY,4,2         ## @MAX_ROW_HOLD_DELAY
L_.str.4:                               ## @.str.4
	.asciz	"invalid keypad row hold time supplied\n"

L_.str.5:                               ## @.str.5
	.asciz	"debounce"

	.comm	_MIN_DEBOUNCE_TIME,4,2          ## @MIN_DEBOUNCE_TIME
	.comm	_MAX_DEBOUNCE_TIME,4,2          ## @MAX_DEBOUNCE_TIME
L_.str.6:                               ## @.str.6
	.asciz	"invalid debounce time supplied\n"

	.comm	_KEYP_SCAN_DBOUNCE_SHIFT,4,2    ## @KEYP_SCAN_DBOUNCE_SHIFT
	.comm	_KEYP_SCAN_PAUSE_SHIFT,4,2      ## @KEYP_SCAN_PAUSE_SHIFT
	.comm	_KEYP_CLOCK_FREQ,4,2            ## @KEYP_CLOCK_FREQ
	.comm	_NSEC_PER_SEC,4,2               ## @NSEC_PER_SEC
	.comm	_KEYP_SCAN_ROW_HOLD_SHIFT,4,2   ## @KEYP_SCAN_ROW_HOLD_SHIFT
	.comm	_KEYP_SCAN,4,2                  ## @KEYP_SCAN
L_.str.7:                               ## @.str.7
	.asciz	"Error writing KEYP_SCAN reg, rc=%d\n"

	.no_dead_strip	_pmic8xxx_kpd_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pmic8xxx_kpd_init
_pmic8xxx_kpd_init:                     ; @pmic8xxx_kpd_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x1
	mov	x19, x0
	mov	w8, #0
Lloh0:
	adrp	x9, _KEYP_CTRL_SCAN_COLS_MIN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _KEYP_CTRL_SCAN_COLS_MIN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldp	x10, x11, [x0]
	cmp	x10, x9
	sub	w9, w10, w9
	csel	w9, wzr, w9, lt
Lloh3:
	adrp	x10, _KEYP_CTRL_SCAN_COLS_BITS@GOTPAGE
Lloh4:
	ldr	x10, [x10, _KEYP_CTRL_SCAN_COLS_BITS@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	and	w9, w9, w10
Lloh6:
	adrp	x10, _KEYP_CTRL_SCAN_COLS_SHIFT@GOTPAGE
Lloh7:
	ldr	x10, [x10, _KEYP_CTRL_SCAN_COLS_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	lsl	w9, w9, w10
Lloh9:
	adrp	x10, _KEYP_CTRL_SCAN_ROWS_MIN@GOTPAGE
Lloh10:
	ldr	x10, [x10, _KEYP_CTRL_SCAN_ROWS_MIN@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	subs	x10, x11, x10
	b.lt	LBB0_2
; %bb.1:
Lloh12:
	adrp	x8, _pmic8xxx_kpd_init.row_bits@PAGE
Lloh13:
	add	x8, x8, _pmic8xxx_kpd_init.row_bits@PAGEOFF
	ldr	w8, [x8, x10, lsl #2]
LBB0_2:
	ldr	x21, [x20]
Lloh14:
	adrp	x10, _KEYP_CTRL_SCAN_ROWS_SHIFT@GOTPAGE
Lloh15:
	ldr	x10, [x10, _KEYP_CTRL_SCAN_ROWS_SHIFT@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
	lsl	w8, w8, w10
	orr	w2, w8, w9
	ldr	w0, [x19, #20]
Lloh17:
	adrp	x8, _KEYP_CTRL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _KEYP_CTRL@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	bl	_regmap_write
	tbnz	w0, #31, LBB0_5
; %bb.3:
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #28
	mov	x0, x21
	bl	_of_property_read_u32
	cbz	x0, LBB0_6
; %bb.4:
Lloh22:
	adrp	x8, _MIN_SCAN_DELAY@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MIN_SCAN_DELAY@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	str	w8, [sp, #28]
	mov	x0, x8
	b	LBB0_7
LBB0_5:
	mov	x22, x0
	ldrsw	x0, [x19, #16]
	str	x22, [sp]
Lloh25:
	adrp	x1, l_.str@PAGE
Lloh26:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	b	LBB0_19
LBB0_6:
	ldr	w0, [sp, #28]
Lloh27:
	adrp	x8, _MIN_SCAN_DELAY@GOTPAGE
Lloh28:
	ldr	x8, [x8, _MIN_SCAN_DELAY@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
LBB0_7:
Lloh30:
	adrp	x9, _MAX_SCAN_DELAY@GOTPAGE
Lloh31:
	ldr	x9, [x9, _MAX_SCAN_DELAY@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	cmp	w0, w9
	b.hi	LBB0_12
; %bb.8:
	cmp	w0, w8
	b.lo	LBB0_12
; %bb.9:
	bl	_is_power_of_2
	cbz	w0, LBB0_12
; %bb.10:
Lloh33:
	adrp	x1, l_.str.3@PAGE
Lloh34:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x2, sp, #24
	mov	x0, x21
	bl	_of_property_read_u32
Lloh35:
	adrp	x9, _MIN_ROW_HOLD_DELAY@GOTPAGE
Lloh36:
	ldr	x9, [x9, _MIN_ROW_HOLD_DELAY@GOTPAGEOFF]
	cbz	x0, LBB0_13
; %bb.11:
	ldr	w8, [x9]
	str	w8, [sp, #24]
	b	LBB0_14
LBB0_12:
Lloh37:
	adrp	x1, l_.str.2@PAGE
Lloh38:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_18
LBB0_13:
	ldr	w8, [sp, #24]
LBB0_14:
Lloh39:
	adrp	x10, _MAX_ROW_HOLD_DELAY@GOTPAGE
Lloh40:
	ldr	x10, [x10, _MAX_ROW_HOLD_DELAY@GOTPAGEOFF]
Lloh41:
	ldr	w10, [x10]
	cmp	w8, w10
	b.hi	LBB0_17
; %bb.15:
	ldr	w9, [x9]
	cmp	w8, w9
	b.lo	LBB0_17
; %bb.16:
	udiv	w10, w8, w9
	msub	w8, w10, w9, w8
	cbz	w8, LBB0_20
LBB0_17:
Lloh42:
	adrp	x1, l_.str.4@PAGE
Lloh43:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_18:
	mov	x0, x20
	bl	_dev_err
Lloh44:
	adrp	x8, _EINVAL@GOTPAGE
Lloh45:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_19:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_20:
Lloh47:
	adrp	x1, l_.str.5@PAGE
Lloh48:
	add	x1, x1, l_.str.5@PAGEOFF
	add	x2, sp, #20
	mov	x0, x21
	bl	_of_property_read_u32
	cbz	x0, LBB0_22
; %bb.21:
Lloh49:
	adrp	x8, _MIN_DEBOUNCE_TIME@GOTPAGE
Lloh50:
	ldr	x8, [x8, _MIN_DEBOUNCE_TIME@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
	str	w8, [sp, #20]
	mov	x9, x8
	b	LBB0_23
LBB0_22:
	ldr	w9, [sp, #20]
Lloh52:
	adrp	x8, _MIN_DEBOUNCE_TIME@GOTPAGE
Lloh53:
	ldr	x8, [x8, _MIN_DEBOUNCE_TIME@GOTPAGEOFF]
Lloh54:
	ldr	w8, [x8]
LBB0_23:
	mov	w10, #52429
	movk	w10, #52428, lsl #16
	umull	x10, w9, w10
	lsr	x10, x10, #34
	add	w11, w10, w10, lsl #2
	cmp	w9, w11
	b.ne	LBB0_28
; %bb.24:
Lloh55:
	adrp	x11, _MAX_DEBOUNCE_TIME@GOTPAGE
Lloh56:
	ldr	x11, [x11, _MAX_DEBOUNCE_TIME@GOTPAGEOFF]
Lloh57:
	ldr	w11, [x11]
	cmp	w9, w11
	b.hi	LBB0_28
; %bb.25:
	cmp	w9, w8
	b.lo	LBB0_28
; %bb.26:
	sub	w8, w10, #1
Lloh58:
	adrp	x9, _KEYP_SCAN_DBOUNCE_SHIFT@GOTPAGE
Lloh59:
	ldr	x9, [x9, _KEYP_SCAN_DBOUNCE_SHIFT@GOTPAGEOFF]
Lloh60:
	ldr	w9, [x9]
	lsl	w20, w8, w9
	ldr	w0, [sp, #28]
	bl	_fls
	sub	w8, w0, #1
Lloh61:
	adrp	x9, _KEYP_SCAN_PAUSE_SHIFT@GOTPAGE
Lloh62:
	ldr	x9, [x9, _KEYP_SCAN_PAUSE_SHIFT@GOTPAGEOFF]
Lloh63:
	ldr	w9, [x9]
	lsl	w8, w8, w9
	orr	w8, w8, w20
	ldr	w9, [sp, #24]
Lloh64:
	adrp	x10, _KEYP_CLOCK_FREQ@GOTPAGE
Lloh65:
	ldr	x10, [x10, _KEYP_CLOCK_FREQ@GOTPAGEOFF]
Lloh66:
	ldr	w10, [x10]
Lloh67:
	adrp	x11, _NSEC_PER_SEC@GOTPAGE
Lloh68:
	ldr	x11, [x11, _NSEC_PER_SEC@GOTPAGEOFF]
	mul	w9, w10, w9
Lloh69:
	ldr	w10, [x11]
	udiv	w9, w9, w10
Lloh70:
	adrp	x10, _KEYP_SCAN_ROW_HOLD_SHIFT@GOTPAGE
Lloh71:
	ldr	x10, [x10, _KEYP_SCAN_ROW_HOLD_SHIFT@GOTPAGEOFF]
Lloh72:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w2, w8, w9
	ldr	w0, [x19, #20]
Lloh73:
	adrp	x8, _KEYP_SCAN@GOTPAGE
Lloh74:
	ldr	x8, [x8, _KEYP_SCAN@GOTPAGEOFF]
Lloh75:
	ldr	w1, [x8]
	bl	_regmap_write
	mov	x22, x0
	cbz	w0, LBB0_19
; %bb.27:
	ldrsw	x0, [x19, #16]
	str	x22, [sp]
Lloh76:
	adrp	x1, l_.str.7@PAGE
Lloh77:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_dev_err
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	b	LBB0_19
LBB0_28:
Lloh78:
	adrp	x1, l_.str.6@PAGE
Lloh79:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_18
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpAdd	Lloh78, Lloh79
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @pmic8xxx_kpd_init.row_bits
_pmic8xxx_kpd_init.row_bits:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.long	4                               ; 0x4
	.long	4                               ; 0x4
	.long	5                               ; 0x5
	.long	5                               ; 0x5
	.long	6                               ; 0x6
	.long	6                               ; 0x6
	.long	6                               ; 0x6
	.long	7                               ; 0x7
	.long	7                               ; 0x7
	.long	7                               ; 0x7

	.comm	_KEYP_CTRL_SCAN_COLS_MIN,8,3    ; @KEYP_CTRL_SCAN_COLS_MIN
	.comm	_KEYP_CTRL_SCAN_COLS_BITS,4,2   ; @KEYP_CTRL_SCAN_COLS_BITS
	.comm	_KEYP_CTRL_SCAN_COLS_SHIFT,4,2  ; @KEYP_CTRL_SCAN_COLS_SHIFT
	.comm	_KEYP_CTRL_SCAN_ROWS_MIN,8,3    ; @KEYP_CTRL_SCAN_ROWS_MIN
	.comm	_KEYP_CTRL_SCAN_ROWS_SHIFT,4,2  ; @KEYP_CTRL_SCAN_ROWS_SHIFT
	.comm	_KEYP_CTRL,4,2                  ; @KEYP_CTRL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error writing KEYP_CTRL reg, rc=%d\n"

l_.str.1:                               ; @.str.1
	.asciz	"scan-delay"

	.comm	_MIN_SCAN_DELAY,4,2             ; @MIN_SCAN_DELAY
	.comm	_MAX_SCAN_DELAY,4,2             ; @MAX_SCAN_DELAY
l_.str.2:                               ; @.str.2
	.asciz	"invalid keypad scan time supplied\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.3:                               ; @.str.3
	.asciz	"row-hold"

	.comm	_MIN_ROW_HOLD_DELAY,4,2         ; @MIN_ROW_HOLD_DELAY
	.comm	_MAX_ROW_HOLD_DELAY,4,2         ; @MAX_ROW_HOLD_DELAY
l_.str.4:                               ; @.str.4
	.asciz	"invalid keypad row hold time supplied\n"

l_.str.5:                               ; @.str.5
	.asciz	"debounce"

	.comm	_MIN_DEBOUNCE_TIME,4,2          ; @MIN_DEBOUNCE_TIME
	.comm	_MAX_DEBOUNCE_TIME,4,2          ; @MAX_DEBOUNCE_TIME
l_.str.6:                               ; @.str.6
	.asciz	"invalid debounce time supplied\n"

	.comm	_KEYP_SCAN_DBOUNCE_SHIFT,4,2    ; @KEYP_SCAN_DBOUNCE_SHIFT
	.comm	_KEYP_SCAN_PAUSE_SHIFT,4,2      ; @KEYP_SCAN_PAUSE_SHIFT
	.comm	_KEYP_CLOCK_FREQ,4,2            ; @KEYP_CLOCK_FREQ
	.comm	_NSEC_PER_SEC,4,2               ; @NSEC_PER_SEC
	.comm	_KEYP_SCAN_ROW_HOLD_SHIFT,4,2   ; @KEYP_SCAN_ROW_HOLD_SHIFT
	.comm	_KEYP_SCAN,4,2                  ; @KEYP_SCAN
l_.str.7:                               ; @.str.7
	.asciz	"Error writing KEYP_SCAN reg, rc=%d\n"

	.no_dead_strip	_pmic8xxx_kpd_init
.subsections_via_symbols
