	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function omap_get_dt_info
_omap_get_dt_info:                      ## @omap_get_dt_info
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rdi), %rbx
	leaq	L_.str(%rip), %rsi
	leaq	-52(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_of_property_read_u32
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	movl	-52(%rbp), %eax
	movl	%eax, 16(%r14)
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_of_parse_phandle
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_of_parse_phandle
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_dbg
LBB0_5:
	leaq	L_.str.5(%rip), %rsi
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_of_property_read_string
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_29
LBB0_1:
	leaq	L_.str.1(%rip), %rsi
LBB0_29:
	movq	%r15, %rdi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_30:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	-48(%rbp), %r12
	leaq	L_.str.7(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:
	leaq	L_.str.8(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	movq	_OMAP_ECC_HAM1_CODE_HW@GOTPCREL(%rip), %r13
	testl	%eax, %eax
	je	LBB0_22
## %bb.10:
	leaq	L_.str.9(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_22
## %bb.11:
	leaq	L_.str.10(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_22
## %bb.12:
	leaq	L_.str.11(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_13
## %bb.16:
	leaq	L_.str.12(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_17
## %bb.20:
	leaq	L_.str.13(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_21
## %bb.31:
	leaq	L_.str.14(%rip), %rsi
	jmp	LBB0_29
LBB0_8:
	movq	_OMAP_ECC_HAM1_CODE_SW@GOTPCREL(%rip), %r13
LBB0_22:
	movl	(%r13), %eax
	movl	%eax, 4(%r14)
	leaq	L_.str.15(%rip), %rsi
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_of_property_read_string
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_30
## %bb.23:
	movq	_nand_xfer_types@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_28
## %bb.24:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rdi
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %esi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_26
## %bb.27:                              ##   in Loop: Header=BB0_25 Depth=1
	incq	%rbx
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_25
LBB0_28:
	leaq	L_.str.16(%rip), %rsi
	jmp	LBB0_29
LBB0_26:
	movl	%ebx, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_30
LBB0_13:
	cmpq	$0, 8(%r14)
	jne	LBB0_14
## %bb.15:
	movq	_OMAP_ECC_BCH4_CODE_HW_DETECTION_SW@GOTPCREL(%rip), %r13
	jmp	LBB0_22
LBB0_17:
	cmpq	$0, 8(%r14)
	jne	LBB0_18
## %bb.19:
	movq	_OMAP_ECC_BCH8_CODE_HW_DETECTION_SW@GOTPCREL(%rip), %r13
	jmp	LBB0_22
LBB0_14:
	movq	_OMAP_ECC_BCH4_CODE_HW@GOTPCREL(%rip), %r13
	jmp	LBB0_22
LBB0_21:
	movq	_OMAP_ECC_BCH16_CODE_HW@GOTPCREL(%rip), %r13
	jmp	LBB0_22
LBB0_18:
	movq	_OMAP_ECC_BCH8_CODE_HW@GOTPCREL(%rip), %r13
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"reg"

L_.str.1:                               ## @.str.1
	.asciz	"reg not found in DT\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.2:                               ## @.str.2
	.asciz	"ti,elm-id"

L_.str.3:                               ## @.str.3
	.asciz	"elm_id"

L_.str.4:                               ## @.str.4
	.asciz	"ti,elm-id not in DT\n"

L_.str.5:                               ## @.str.5
	.asciz	"ti,nand-ecc-opt"

L_.str.6:                               ## @.str.6
	.asciz	"ti,nand-ecc-opt not found\n"

L_.str.7:                               ## @.str.7
	.asciz	"sw"

	.comm	_OMAP_ECC_HAM1_CODE_SW,4,2      ## @OMAP_ECC_HAM1_CODE_SW
L_.str.8:                               ## @.str.8
	.asciz	"ham1"

L_.str.9:                               ## @.str.9
	.asciz	"hw"

L_.str.10:                              ## @.str.10
	.asciz	"hw-romcode"

	.comm	_OMAP_ECC_HAM1_CODE_HW,4,2      ## @OMAP_ECC_HAM1_CODE_HW
L_.str.11:                              ## @.str.11
	.asciz	"bch4"

	.comm	_OMAP_ECC_BCH4_CODE_HW,4,2      ## @OMAP_ECC_BCH4_CODE_HW
	.comm	_OMAP_ECC_BCH4_CODE_HW_DETECTION_SW,4,2 ## @OMAP_ECC_BCH4_CODE_HW_DETECTION_SW
L_.str.12:                              ## @.str.12
	.asciz	"bch8"

	.comm	_OMAP_ECC_BCH8_CODE_HW,4,2      ## @OMAP_ECC_BCH8_CODE_HW
	.comm	_OMAP_ECC_BCH8_CODE_HW_DETECTION_SW,4,2 ## @OMAP_ECC_BCH8_CODE_HW_DETECTION_SW
L_.str.13:                              ## @.str.13
	.asciz	"bch16"

	.comm	_OMAP_ECC_BCH16_CODE_HW,4,2     ## @OMAP_ECC_BCH16_CODE_HW
L_.str.14:                              ## @.str.14
	.asciz	"unrecognized value for ti,nand-ecc-opt\n"

L_.str.15:                              ## @.str.15
	.asciz	"ti,nand-xfer-type"

	.comm	_nand_xfer_types,8,3            ## @nand_xfer_types
L_.str.16:                              ## @.str.16
	.asciz	"unrecognized value for ti,nand-xfer-type\n"

	.no_dead_strip	_omap_get_dt_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function omap_get_dt_info
_omap_get_dt_info:                      ; @omap_get_dt_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x21, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #4
	mov	x0, x21
	bl	_of_property_read_u32
	tbnz	x0, #63, LBB0_6
; %bb.1:
	ldr	w8, [sp, #4]
	str	w8, [x20, #16]
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	mov	w2, #0
	bl	_of_parse_phandle
	str	x0, [x20, #8]
	cbnz	x0, LBB0_4
; %bb.2:
Lloh4:
	adrp	x1, l_.str.3@PAGE
Lloh5:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	mov	w2, #0
	bl	_of_parse_phandle
	str	x0, [x20, #8]
	cbnz	x0, LBB0_4
; %bb.3:
Lloh6:
	adrp	x1, l_.str.4@PAGE
Lloh7:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
LBB0_4:
Lloh8:
	adrp	x1, l_.str.5@PAGE
Lloh9:
	add	x1, x1, l_.str.5@PAGEOFF
	add	x2, sp, #8
	mov	x0, x21
	bl	_of_property_read_string
	cbz	x0, LBB0_9
; %bb.5:
Lloh10:
	adrp	x1, l_.str.6@PAGE
Lloh11:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_7
LBB0_6:
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_7:
	mov	x0, x19
	bl	_dev_err
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_9:
	ldr	x22, [sp, #8]
Lloh17:
	adrp	x1, l_.str.7@PAGE
Lloh18:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	w0, LBB0_18
; %bb.10:
Lloh19:
	adrp	x1, l_.str.8@PAGE
Lloh20:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	w0, LBB0_17
; %bb.11:
Lloh21:
	adrp	x1, l_.str.9@PAGE
Lloh22:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	w0, LBB0_17
; %bb.12:
Lloh23:
	adrp	x1, l_.str.10@PAGE
Lloh24:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	w0, LBB0_17
; %bb.13:
Lloh25:
	adrp	x1, l_.str.11@PAGE
Lloh26:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	w0, LBB0_19
; %bb.14:
Lloh27:
	adrp	x1, l_.str.12@PAGE
Lloh28:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	w0, LBB0_20
; %bb.15:
Lloh29:
	adrp	x1, l_.str.13@PAGE
Lloh30:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	w0, LBB0_22
; %bb.16:
Lloh31:
	adrp	x1, l_.str.14@PAGE
Lloh32:
	add	x1, x1, l_.str.14@PAGEOFF
	b	LBB0_7
LBB0_17:
Lloh33:
	adrp	x8, _OMAP_ECC_HAM1_CODE_HW@GOTPAGE
Lloh34:
	ldr	x8, [x8, _OMAP_ECC_HAM1_CODE_HW@GOTPAGEOFF]
	b	LBB0_23
LBB0_18:
Lloh35:
	adrp	x8, _OMAP_ECC_HAM1_CODE_SW@GOTPAGE
Lloh36:
	ldr	x8, [x8, _OMAP_ECC_HAM1_CODE_SW@GOTPAGEOFF]
	b	LBB0_23
LBB0_19:
	ldr	x8, [x20, #8]
Lloh37:
	adrp	x9, _OMAP_ECC_BCH4_CODE_HW@GOTPAGE
Lloh38:
	ldr	x9, [x9, _OMAP_ECC_BCH4_CODE_HW@GOTPAGEOFF]
Lloh39:
	adrp	x10, _OMAP_ECC_BCH4_CODE_HW_DETECTION_SW@GOTPAGE
Lloh40:
	ldr	x10, [x10, _OMAP_ECC_BCH4_CODE_HW_DETECTION_SW@GOTPAGEOFF]
	b	LBB0_21
LBB0_20:
	ldr	x8, [x20, #8]
Lloh41:
	adrp	x9, _OMAP_ECC_BCH8_CODE_HW@GOTPAGE
Lloh42:
	ldr	x9, [x9, _OMAP_ECC_BCH8_CODE_HW@GOTPAGEOFF]
Lloh43:
	adrp	x10, _OMAP_ECC_BCH8_CODE_HW_DETECTION_SW@GOTPAGE
Lloh44:
	ldr	x10, [x10, _OMAP_ECC_BCH8_CODE_HW_DETECTION_SW@GOTPAGEOFF]
LBB0_21:
	cmp	x8, #0
	csel	x8, x10, x9, eq
	b	LBB0_23
LBB0_22:
Lloh45:
	adrp	x8, _OMAP_ECC_BCH16_CODE_HW@GOTPAGE
Lloh46:
	ldr	x8, [x8, _OMAP_ECC_BCH16_CODE_HW@GOTPAGEOFF]
LBB0_23:
	ldr	w8, [x8]
	str	w8, [x20, #4]
Lloh47:
	adrp	x1, l_.str.15@PAGE
Lloh48:
	add	x1, x1, l_.str.15@PAGEOFF
	add	x2, sp, #8
	mov	x0, x21
	bl	_of_property_read_string
	cbz	x0, LBB0_25
; %bb.24:
	mov	w0, #0
	b	LBB0_8
LBB0_25:
Lloh49:
	adrp	x21, _nand_xfer_types@GOTPAGE
Lloh50:
	ldr	x21, [x21, _nand_xfer_types@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_29
; %bb.26:
	mov	x22, #0
LBB0_27:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [sp, #8]
	ldr	x8, [x21]
	ldr	w1, [x8, x22, lsl #2]
	bl	_strcasecmp
	cbz	w0, LBB0_30
; %bb.28:                               ;   in Loop: Header=BB0_27 Depth=1
	add	x22, x22, #1
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cmp	x22, w0, sxtw
	b.lt	LBB0_27
LBB0_29:
Lloh51:
	adrp	x1, l_.str.16@PAGE
Lloh52:
	add	x1, x1, l_.str.16@PAGEOFF
	b	LBB0_7
LBB0_30:
	str	w22, [x20]
	b	LBB0_8
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"reg"

l_.str.1:                               ; @.str.1
	.asciz	"reg not found in DT\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.2:                               ; @.str.2
	.asciz	"ti,elm-id"

l_.str.3:                               ; @.str.3
	.asciz	"elm_id"

l_.str.4:                               ; @.str.4
	.asciz	"ti,elm-id not in DT\n"

l_.str.5:                               ; @.str.5
	.asciz	"ti,nand-ecc-opt"

l_.str.6:                               ; @.str.6
	.asciz	"ti,nand-ecc-opt not found\n"

l_.str.7:                               ; @.str.7
	.asciz	"sw"

	.comm	_OMAP_ECC_HAM1_CODE_SW,4,2      ; @OMAP_ECC_HAM1_CODE_SW
l_.str.8:                               ; @.str.8
	.asciz	"ham1"

l_.str.9:                               ; @.str.9
	.asciz	"hw"

l_.str.10:                              ; @.str.10
	.asciz	"hw-romcode"

	.comm	_OMAP_ECC_HAM1_CODE_HW,4,2      ; @OMAP_ECC_HAM1_CODE_HW
l_.str.11:                              ; @.str.11
	.asciz	"bch4"

	.comm	_OMAP_ECC_BCH4_CODE_HW,4,2      ; @OMAP_ECC_BCH4_CODE_HW
	.comm	_OMAP_ECC_BCH4_CODE_HW_DETECTION_SW,4,2 ; @OMAP_ECC_BCH4_CODE_HW_DETECTION_SW
l_.str.12:                              ; @.str.12
	.asciz	"bch8"

	.comm	_OMAP_ECC_BCH8_CODE_HW,4,2      ; @OMAP_ECC_BCH8_CODE_HW
	.comm	_OMAP_ECC_BCH8_CODE_HW_DETECTION_SW,4,2 ; @OMAP_ECC_BCH8_CODE_HW_DETECTION_SW
l_.str.13:                              ; @.str.13
	.asciz	"bch16"

	.comm	_OMAP_ECC_BCH16_CODE_HW,4,2     ; @OMAP_ECC_BCH16_CODE_HW
l_.str.14:                              ; @.str.14
	.asciz	"unrecognized value for ti,nand-ecc-opt\n"

l_.str.15:                              ; @.str.15
	.asciz	"ti,nand-xfer-type"

	.comm	_nand_xfer_types,8,3            ; @nand_xfer_types
l_.str.16:                              ; @.str.16
	.asciz	"unrecognized value for ti,nand-xfer-type\n"

	.no_dead_strip	_omap_get_dt_info
.subsections_via_symbols
