	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tegra_kbc_parse_dt
_tegra_kbc_parse_dt:                    ## @tegra_kbc_parse_dt
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	%rsp, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	32(%rdi), %rax
	movq	(%rax), %r12
	movq	_KBC_MAX_GPIO@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movl	(%r15), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -104(%rbp)                ## 8-byte Spill
	leaq	L_.str(%rip), %rsi
	leaq	-64(%rbp), %rdx
	movq	%r12, %rdi
	callq	_of_property_read_u32
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	-64(%rbp), %eax
	movl	%eax, (%rbx)
LBB0_2:
	leaq	L_.str.1(%rip), %rsi
	leaq	-64(%rbp), %rdx
	movq	%r12, %rdi
	callq	_of_property_read_u32
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movl	-64(%rbp), %eax
	movl	%eax, 4(%rbx)
LBB0_4:
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_of_find_property
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	$1, 8(%rbx)
LBB0_6:
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	callq	_of_property_read_bool
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	callq	_of_property_read_bool
	testq	%rax, %rax
	je	LBB0_9
LBB0_8:
	movl	$1, 12(%rbx)
LBB0_9:
	leaq	L_.str.5(%rip), %rsi
	leaq	-60(%rbp), %rdx
	movq	%r12, %rdi
	callq	_of_get_property
	movq	_ENOENT@GOTPCREL(%rip), %r15
	testl	%eax, %eax
	je	LBB0_13
## %bb.10:
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	%r14, %rbx
	movl	-60(%rbp), %r14d
	leaq	L_.str.7(%rip), %rsi
	leaq	-60(%rbp), %rdx
	movq	%r12, %rdi
	callq	_of_get_property
	testl	%eax, %eax
	je	LBB0_14
## %bb.11:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	%r14d, %r13d
	sarl	$2, %r13d
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	40(%rbx), %rax
	movq	_EINVAL@GOTPCREL(%rip), %rdi
	cmpl	(%rax), %r13d
	jle	LBB0_15
## %bb.12:
	leaq	L_.str.9(%rip), %rsi
	jmp	LBB0_17
LBB0_13:
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_19
LBB0_14:
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %r14
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_19
LBB0_15:
	movl	-60(%rbp), %ecx
	movl	%ecx, %edx
	sarl	$2, %edx
	cmpl	4(%rax), %edx
	jle	LBB0_22
## %bb.16:
	leaq	L_.str.10(%rip), %rsi
LBB0_17:
	movq	%rdi, %r15
LBB0_18:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_19:
	movq	32(%rbx), %rdi
	callq	_dev_err
	xorl	%eax, %eax
	subl	(%r15), %eax
LBB0_20:
	movq	%r14, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_57
## %bb.21:
                                        ## kill: def $eax killed $eax killed $rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	movl	%r14d, -72(%rbp)                ## 4-byte Spill
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
	leaq	L_.str.11(%rip), %rsi
	leaq	-60(%rbp), %rdx
	movq	%r12, %rdi
	callq	_of_get_property
	testl	%eax, %eax
	je	LBB0_27
## %bb.23:
	leaq	L_.str.13(%rip), %rsi
	cmpl	$4, -72(%rbp)                   ## 4-byte Folded Reload
	jb	LBB0_44
## %bb.24:
	cmpl	$4, -68(%rbp)                   ## 4-byte Folded Reload
	movq	_EINVAL@GOTPCREL(%rip), %r15
	jb	LBB0_18
## %bb.25:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	addl	%r13d, %eax
	movq	_KBC_MAX_GPIO@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jg	LBB0_18
## %bb.29:
	movl	16(%rbx), %edx
	testl	%edx, %edx
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	movq	-104(%rbp), %r14                ## 8-byte Reload
	jle	LBB0_37
## %bb.30:
	movq	24(%rbx), %rcx
	leaq	-1(%rdx), %rsi
	movl	%edx, %r8d
	andl	$3, %r8d
	cmpq	$3, %rsi
	jae	LBB0_32
## %bb.31:
	xorl	%esi, %esi
	jmp	LBB0_34
LBB0_27:
	leaq	L_.str.12(%rip), %rsi
	jmp	LBB0_18
LBB0_32:
	andl	$-4, %edx
	xorl	%esi, %esi
	movq	_PIN_CFG_IGNORE@GOTPCREL(%rip), %rdi
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdi), %eax
	movl	%eax, 4(%rcx,%rsi,8)
	movl	(%rdi), %eax
	movl	%eax, 12(%rcx,%rsi,8)
	movl	(%rdi), %eax
	movl	%eax, 20(%rcx,%rsi,8)
	movl	(%rdi), %eax
	movl	%eax, 28(%rcx,%rsi,8)
	addq	$4, %rsi
	cmpq	%rsi, %rdx
	jne	LBB0_33
