	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tegra_sdhci_is_pad_and_regulator_valid
_tegra_sdhci_is_pad_and_regulator_valid: ## @tegra_sdhci_is_pad_and_regulator_valid
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_sdhci_priv
	movq	%rax, %rdi
	callq	_sdhci_pltfm_priv
	movq	%rax, %r14
	movq	8(%rax), %rax
	movq	_NVQUIRK_NEEDS_PAD_CONTROL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_5
## %bb.1:
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_IS_ERR
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_6
## %bb.2:
	movq	(%rbx), %rax
	movl	(%rax), %edi
	movl	$1700000, %esi                  ## imm = 0x19F0A0
	movl	$1950000, %edx                  ## imm = 0x1DC130
	callq	_regulator_is_supported_voltage
	movl	%eax, %r15d
	movq	(%rbx), %rax
	movl	(%rax), %edi
	movl	$2700000, %esi                  ## imm = 0x2932E0
	movl	$3600000, %edx                  ## imm = 0x36EE80
	callq	_regulator_is_supported_voltage
	cmpl	$1, %r15d
	jne	LBB0_5
## %bb.3:
	movl	%eax, %ecx
	movl	$1, %eax
	cmpl	$1, %ecx
	jne	LBB0_6
## %bb.4:
	movl	(%r14), %eax
	jmp	LBB0_6
LBB0_5:
	movl	$1, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NVQUIRK_NEEDS_PAD_CONTROL,4,2  ## @NVQUIRK_NEEDS_PAD_CONTROL
	.no_dead_strip	_tegra_sdhci_is_pad_and_regulator_valid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tegra_sdhci_is_pad_and_regulator_valid
_tegra_sdhci_is_pad_and_regulator_valid: ; @tegra_sdhci_is_pad_and_regulator_valid
	.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, x0
	bl	_sdhci_priv
	bl	_sdhci_pltfm_priv
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _NVQUIRK_NEEDS_PAD_CONTROL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NVQUIRK_NEEDS_PAD_CONTROL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	x8, [x20]
	ldr	w0, [x8]
	bl	_IS_ERR
	cbz	x0, LBB0_3
; %bb.2:
	mov	w0, #0
	b	LBB0_6
LBB0_3:
	ldr	x8, [x20]
	ldr	w0, [x8]
	mov	w1, #61600
	movk	w1, #25, lsl #16
	mov	w2, #49456
	movk	w2, #29, lsl #16
	bl	_regulator_is_supported_voltage
	mov	x21, x0
	ldr	x8, [x20]
	ldr	w0, [x8]
	mov	w1, #13024
	movk	w1, #41, lsl #16
	mov	w2, #61056
	movk	w2, #54, lsl #16
	bl	_regulator_is_supported_voltage
	cmp	w21, #1
	ccmp	w0, #1, #0, eq
	b.eq	LBB0_5
LBB0_4:
	mov	w0, #1
	b	LBB0_6
LBB0_5:
	ldr	w0, [x19]
LBB0_6:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NVQUIRK_NEEDS_PAD_CONTROL,4,2  ; @NVQUIRK_NEEDS_PAD_CONTROL
	.no_dead_strip	_tegra_sdhci_is_pad_and_regulator_valid
.subsections_via_symbols
