	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_mrfld_mmc_probe_slot
_intel_mrfld_mmc_probe_slot:            ## @intel_mrfld_mmc_probe_slot
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_PCI_FUNC
                                        ## kill: def $eax killed $eax def $rax
	leal	-130(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_6
## %bb.1:
	cmpl	$128, %eax
	je	LBB0_4
## %bb.2:
	cmpl	$129, %eax
	jne	LBB0_5
## %bb.3:
	movq	_SDHCI_QUIRK2_NO_1_8_V@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%rbx), %rcx
	orl	%eax, 16(%rcx)
	jmp	LBB0_7
LBB0_6:
	movq	_MMC_CAP_NONREMOVABLE@GOTPCREL(%rip), %rax
	movq	_MMC_CAP_8_BIT_DATA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_MMC_CAP_1_8V_DDR@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	(%rbx), %rax
	movq	8(%rax), %rax
	orl	%ecx, (%rax)
	jmp	LBB0_7
LBB0_4:
	movq	_MMC_VDD_20_21@GOTPCREL(%rip), %rax
	movq	_MMC_VDD_165_195@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	(%rbx), %rax
	movl	%ecx, (%rax)
	movq	_MMC_CAP_NONREMOVABLE@GOTPCREL(%rip), %rcx
	movq	_MMC_CAP_POWER_OFF_CARD@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	8(%rax), %rax
	orl	%edx, (%rax)
LBB0_7:
	movq	%rbx, %rdi
	callq	_intel_mrfld_mmc_fix_up_power_slot
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_5:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMC_CAP_NONREMOVABLE,4,2       ## @MMC_CAP_NONREMOVABLE
	.comm	_MMC_CAP_8_BIT_DATA,4,2         ## @MMC_CAP_8_BIT_DATA
	.comm	_MMC_CAP_1_8V_DDR,4,2           ## @MMC_CAP_1_8V_DDR
	.comm	_SDHCI_QUIRK2_NO_1_8_V,4,2      ## @SDHCI_QUIRK2_NO_1_8_V
	.comm	_MMC_VDD_20_21,4,2              ## @MMC_VDD_20_21
	.comm	_MMC_VDD_165_195,4,2            ## @MMC_VDD_165_195
	.comm	_MMC_CAP_POWER_OFF_CARD,4,2     ## @MMC_CAP_POWER_OFF_CARD
	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_intel_mrfld_mmc_probe_slot
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_mrfld_mmc_probe_slot
_intel_mrfld_mmc_probe_slot:            ; @intel_mrfld_mmc_probe_slot
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	ldr	w0, [x8]
	bl	_PCI_FUNC
	sub	w8, w0, #130
	cmp	w8, #2
	b.lo	LBB0_4
; %bb.1:
	cmp	w0, #128
	b.eq	LBB0_5
; %bb.2:
	cmp	w0, #129
	b.ne	LBB0_8
; %bb.3:
Lloh0:
	adrp	x8, _SDHCI_QUIRK2_NO_1_8_V@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SDHCI_QUIRK2_NO_1_8_V@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	x9, [x19]
	ldr	w10, [x9, #16]
	orr	w8, w10, w8
	str	w8, [x9, #16]
	b	LBB0_7
LBB0_4:
Lloh3:
	adrp	x8, _MMC_CAP_NONREMOVABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MMC_CAP_NONREMOVABLE@GOTPAGEOFF]
Lloh5:
	adrp	x9, _MMC_CAP_8_BIT_DATA@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MMC_CAP_8_BIT_DATA@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _MMC_CAP_1_8V_DDR@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MMC_CAP_1_8V_DDR@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldr	x9, [x19]
	b	LBB0_6
LBB0_5:
Lloh12:
	adrp	x8, _MMC_VDD_20_21@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MMC_VDD_20_21@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _MMC_VDD_165_195@GOTPAGE
Lloh16:
	ldr	x9, [x9, _MMC_VDD_165_195@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	x9, [x19]
	str	w8, [x9]
Lloh18:
	adrp	x8, _MMC_CAP_NONREMOVABLE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MMC_CAP_NONREMOVABLE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x10, _MMC_CAP_POWER_OFF_CARD@GOTPAGE
Lloh22:
	ldr	x10, [x10, _MMC_CAP_POWER_OFF_CARD@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
	orr	w8, w10, w8
LBB0_6:
	ldr	x9, [x9, #8]
	ldr	w10, [x9]
	orr	w8, w8, w10
	str	w8, [x9]
LBB0_7:
	mov	x0, x19
	bl	_intel_mrfld_mmc_fix_up_power_slot
	mov	w0, #0
	b	LBB0_9
LBB0_8:
Lloh24:
	adrp	x8, _ENODEV@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_MMC_CAP_NONREMOVABLE,4,2       ; @MMC_CAP_NONREMOVABLE
	.comm	_MMC_CAP_8_BIT_DATA,4,2         ; @MMC_CAP_8_BIT_DATA
	.comm	_MMC_CAP_1_8V_DDR,4,2           ; @MMC_CAP_1_8V_DDR
	.comm	_SDHCI_QUIRK2_NO_1_8_V,4,2      ; @SDHCI_QUIRK2_NO_1_8_V
	.comm	_MMC_VDD_20_21,4,2              ; @MMC_VDD_20_21
	.comm	_MMC_VDD_165_195,4,2            ; @MMC_VDD_165_195
	.comm	_MMC_CAP_POWER_OFF_CARD,4,2     ; @MMC_CAP_POWER_OFF_CARD
	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_intel_mrfld_mmc_probe_slot
.subsections_via_symbols
