	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function rtsx_usb_init_host
LCPI0_0:
	.long	256                             ## 0x100
	.long	65536                           ## 0x10000
	.long	512                             ## 0x200
	.long	65535                           ## 0xffff
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_rtsx_usb_init_host:                    ## @rtsx_usb_init_host
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rax
	movabsq	$893353197568250000, %rcx       ## imm = 0xC65D4000003D090
	movq	%rcx, (%rax)
	movq	_MMC_VDD_32_33@GOTPCREL(%rip), %rcx
	movq	_MMC_VDD_33_34@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_MMC_VDD_165_195@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	%edx, 8(%rax)
	movq	_MMC_CAP_4_BIT_DATA@GOTPCREL(%rip), %rcx
	movq	_MMC_CAP_SD_HIGHSPEED@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_MMC_CAP_MMC_HIGHSPEED@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	_MMC_CAP_BUS_WIDTH_TEST@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	_MMC_CAP_UHS_SDR12@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	_MMC_CAP_UHS_SDR25@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	_MMC_CAP_UHS_SDR50@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	_MMC_CAP_ERASE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	_MMC_CAP_SYNC_RUNTIME_PM@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	%edx, 12(%rax)
	movq	_MMC_CAP2_NO_PRESCAN_POWERUP@GOTPCREL(%rip), %rcx
	movq	_MMC_CAP2_FULL_PWR_CYCLE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_MMC_CAP2_NO_SDIO@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	%edx, 16(%rax)
	movabsq	$3435973837200, %rcx            ## imm = 0x32000000190
	movq	%rcx, 20(%rax)
	movq	_rtsx_usb_sdmmc_ops@GOTPCREL(%rip), %rcx
	movq	%rcx, 48(%rax)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [256,65536,512,65535]
	movups	%xmm0, 28(%rax)
	movl	$524288, 44(%rax)               ## imm = 0x80000
	movq	_MMC_POWER_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMC_VDD_32_33,4,2              ## @MMC_VDD_32_33
	.comm	_MMC_VDD_33_34,4,2              ## @MMC_VDD_33_34
	.comm	_MMC_VDD_165_195,4,2            ## @MMC_VDD_165_195
	.comm	_MMC_CAP_4_BIT_DATA,4,2         ## @MMC_CAP_4_BIT_DATA
	.comm	_MMC_CAP_SD_HIGHSPEED,4,2       ## @MMC_CAP_SD_HIGHSPEED
	.comm	_MMC_CAP_MMC_HIGHSPEED,4,2      ## @MMC_CAP_MMC_HIGHSPEED
	.comm	_MMC_CAP_BUS_WIDTH_TEST,4,2     ## @MMC_CAP_BUS_WIDTH_TEST
	.comm	_MMC_CAP_UHS_SDR12,4,2          ## @MMC_CAP_UHS_SDR12
	.comm	_MMC_CAP_UHS_SDR25,4,2          ## @MMC_CAP_UHS_SDR25
	.comm	_MMC_CAP_UHS_SDR50,4,2          ## @MMC_CAP_UHS_SDR50
	.comm	_MMC_CAP_ERASE,4,2              ## @MMC_CAP_ERASE
	.comm	_MMC_CAP_SYNC_RUNTIME_PM,4,2    ## @MMC_CAP_SYNC_RUNTIME_PM
	.comm	_MMC_CAP2_NO_PRESCAN_POWERUP,4,2 ## @MMC_CAP2_NO_PRESCAN_POWERUP
	.comm	_MMC_CAP2_FULL_PWR_CYCLE,4,2    ## @MMC_CAP2_FULL_PWR_CYCLE
	.comm	_MMC_CAP2_NO_SDIO,4,2           ## @MMC_CAP2_NO_SDIO
	.comm	_rtsx_usb_sdmmc_ops,4,2         ## @rtsx_usb_sdmmc_ops
	.comm	_MMC_POWER_OFF,4,2              ## @MMC_POWER_OFF
	.no_dead_strip	_rtsx_usb_init_host
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function rtsx_usb_init_host
lCPI0_0:
	.long	250000                          ; 0x3d090
	.long	208000000                       ; 0xc65d400
