	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdhci_am654_get_of_property
_sdhci_am654_get_of_property:           ## @sdhci_am654_get_of_property
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	callq	_device_property_read_u32
	testl	%eax, %eax
	jne	LBB0_14
## %bb.1:
	movq	_DLL_PRESENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%rbx)
	je	LBB0_13
## %bb.2:
	leaq	8(%rbx), %rdx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_device_property_read_u32
	testl	%eax, %eax
	jne	LBB0_14
## %bb.3:
	leaq	L_.str.2(%rip), %rsi
	leaq	-20(%rbp), %rdx
	movq	%r14, %rdi
	callq	_device_property_read_u32
	testl	%eax, %eax
	jne	LBB0_14
## %bb.4:
	movl	-20(%rbp), %eax
	leal	-33(%rax), %ecx
	cmpl	$33, %ecx
	ja	LBB0_5
## %bb.7:
	movq	_DRIVER_STRENGTH_50_OHM@GOTPCREL(%rip), %rax
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_11:
	movq	_DRIVER_STRENGTH_33_OHM@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_5:
	cmpl	$100, %eax
	jne	LBB0_10
## %bb.6:
	movq	_DRIVER_STRENGTH_100_OHM@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_10:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_14
LBB0_9:
	movq	_DRIVER_STRENGTH_40_OHM@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_8:
	movq	_DRIVER_STRENGTH_66_OHM@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
LBB0_13:
	addq	$12, %rbx
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_device_property_read_u32
	movq	%r14, %rdi
	callq	_sdhci_get_of_property
	xorl	%eax, %eax
LBB0_14:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_12
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ti,otap-del-sel"

	.comm	_DLL_PRESENT,4,2                ## @DLL_PRESENT
L_.str.1:                               ## @.str.1
	.asciz	"ti,trm-icp"

L_.str.2:                               ## @.str.2
	.asciz	"ti,driver-strength-ohm"

	.comm	_DRIVER_STRENGTH_50_OHM,4,2     ## @DRIVER_STRENGTH_50_OHM
	.comm	_DRIVER_STRENGTH_33_OHM,4,2     ## @DRIVER_STRENGTH_33_OHM
	.comm	_DRIVER_STRENGTH_66_OHM,4,2     ## @DRIVER_STRENGTH_66_OHM
	.comm	_DRIVER_STRENGTH_100_OHM,4,2    ## @DRIVER_STRENGTH_100_OHM
	.comm	_DRIVER_STRENGTH_40_OHM,4,2     ## @DRIVER_STRENGTH_40_OHM
L_.str.3:                               ## @.str.3
	.asciz	"Invalid driver strength\n"

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

	.no_dead_strip	_sdhci_am654_get_of_property
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdhci_am654_get_of_property
_sdhci_am654_get_of_property:           ; @sdhci_am654_get_of_property
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_device_property_read_u32
	cbnz	w0, LBB0_14
; %bb.1:
	ldr	w8, [x20, #4]
Lloh2:
	adrp	x9, _DLL_PRESENT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _DLL_PRESENT@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.2:
	add	x2, x20, #8
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_device_property_read_u32
	cbnz	w0, LBB0_14
; %bb.3:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #12
	mov	x0, x19
	bl	_device_property_read_u32
	cbnz	w0, LBB0_14
; %bb.4:
	ldr	w8, [sp, #12]
	sub	w9, w8, #33
	cmp	w9, #33
	b.hi	LBB0_7
; %bb.5:
Lloh9:
	adrp	x8, _DRIVER_STRENGTH_50_OHM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DRIVER_STRENGTH_50_OHM@GOTPAGEOFF]
Lloh11:
	adrp	x10, lJTI0_0@PAGE
Lloh12:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_6
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_6:
Lloh13:
	adrp	x8, _DRIVER_STRENGTH_33_OHM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DRIVER_STRENGTH_33_OHM@GOTPAGEOFF]
	b	LBB0_12
LBB0_7:
	cmp	w8, #100
	b.ne	LBB0_9
; %bb.8:
Lloh15:
	adrp	x8, _DRIVER_STRENGTH_100_OHM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DRIVER_STRENGTH_100_OHM@GOTPAGEOFF]
	b	LBB0_12
LBB0_9:
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh19:
	adrp	x8, _EINVAL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_14
LBB0_10:
Lloh22:
	adrp	x8, _DRIVER_STRENGTH_40_OHM@GOTPAGE
Lloh23:
	ldr	x8, [x8, _DRIVER_STRENGTH_40_OHM@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh24:
	adrp	x8, _DRIVER_STRENGTH_66_OHM@GOTPAGE
Lloh25:
	ldr	x8, [x8, _DRIVER_STRENGTH_66_OHM@GOTPAGEOFF]
LBB0_12:
	ldr	w8, [x8]
	str	w8, [x20, #16]
LBB0_13:
	add	x2, x20, #12
Lloh26:
	adrp	x1, l_.str.4@PAGE
Lloh27:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_device_property_read_u32
	mov	x0, x19
	bl	_sdhci_get_of_property
	mov	w0, #0
LBB0_14:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_10-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_12-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_11-LBB0_6)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ti,otap-del-sel"

	.comm	_DLL_PRESENT,4,2                ; @DLL_PRESENT
l_.str.1:                               ; @.str.1
	.asciz	"ti,trm-icp"

l_.str.2:                               ; @.str.2
	.asciz	"ti,driver-strength-ohm"

	.comm	_DRIVER_STRENGTH_50_OHM,4,2     ; @DRIVER_STRENGTH_50_OHM
	.comm	_DRIVER_STRENGTH_33_OHM,4,2     ; @DRIVER_STRENGTH_33_OHM
	.comm	_DRIVER_STRENGTH_66_OHM,4,2     ; @DRIVER_STRENGTH_66_OHM
	.comm	_DRIVER_STRENGTH_100_OHM,4,2    ; @DRIVER_STRENGTH_100_OHM
	.comm	_DRIVER_STRENGTH_40_OHM,4,2     ; @DRIVER_STRENGTH_40_OHM
l_.str.3:                               ; @.str.3
	.asciz	"Invalid driver strength\n"

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

	.no_dead_strip	_sdhci_am654_get_of_property
.subsections_via_symbols