LBB0_34:
	testq	%r8, %r8
	je	LBB0_37
## %bb.35:
	leaq	(%rcx,%rsi,8), %rcx
	addq	$4, %rcx
	xorl	%edx, %edx
	movq	_PIN_CFG_IGNORE@GOTPCREL(%rip), %rsi
LBB0_36:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rsi), %eax
	movl	%eax, (%rcx,%rdx,8)
	incq	%rdx
	cmpq	%rdx, %r8
	jne	LBB0_36
LBB0_37:
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdi
	movq	%r14, %rdx
	movl	%r13d, %ecx
	callq	_of_property_read_u32_array
	testl	%eax, %eax
	js	LBB0_42
## %bb.38:
	leaq	L_.str.7(%rip), %rsi
	movq	%r12, %rdi
	movq	%r15, %rdx
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_of_property_read_u32_array
	testl	%eax, %eax
	js	LBB0_43
## %bb.39:
	movl	-72(%rbp), %ecx                 ## 4-byte Reload
	cmpl	$4, %ecx
	jl	LBB0_50
## %bb.40:
	movq	24(%rbx), %rax
	cmpl	$2, %r13d
	movl	$1, %r8d
	cmovgel	%r13d, %r8d
	cmpl	$8, %ecx
	jge	LBB0_45
## %bb.41:
	xorl	%edx, %edx
	jmp	LBB0_48
LBB0_42:
	leaq	L_.str.14(%rip), %rsi
	jmp	LBB0_44
LBB0_43:
	leaq	L_.str.15(%rip), %rsi
LBB0_44:
	movq	_EINVAL@GOTPCREL(%rip), %r15
	jmp	LBB0_18
LBB0_45:
	movl	%r8d, %esi
	andl	$2147483646, %esi               ## imm = 0x7FFFFFFE
	xorl	%edx, %edx
	movq	_PIN_CFG_ROW@GOTPCREL(%rip), %rdi
LBB0_46:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdi), %ebx
	movslq	(%r14,%rdx,4), %rcx
	movl	%ebx, 4(%rax,%rcx,8)
	movslq	(%r14,%rdx,4), %rcx
	movl	%edx, (%rax,%rcx,8)
	movl	(%rdi), %ecx
	movslq	4(%r14,%rdx,4), %rbx
	movl	%ecx, 4(%rax,%rbx,8)
	movslq	4(%r14,%rdx,4), %rcx
	leal	1(%rdx), %ebx
	movl	%ebx, (%rax,%rcx,8)
	addq	$2, %rdx
	cmpq	%rsi, %rdx
	jne	LBB0_46
## %bb.47:
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
LBB0_48:
	testb	$1, %r8b
	je	LBB0_50
## %bb.49:
	movq	_PIN_CFG_ROW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movslq	(%r14,%rdx,4), %rsi
	movl	%ecx, 4(%rax,%rsi,8)
	movslq	(%r14,%rdx,4), %rcx
	movl	%edx, (%rax,%rcx,8)
LBB0_50:
	xorl	%eax, %eax
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	cmpl	$4, %edx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jl	LBB0_20
## %bb.51:
	movq	24(%rbx), %rcx
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	cmpl	$2, %eax
	movl	$1, %r8d
	cmovgel	%eax, %r8d
	xorl	%eax, %eax
	cmpl	$8, %edx
	jge	LBB0_53
## %bb.52:
	xorl	%esi, %esi
	jmp	LBB0_55
LBB0_53:
	movl	%r8d, %r9d
	andl	$2147483646, %r9d               ## imm = 0x7FFFFFFE
	xorl	%esi, %esi
	movq	_PIN_CFG_COL@GOTPCREL(%rip), %rbx
LBB0_54:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edx
	movslq	(%r15,%rsi,4), %rdi
	movl	%edx, 4(%rcx,%rdi,8)
	movslq	(%r15,%rsi,4), %rdx
	movl	%esi, (%rcx,%rdx,8)
	movl	(%rbx), %edx
	movslq	4(%r15,%rsi,4), %rdi
	movl	%edx, 4(%rcx,%rdi,8)
	movslq	4(%r15,%rsi,4), %rdx
	leal	1(%rsi), %edi
	movl	%edi, (%rcx,%rdx,8)
	addq	$2, %rsi
	cmpq	%r9, %rsi
	jne	LBB0_54
LBB0_55:
	testb	$1, %r8b
	je	LBB0_20
