	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function byt_emmc_probe_slot
_byt_emmc_probe_slot:                   ## @byt_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_probe_slot
	movq	_MMC_CAP_8_BIT_DATA@GOTPCREL(%rip), %rax
	movq	_MMC_CAP_NONREMOVABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_MMC_CAP_HW_RESET@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_MMC_CAP_1_8V_DDR@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_MMC_CAP_CMD_DURING_TFR@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_MMC_CAP_WAIT_WHILE_BUSY@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	(%rbx), %rax
	movq	8(%rax), %rdx
	orl	%ecx, (%rdx)
	movq	_sdhci_pci_int_hw_reset@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rbx)
	movq	8(%rbx), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movq	_PCI_DEVICE_ID_INTEL_BSW_EMMC@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_2
## %bb.1:
	movl	$1000, (%rax)                   ## imm = 0x3E8
LBB0_2:
	movq	_intel_select_drive_strength@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rax)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMC_CAP_8_BIT_DATA,4,2         ## @MMC_CAP_8_BIT_DATA
	.comm	_MMC_CAP_NONREMOVABLE,4,2       ## @MMC_CAP_NONREMOVABLE
	.comm	_MMC_CAP_HW_RESET,4,2           ## @MMC_CAP_HW_RESET
	.comm	_MMC_CAP_1_8V_DDR,4,2           ## @MMC_CAP_1_8V_DDR
	.comm	_MMC_CAP_CMD_DURING_TFR,4,2     ## @MMC_CAP_CMD_DURING_TFR
	.comm	_MMC_CAP_WAIT_WHILE_BUSY,4,2    ## @MMC_CAP_WAIT_WHILE_BUSY
	.comm	_sdhci_pci_int_hw_reset,4,2     ## @sdhci_pci_int_hw_reset
	.comm	_PCI_DEVICE_ID_INTEL_BSW_EMMC,8,3 ## @PCI_DEVICE_ID_INTEL_BSW_EMMC
	.comm	_intel_select_drive_strength,4,2 ## @intel_select_drive_strength
	.no_dead_strip	_byt_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 byt_emmc_probe_slot
_byt_emmc_probe_slot:                   ; @byt_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_probe_slot
Lloh0:
	adrp	x8, _MMC_CAP_8_BIT_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MMC_CAP_8_BIT_DATA@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _MMC_CAP_NONREMOVABLE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MMC_CAP_NONREMOVABLE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _MMC_CAP_HW_RESET@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MMC_CAP_HW_RESET@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
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
Lloh12:
	adrp	x9, _MMC_CAP_CMD_DURING_TFR@GOTPAGE
Lloh13:
	ldr	x9, [x9, _MMC_CAP_CMD_DURING_TFR@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh15:
	adrp	x9, _MMC_CAP_WAIT_WHILE_BUSY@GOTPAGE
Lloh16:
	ldr	x9, [x9, _MMC_CAP_WAIT_WHILE_BUSY@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w9, w8, w9
	ldp	x8, x10, [x19]
	ldr	x11, [x8, #8]
	ldr	w12, [x11]
	orr	w9, w9, w12
	str	w9, [x11]
Lloh18:
	adrp	x9, _sdhci_pci_int_hw_reset@GOTPAGE
Lloh19:
	ldr	x9, [x9, _sdhci_pci_int_hw_reset@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	str	w9, [x19, #16]
	ldr	x9, [x10]
	ldr	x9, [x9]
Lloh21:
	adrp	x10, _PCI_DEVICE_ID_INTEL_BSW_EMMC@GOTPAGE
Lloh22:
	ldr	x10, [x10, _PCI_DEVICE_ID_INTEL_BSW_EMMC@GOTPAGEOFF]
Lloh23:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.1:
	mov	w9, #1000
	str	w9, [x8]
LBB0_2:
Lloh24:
	adrp	x9, _intel_select_drive_strength@GOTPAGE
Lloh25:
	ldr	x9, [x9, _intel_select_drive_strength@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	str	w9, [x8, #4]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_MMC_CAP_8_BIT_DATA,4,2         ; @MMC_CAP_8_BIT_DATA
	.comm	_MMC_CAP_NONREMOVABLE,4,2       ; @MMC_CAP_NONREMOVABLE
	.comm	_MMC_CAP_HW_RESET,4,2           ; @MMC_CAP_HW_RESET
	.comm	_MMC_CAP_1_8V_DDR,4,2           ; @MMC_CAP_1_8V_DDR
	.comm	_MMC_CAP_CMD_DURING_TFR,4,2     ; @MMC_CAP_CMD_DURING_TFR
	.comm	_MMC_CAP_WAIT_WHILE_BUSY,4,2    ; @MMC_CAP_WAIT_WHILE_BUSY
	.comm	_sdhci_pci_int_hw_reset,4,2     ; @sdhci_pci_int_hw_reset
	.comm	_PCI_DEVICE_ID_INTEL_BSW_EMMC,8,3 ; @PCI_DEVICE_ID_INTEL_BSW_EMMC
	.comm	_intel_select_drive_strength,4,2 ; @intel_select_drive_strength
	.no_dead_strip	_byt_emmc_probe_slot
.subsections_via_symbols
