	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function glk_emmc_probe_slot
_glk_emmc_probe_slot:                   ## @glk_emmc_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
	callq	_byt_emmc_probe_slot
	movq	_MMC_CAP2_CQE@GOTPCREL(%rip), %rdi
	movq	(%rbx), %rsi
	movq	(%rsi), %rcx
	movl	(%rcx), %edx
	orl	(%rdi), %edx
	movl	%edx, (%rcx)
	movq	8(%rbx), %rdi
	movq	(%rdi), %rdi
	movq	(%rdi), %rdi
	movq	_PCI_DEVICE_ID_INTEL_GLK_EMMC@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rdi
	je	LBB0_2
## %bb.1:
	movq	_MMC_CAP2_HS400_ES@GOTPCREL(%rip), %rdi
	orl	(%rdi), %edx
	movl	%edx, (%rcx)
	movq	_intel_hs400_enhanced_strobe@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	movl	%edi, 8(%rsi)
	movq	_MMC_CAP2_CQE_DCMD@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	movl	%edx, (%rcx)
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMC_CAP2_CQE,4,2               ## @MMC_CAP2_CQE
	.comm	_PCI_DEVICE_ID_INTEL_GLK_EMMC,8,3 ## @PCI_DEVICE_ID_INTEL_GLK_EMMC
	.comm	_MMC_CAP2_HS400_ES,4,2          ## @MMC_CAP2_HS400_ES
	.comm	_intel_hs400_enhanced_strobe,4,2 ## @intel_hs400_enhanced_strobe
	.comm	_MMC_CAP2_CQE_DCMD,4,2          ## @MMC_CAP2_CQE_DCMD
	.no_dead_strip	_glk_emmc_probe_slot
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function glk_emmc_probe_slot
_glk_emmc_probe_slot:                   ; @glk_emmc_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
	bl	_byt_emmc_probe_slot
Lloh0:
	adrp	x8, _MMC_CAP2_CQE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MMC_CAP2_CQE@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x8]
	ldp	x8, x11, [x19]
	ldr	x9, [x8]
	ldr	w12, [x9]
	orr	w10, w12, w10
	str	w10, [x9]
	ldr	x11, [x11]
	ldr	x11, [x11]
Lloh3:
	adrp	x12, _PCI_DEVICE_ID_INTEL_GLK_EMMC@GOTPAGE
Lloh4:
	ldr	x12, [x12, _PCI_DEVICE_ID_INTEL_GLK_EMMC@GOTPAGEOFF]
Lloh5:
	ldr	x12, [x12]
	cmp	x11, x12
	b.eq	LBB0_2
; %bb.1:
Lloh6:
	adrp	x11, _MMC_CAP2_HS400_ES@GOTPAGE
Lloh7:
	ldr	x11, [x11, _MMC_CAP2_HS400_ES@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	orr	w10, w11, w10
	str	w10, [x9]
Lloh9:
	adrp	x11, _intel_hs400_enhanced_strobe@GOTPAGE
Lloh10:
	ldr	x11, [x11, _intel_hs400_enhanced_strobe@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	str	w11, [x8, #8]
Lloh12:
	adrp	x8, _MMC_CAP2_CQE_DCMD@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MMC_CAP2_CQE_DCMD@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	orr	w8, w8, w10
	str	w8, [x9]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MMC_CAP2_CQE,4,2               ; @MMC_CAP2_CQE
	.comm	_PCI_DEVICE_ID_INTEL_GLK_EMMC,8,3 ; @PCI_DEVICE_ID_INTEL_GLK_EMMC
	.comm	_MMC_CAP2_HS400_ES,4,2          ; @MMC_CAP2_HS400_ES
	.comm	_intel_hs400_enhanced_strobe,4,2 ; @intel_hs400_enhanced_strobe
	.comm	_MMC_CAP2_CQE_DCMD,4,2          ; @MMC_CAP2_CQE_DCMD
	.no_dead_strip	_glk_emmc_probe_slot
.subsections_via_symbols