## %bb.56:
	movq	_PIN_CFG_COL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movslq	(%r15,%rsi,4), %rdi
	movl	%edx, 4(%rcx,%rdi,8)
	movslq	(%r15,%rsi,4), %rdx
	movl	%esi, (%rcx,%rdx,8)
	jmp	LBB0_20
LBB0_57:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_KBC_MAX_GPIO,4,2               ## @KBC_MAX_GPIO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nvidia,debounce-delay-ms"

L_.str.1:                               ## @.str.1
	.asciz	"nvidia,repeat-delay-ms"

L_.str.2:                               ## @.str.2
	.asciz	"nvidia,needs-ghost-filter"

L_.str.3:                               ## @.str.3
	.asciz	"wakeup-source"

L_.str.4:                               ## @.str.4
	.asciz	"nvidia,wakeup-source"

L_.str.5:                               ## @.str.5
	.asciz	"nvidia,kbc-row-pins"

L_.str.6:                               ## @.str.6
	.asciz	"property nvidia,kbc-row-pins not found\n"

	.comm	_ENOENT,4,2                     ## @ENOENT
L_.str.7:                               ## @.str.7
	.asciz	"nvidia,kbc-col-pins"

L_.str.8:                               ## @.str.8
	.asciz	"property nvidia,kbc-col-pins not found\n"

L_.str.9:                               ## @.str.9
	.asciz	"Number of rows is more than supported by hardware\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.10:                              ## @.str.10
	.asciz	"Number of cols is more than supported by hardware\n"

L_.str.11:                              ## @.str.11
	.asciz	"linux,keymap"

L_.str.12:                              ## @.str.12
	.asciz	"property linux,keymap not found\n"

L_.str.13:                              ## @.str.13
	.asciz	"keypad rows/columns not properly specified\n"

	.comm	_PIN_CFG_IGNORE,4,2             ## @PIN_CFG_IGNORE
L_.str.14:                              ## @.str.14
	.asciz	"Rows configurations are not proper\n"

L_.str.15:                              ## @.str.15
	.asciz	"Cols configurations are not proper\n"

	.comm	_PIN_CFG_ROW,4,2                ## @PIN_CFG_ROW
	.comm	_PIN_CFG_COL,4,2                ## @PIN_CFG_COL
	.no_dead_strip	_tegra_kbc_parse_dt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tegra_kbc_parse_dt
