	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tegra_sdhci_init_pinctrl_info
_tegra_sdhci_init_pinctrl_info:         ## @tegra_sdhci_init_pinctrl_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_devm_pinctrl_get
	movq	%rax, 16(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	movq	16(%rbx), %rdi
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	callq	_PTR_ERR
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_dev_dbg
	jmp	LBB0_13
LBB0_2:
	leaq	L_.str.1(%rip), %rsi
	callq	_pinctrl_lookup_state
	movq	%rax, 40(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	40(%rbx), %rdi
	callq	_PTR_ERR
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	jne	LBB0_5
## %bb.4:
	movq	$0, 40(%rbx)
LBB0_5:
	movq	16(%rbx), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_pinctrl_lookup_state
	movq	%rax, 32(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	32(%rbx), %rdi
	callq	_PTR_ERR
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	jne	LBB0_8
## %bb.7:
	movq	$0, 32(%rbx)
LBB0_8:
	movq	16(%rbx), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_pinctrl_lookup_state
	movq	%rax, 24(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	24(%rbx), %rdi
	callq	_PTR_ERR
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_12
LBB0_10:
	movq	16(%rbx), %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_pinctrl_lookup_state
	movq	%rax, 8(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_15
## %bb.11:
	movq	8(%rbx), %rdi
	callq	_PTR_ERR
	leaq	L_.str.6(%rip), %rsi
LBB0_12:
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_dev_warn
LBB0_13:
	movl	$-1, %eax
LBB0_14:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_15:
	movl	$1, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No pinctrl info, err: %ld\n"

L_.str.1:                               ## @.str.1
	.asciz	"sdmmc-1v8-drv"

	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.2:                               ## @.str.2
	.asciz	"sdmmc-3v3-drv"

L_.str.3:                               ## @.str.3
	.asciz	"sdmmc-3v3"

L_.str.4:                               ## @.str.4
	.asciz	"Missing 3.3V pad state, err: %ld\n"

L_.str.5:                               ## @.str.5
	.asciz	"sdmmc-1v8"

L_.str.6:                               ## @.str.6
	.asciz	"Missing 1.8V pad state, err: %ld\n"

	.no_dead_strip	_tegra_sdhci_init_pinctrl_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tegra_sdhci_init_pinctrl_info
_tegra_sdhci_init_pinctrl_info:         ; @tegra_sdhci_init_pinctrl_info
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
	bl	_devm_pinctrl_get
	str	x0, [x20, #16]
	bl	_IS_ERR
	mov	x8, x0
	ldr	x0, [x20, #16]
	cbz	x8, LBB0_2
; %bb.1:
	bl	_PTR_ERR
	mov	x2, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	b	LBB0_13
LBB0_2:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_pinctrl_lookup_state
	str	x0, [x20, #40]
	bl	_IS_ERR
Lloh4:
	adrp	x21, _ENODEV@GOTPAGE
Lloh5:
	ldr	x21, [x21, _ENODEV@GOTPAGEOFF]
	cbz	x0, LBB0_5
; %bb.3:
	ldr	x0, [x20, #40]
	bl	_PTR_ERR
	ldr	w8, [x21]
	cmn	w0, w8
	b.ne	LBB0_5
; %bb.4:
	str	xzr, [x20, #40]
LBB0_5:
	ldr	x0, [x20, #16]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_pinctrl_lookup_state
	str	x0, [x20, #32]
	bl	_IS_ERR
	cbz	x0, LBB0_8
; %bb.6:
	ldr	x0, [x20, #32]
	bl	_PTR_ERR
	ldr	w8, [x21]
	cmn	w0, w8
	b.ne	LBB0_8
; %bb.7:
	str	xzr, [x20, #32]
LBB0_8:
	ldr	x0, [x20, #16]
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_pinctrl_lookup_state
	str	x0, [x20, #24]
	bl	_IS_ERR
	cbz	x0, LBB0_10
; %bb.9:
	ldr	x0, [x20, #24]
	bl	_PTR_ERR
	mov	x2, x0
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_12
LBB0_10:
	ldr	x0, [x20, #16]
Lloh12:
	adrp	x1, l_.str.5@PAGE
Lloh13:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_pinctrl_lookup_state
	str	x0, [x20, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_15
; %bb.11:
	ldr	x0, [x20, #8]
	bl	_PTR_ERR
	mov	x2, x0
Lloh14:
	adrp	x1, l_.str.6@PAGE
Lloh15:
	add	x1, x1, l_.str.6@PAGEOFF
LBB0_12:
	mov	x0, x19
	bl	_dev_warn
LBB0_13:
	mov	w0, #-1
LBB0_14:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_15:
	mov	w8, #1
	str	w8, [x20]
	b	LBB0_14
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No pinctrl info, err: %ld\n"

l_.str.1:                               ; @.str.1
	.asciz	"sdmmc-1v8-drv"

	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.2:                               ; @.str.2
	.asciz	"sdmmc-3v3-drv"

l_.str.3:                               ; @.str.3
	.asciz	"sdmmc-3v3"

l_.str.4:                               ; @.str.4
	.asciz	"Missing 3.3V pad state, err: %ld\n"

l_.str.5:                               ; @.str.5
	.asciz	"sdmmc-1v8"

l_.str.6:                               ; @.str.6
	.asciz	"Missing 1.8V pad state, err: %ld\n"

	.no_dead_strip	_tegra_sdhci_init_pinctrl_info
.subsections_via_symbols