lCPI0_1:
	.long	400                             ; 0x190
	.long	800                             ; 0x320
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
lCPI0_2:
	.long	256                             ; 0x100
	.long	65536                           ; 0x10000
	.long	512                             ; 0x200
	.long	65535                           ; 0xffff
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_rtsx_usb_init_host:                    ; @rtsx_usb_init_host
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	str	d0, [x8]
Lloh2:
	adrp	x9, _MMC_VDD_32_33@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MMC_VDD_32_33@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	adrp	x10, _MMC_VDD_33_34@GOTPAGE
Lloh6:
	ldr	x10, [x10, _MMC_VDD_33_34@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh8:
	adrp	x10, _MMC_VDD_165_195@GOTPAGE
Lloh9:
	ldr	x10, [x10, _MMC_VDD_165_195@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh11:
	adrp	x10, _MMC_CAP_4_BIT_DATA@GOTPAGE
Lloh12:
	ldr	x10, [x10, _MMC_CAP_4_BIT_DATA@GOTPAGEOFF]
Lloh13:
	adrp	x11, _MMC_CAP_SD_HIGHSPEED@GOTPAGE
Lloh14:
	ldr	x11, [x11, _MMC_CAP_SD_HIGHSPEED@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
Lloh16:
	ldr	w11, [x11]
	orr	w10, w11, w10
Lloh17:
	adrp	x11, _MMC_CAP_MMC_HIGHSPEED@GOTPAGE
Lloh18:
	ldr	x11, [x11, _MMC_CAP_MMC_HIGHSPEED@GOTPAGEOFF]
Lloh19:
	ldr	w11, [x11]
	orr	w10, w10, w11
Lloh20:
	adrp	x11, _MMC_CAP_BUS_WIDTH_TEST@GOTPAGE
Lloh21:
	ldr	x11, [x11, _MMC_CAP_BUS_WIDTH_TEST@GOTPAGEOFF]
Lloh22:
	ldr	w11, [x11]
Lloh23:
	adrp	x12, _MMC_CAP_UHS_SDR12@GOTPAGE
Lloh24:
	ldr	x12, [x12, _MMC_CAP_UHS_SDR12@GOTPAGEOFF]
	orr	w10, w10, w11
Lloh25:
	ldr	w11, [x12]
	orr	w10, w10, w11
Lloh26:
	adrp	x11, _MMC_CAP_UHS_SDR25@GOTPAGE
Lloh27:
	ldr	x11, [x11, _MMC_CAP_UHS_SDR25@GOTPAGEOFF]
Lloh28:
	ldr	w11, [x11]
	orr	w10, w10, w11
Lloh29:
	adrp	x11, _MMC_CAP_UHS_SDR50@GOTPAGE
Lloh30:
	ldr	x11, [x11, _MMC_CAP_UHS_SDR50@GOTPAGEOFF]
Lloh31:
	ldr	w11, [x11]
Lloh32:
	adrp	x12, _MMC_CAP_ERASE@GOTPAGE
Lloh33:
	ldr	x12, [x12, _MMC_CAP_ERASE@GOTPAGEOFF]
	orr	w10, w10, w11
Lloh34:
	ldr	w11, [x12]
	orr	w10, w10, w11
Lloh35:
	adrp	x11, _MMC_CAP_SYNC_RUNTIME_PM@GOTPAGE
Lloh36:
	ldr	x11, [x11, _MMC_CAP_SYNC_RUNTIME_PM@GOTPAGEOFF]
Lloh37:
	ldr	w11, [x11]
	orr	w10, w10, w11
	stp	w9, w10, [x8, #8]
Lloh38:
	adrp	x9, _MMC_CAP2_NO_PRESCAN_POWERUP@GOTPAGE
Lloh39:
	ldr	x9, [x9, _MMC_CAP2_NO_PRESCAN_POWERUP@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
Lloh41:
	adrp	x10, _MMC_CAP2_FULL_PWR_CYCLE@GOTPAGE
Lloh42:
	ldr	x10, [x10, _MMC_CAP2_FULL_PWR_CYCLE@GOTPAGEOFF]
Lloh43:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh44:
	adrp	x10, _MMC_CAP2_NO_SDIO@GOTPAGE
Lloh45:
	ldr	x10, [x10, _MMC_CAP2_NO_SDIO@GOTPAGEOFF]
Lloh46:
	ldr	w10, [x10]
	orr	w9, w9, w10
	str	w9, [x8, #16]
Lloh47:
	adrp	x9, lCPI0_1@PAGE
Lloh48:
	ldr	d0, [x9, lCPI0_1@PAGEOFF]
	stur	d0, [x8, #20]
Lloh49:
	adrp	x9, _rtsx_usb_sdmmc_ops@GOTPAGE
Lloh50:
	ldr	x9, [x9, _rtsx_usb_sdmmc_ops@GOTPAGEOFF]
	str	x9, [x8, #48]
Lloh51:
	adrp	x9, lCPI0_2@PAGE
Lloh52:
	ldr	q0, [x9, lCPI0_2@PAGEOFF]
	stur	q0, [x8, #28]
	mov	w9, #524288
	str	w9, [x8, #44]
Lloh53:
	adrp	x8, _MMC_POWER_OFF@GOTPAGE
Lloh54:
	ldr	x8, [x8, _MMC_POWER_OFF@GOTPAGEOFF]
Lloh55:
	ldr	w8, [x8]
	str	w8, [x0]
	ret
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdr	Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpAdrp	Lloh47, Lloh49
	.loh AdrpLdr	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh15
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdrp	Lloh0, Lloh2
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MMC_VDD_32_33,4,2              ; @MMC_VDD_32_33
	.comm	_MMC_VDD_33_34,4,2              ; @MMC_VDD_33_34
	.comm	_MMC_VDD_165_195,4,2            ; @MMC_VDD_165_195
	.comm	_MMC_CAP_4_BIT_DATA,4,2         ; @MMC_CAP_4_BIT_DATA
	.comm	_MMC_CAP_SD_HIGHSPEED,4,2       ; @MMC_CAP_SD_HIGHSPEED
	.comm	_MMC_CAP_MMC_HIGHSPEED,4,2      ; @MMC_CAP_MMC_HIGHSPEED
	.comm	_MMC_CAP_BUS_WIDTH_TEST,4,2     ; @MMC_CAP_BUS_WIDTH_TEST
	.comm	_MMC_CAP_UHS_SDR12,4,2          ; @MMC_CAP_UHS_SDR12
	.comm	_MMC_CAP_UHS_SDR25,4,2          ; @MMC_CAP_UHS_SDR25
	.comm	_MMC_CAP_UHS_SDR50,4,2          ; @MMC_CAP_UHS_SDR50
	.comm	_MMC_CAP_ERASE,4,2              ; @MMC_CAP_ERASE
	.comm	_MMC_CAP_SYNC_RUNTIME_PM,4,2    ; @MMC_CAP_SYNC_RUNTIME_PM
	.comm	_MMC_CAP2_NO_PRESCAN_POWERUP,4,2 ; @MMC_CAP2_NO_PRESCAN_POWERUP
	.comm	_MMC_CAP2_FULL_PWR_CYCLE,4,2    ; @MMC_CAP2_FULL_PWR_CYCLE
	.comm	_MMC_CAP2_NO_SDIO,4,2           ; @MMC_CAP2_NO_SDIO
	.comm	_rtsx_usb_sdmmc_ops,4,2         ; @rtsx_usb_sdmmc_ops
	.comm	_MMC_POWER_OFF,4,2              ; @MMC_POWER_OFF
	.no_dead_strip	_rtsx_usb_init_host
.subsections_via_symbols