_tegra_kbc_parse_dt:                    ; @tegra_kbc_parse_dt
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	mov	x19, x0
	mov	x25, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	x8, [x0, #32]
	ldr	x22, [x8]
Lloh3:
	adrp	x26, _KBC_MAX_GPIO@GOTPAGE
Lloh4:
	ldr	x26, [x26, _KBC_MAX_GPIO@GOTPAGEOFF]
	ldr	w8, [x26]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	ldr	w8, [x26]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x21, x9, x8
	mov	sp, x21
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	sub	x2, x29, #92
	mov	x0, x22
	bl	_of_property_read_u32
	cbnz	w0, LBB0_2
; %bb.1:
	ldur	w8, [x29, #-92]
	str	w8, [x19]
LBB0_2:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	sub	x2, x29, #92
	mov	x0, x22
	bl	_of_property_read_u32
	cbnz	w0, LBB0_4
; %bb.3:
	ldur	w8, [x29, #-92]
	str	w8, [x19, #4]
LBB0_4:
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	mov	x2, #0
	bl	_of_find_property
	cbz	x0, LBB0_6
; %bb.5:
	mov	w8, #1
	str	w8, [x19, #8]
LBB0_6:
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x22
	bl	_of_property_read_bool
	cbnz	x0, LBB0_8
; %bb.7:
Lloh17:
	adrp	x1, l_.str.4@PAGE
Lloh18:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x22
	bl	_of_property_read_bool
	cbz	x0, LBB0_9
LBB0_8:
	mov	w8, #1
	str	w8, [x19, #12]
LBB0_9:
Lloh19:
	adrp	x1, l_.str.5@PAGE
Lloh20:
	add	x1, x1, l_.str.5@PAGEOFF
	sub	x2, x29, #96
	mov	x0, x22
	bl	_of_get_property
	cbz	w0, LBB0_13
; %bb.10:
	ldur	w28, [x29, #-96]
Lloh21:
	adrp	x1, l_.str.7@PAGE
Lloh22:
	add	x1, x1, l_.str.7@PAGEOFF
	sub	x2, x29, #96
	mov	x0, x22
	bl	_of_get_property
	cbz	w0, LBB0_14
; %bb.11:
	asr	w24, w28, #2
	ldr	x8, [x19, #40]
	ldr	w9, [x8]
	cmp	w24, w9
	b.le	LBB0_15
; %bb.12:
Lloh23:
	adrp	x23, _EINVAL@GOTPAGE
Lloh24:
	ldr	x23, [x23, _EINVAL@GOTPAGEOFF]
Lloh25:
	adrp	x1, l_.str.9@PAGE
Lloh26:
	add	x1, x1, l_.str.9@PAGEOFF
	b	LBB0_23
LBB0_13:
Lloh27:
	adrp	x23, _ENOENT@GOTPAGE
Lloh28:
	ldr	x23, [x23, _ENOENT@GOTPAGEOFF]
Lloh29:
	adrp	x1, l_.str.6@PAGE
Lloh30:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_23
LBB0_14:
Lloh31:
	adrp	x23, _ENOENT@GOTPAGE
Lloh32:
	ldr	x23, [x23, _ENOENT@GOTPAGEOFF]
Lloh33:
	adrp	x1, l_.str.8@PAGE
Lloh34:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_23
LBB0_15:
	ldur	w27, [x29, #-96]
	asr	w23, w27, #2
	ldr	w8, [x8, #4]
	cmp	w23, w8
	b.le	LBB0_17
; %bb.16:
Lloh35:
	adrp	x23, _EINVAL@GOTPAGE
Lloh36:
	ldr	x23, [x23, _EINVAL@GOTPAGEOFF]
Lloh37:
	adrp	x1, l_.str.10@PAGE
Lloh38:
	add	x1, x1, l_.str.10@PAGEOFF
	b	LBB0_23
LBB0_17:
Lloh39:
	adrp	x1, l_.str.11@PAGE
Lloh40:
	add	x1, x1, l_.str.11@PAGEOFF
	sub	x2, x29, #96
	mov	x0, x22
	bl	_of_get_property
	cbz	w0, LBB0_22
; %bb.18:
	mov	x9, x23
Lloh41:
	adrp	x23, _EINVAL@GOTPAGE
Lloh42:
	ldr	x23, [x23, _EINVAL@GOTPAGEOFF]
Lloh43:
	adrp	x1, l_.str.13@PAGE
Lloh44:
	add	x1, x1, l_.str.13@PAGEOFF
	cmp	w28, #4
	b.lo	LBB0_23
; %bb.19:
	cmp	w27, #4
	b.lo	LBB0_23
; %bb.20:
	ldr	w8, [x26]
	mov	x23, x9
	add	w9, w9, w24
	cmp	w9, w8
	b.le	LBB0_26
; %bb.21:
Lloh45:
	adrp	x23, _EINVAL@GOTPAGE
Lloh46:
	ldr	x23, [x23, _EINVAL@GOTPAGEOFF]
Lloh47:
	adrp	x1, l_.str.13@PAGE
Lloh48:
	add	x1, x1, l_.str.13@PAGEOFF
	b	LBB0_23
LBB0_22:
Lloh49:
	adrp	x23, _ENOENT@GOTPAGE
Lloh50:
	ldr	x23, [x23, _ENOENT@GOTPAGEOFF]
Lloh51:
	adrp	x1, l_.str.12@PAGE
Lloh52:
	add	x1, x1, l_.str.12@PAGEOFF
LBB0_23:
	ldr	x0, [x19, #32]
	bl	_dev_err
	ldr	w8, [x23]
	neg	w0, w8
LBB0_24:
	mov	sp, x25
	ldur	x8, [x29, #-88]
Lloh53:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh54:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh55:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_40
; %bb.25:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_26:
	ldr	w8, [x19, #16]
	cmp	w8, #1
	b.lt	LBB0_29
; %bb.27:
	ldr	x9, [x19, #24]
	add	x9, x9, #4
Lloh56:
	adrp	x10, _PIN_CFG_IGNORE@GOTPAGE
Lloh57:
	ldr	x10, [x10, _PIN_CFG_IGNORE@GOTPAGEOFF]
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10]
	str	w11, [x9], #8
	subs	x8, x8, #1
	b.ne	LBB0_28
LBB0_29:
Lloh58:
	adrp	x1, l_.str.5@PAGE
Lloh59:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x22
	mov	x2, x21
	mov	x3, x24
	bl	_of_property_read_u32_array
	tbnz	w0, #31, LBB0_37
; %bb.30:
Lloh60:
	adrp	x1, l_.str.7@PAGE
Lloh61:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x22
	mov	x2, x20
	mov	x3, x23
	bl	_of_property_read_u32_array
	tbnz	w0, #31, LBB0_38
; %bb.31:
	cmp	w28, #4
	b.lt	LBB0_34
; %bb.32:
	mov	x8, #0
	ldr	x9, [x19, #24]
	cmp	w24, #1
	csinc	w10, w24, wzr, gt
Lloh62:
	adrp	x11, _PIN_CFG_ROW@GOTPAGE
Lloh63:
	ldr	x11, [x11, _PIN_CFG_ROW@GOTPAGEOFF]
LBB0_33:                                ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x11]
	lsl	x13, x8, #2
	ldrsw	x14, [x21, x13]
	add	x14, x9, x14, lsl #3
	str	w12, [x14, #4]
	ldrsw	x12, [x21, x13]
	lsl	x12, x12, #3
	str	w8, [x9, x12]
	add	x8, x8, #1
	cmp	x10, x8
	b.ne	LBB0_33
LBB0_34:
	cmp	w27, #4
	b.lt	LBB0_39
; %bb.35:
	mov	x8, #0
	ldr	x9, [x19, #24]
	cmp	w23, #1
	csinc	w10, w23, wzr, gt
Lloh64:
	adrp	x11, _PIN_CFG_COL@GOTPAGE
Lloh65:
	ldr	x11, [x11, _PIN_CFG_COL@GOTPAGEOFF]
LBB0_36:                                ; =>This Inner Loop Header: Depth=1
	mov	w0, #0
	ldr	w12, [x11]
	lsl	x13, x8, #2
	ldrsw	x14, [x20, x13]
	add	x14, x9, x14, lsl #3
	str	w12, [x14, #4]
	ldrsw	x12, [x20, x13]
	lsl	x12, x12, #3
	str	w8, [x9, x12]
	add	x8, x8, #1
	cmp	x10, x8
	b.ne	LBB0_36
	b	LBB0_24
LBB0_37:
Lloh66:
	adrp	x23, _EINVAL@GOTPAGE
Lloh67:
	ldr	x23, [x23, _EINVAL@GOTPAGEOFF]
Lloh68:
	adrp	x1, l_.str.14@PAGE
Lloh69:
	add	x1, x1, l_.str.14@PAGEOFF
	b	LBB0_23
LBB0_38:
Lloh70:
	adrp	x23, _EINVAL@GOTPAGE
Lloh71:
	ldr	x23, [x23, _EINVAL@GOTPAGEOFF]
Lloh72:
	adrp	x1, l_.str.15@PAGE
Lloh73:
	add	x1, x1, l_.str.15@PAGEOFF
	b	LBB0_23
LBB0_39:
	mov	w0, #0
	b	LBB0_24
LBB0_40:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh66, Lloh67
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh70, Lloh71
	.cfi_endproc
                                        ; -- End function
	.comm	_KBC_MAX_GPIO,4,2               ; @KBC_MAX_GPIO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nvidia,debounce-delay-ms"

l_.str.1:                               ; @.str.1
	.asciz	"nvidia,repeat-delay-ms"

l_.str.2:                               ; @.str.2
	.asciz	"nvidia,needs-ghost-filter"

l_.str.3:                               ; @.str.3
	.asciz	"wakeup-source"

l_.str.4:                               ; @.str.4
	.asciz	"nvidia,wakeup-source"

l_.str.5:                               ; @.str.5
	.asciz	"nvidia,kbc-row-pins"

l_.str.6:                               ; @.str.6
	.asciz	"property nvidia,kbc-row-pins not found\n"

	.comm	_ENOENT,4,2                     ; @ENOENT
l_.str.7:                               ; @.str.7
	.asciz	"nvidia,kbc-col-pins"

l_.str.8:                               ; @.str.8
	.asciz	"property nvidia,kbc-col-pins not found\n"

l_.str.9:                               ; @.str.9
	.asciz	"Number of rows is more than supported by hardware\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.10:                              ; @.str.10
	.asciz	"Number of cols is more than supported by hardware\n"

l_.str.11:                              ; @.str.11
	.asciz	"linux,keymap"

l_.str.12:                              ; @.str.12
	.asciz	"property linux,keymap not found\n"

l_.str.13:                              ; @.str.13
	.asciz	"keypad rows/columns not properly specified\n"

	.comm	_PIN_CFG_IGNORE,4,2             ; @PIN_CFG_IGNORE
l_.str.14:                              ; @.str.14
	.asciz	"Rows configurations are not proper\n"

l_.str.15:                              ; @.str.15
	.asciz	"Cols configurations are not proper\n"

	.comm	_PIN_CFG_ROW,4,2                ; @PIN_CFG_ROW
	.comm	_PIN_CFG_COL,4,2                ; @PIN_CFG_COL
	.no_dead_strip	_tegra_kbc_parse_dt
.subsections_via_symbols
