	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sdgecko_initIODefault          ## -- Begin function sdgecko_initIODefault
	.p2align	4, 0x90
_sdgecko_initIODefault:                 ## @sdgecko_initIODefault
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	callq	___init_crc7
	xorl	%eax, %eax
	callq	___init_crc16
	movq	_MAX_DRIVE@GOTPCREL(%rip), %r14
	cmpq	$0, (%r14)
	je	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	movq	_TYPE_SD@GOTPCREL(%rip), %r15
	movq	__initType@GOTPCREL(%rip), %r12
	movq	__ioEXILock@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	__ioRetryCnt@GOTPCREL(%rip), %rcx
	movq	$0, (%rcx)
	movq	__ioError@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	$0, (%rax,%rbx,8)
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	__ioCardInserted@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movq	_NOT_INITIALIZED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	__ioFlag@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movq	_BYTE_ADDRESSING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	__ioAddressingType@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movl	(%r15), %eax
	movq	(%r12), %rcx
	movl	%eax, (%rcx,%rbx,4)
	leaq	(,%rbx,4), %rdi
	addq	(%r13), %rdi
	callq	_LWP_InitQueue
	incq	%rbx
	cmpq	(%r14), %rbx
	jb	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_DRIVE,8,3                  ## @MAX_DRIVE
	.comm	__ioRetryCnt,8,3                ## @_ioRetryCnt
	.comm	__ioError,8,3                   ## @_ioError
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	__ioCardInserted,8,3            ## @_ioCardInserted
	.comm	_NOT_INITIALIZED,4,2            ## @NOT_INITIALIZED
	.comm	__ioFlag,8,3                    ## @_ioFlag
	.comm	_BYTE_ADDRESSING,4,2            ## @BYTE_ADDRESSING
	.comm	__ioAddressingType,8,3          ## @_ioAddressingType
	.comm	_TYPE_SD,4,2                    ## @TYPE_SD
	.comm	__initType,8,3                  ## @_initType
	.comm	__ioEXILock,8,3                 ## @_ioEXILock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sdgecko_initIODefault          ; -- Begin function sdgecko_initIODefault
	.p2align	2
_sdgecko_initIODefault:                 ; @sdgecko_initIODefault
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	bl	___init_crc7
	bl	___init_crc16
Lloh0:
	adrp	x23, _MAX_DRIVE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MAX_DRIVE@GOTPAGEOFF]
	ldr	x8, [x23]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x20, #0
Lloh2:
	adrp	x24, __ioCardInserted@GOTPAGE
Lloh3:
	ldr	x24, [x24, __ioCardInserted@GOTPAGEOFF]
Lloh4:
	adrp	x25, _NOT_INITIALIZED@GOTPAGE
Lloh5:
	ldr	x25, [x25, _NOT_INITIALIZED@GOTPAGEOFF]
Lloh6:
	adrp	x26, __ioFlag@GOTPAGE
Lloh7:
	ldr	x26, [x26, __ioFlag@GOTPAGEOFF]
Lloh8:
	adrp	x27, _BYTE_ADDRESSING@GOTPAGE
Lloh9:
	ldr	x27, [x27, _BYTE_ADDRESSING@GOTPAGEOFF]
Lloh10:
	adrp	x28, __ioAddressingType@GOTPAGE
Lloh11:
	ldr	x28, [x28, __ioAddressingType@GOTPAGEOFF]
Lloh12:
	adrp	x19, _TYPE_SD@GOTPAGE
Lloh13:
	ldr	x19, [x19, _TYPE_SD@GOTPAGEOFF]
Lloh14:
	adrp	x21, __initType@GOTPAGE
Lloh15:
	ldr	x21, [x21, __initType@GOTPAGEOFF]
Lloh16:
	adrp	x22, __ioEXILock@GOTPAGE
Lloh17:
	ldr	x22, [x22, __ioEXILock@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
Lloh18:
	adrp	x8, __ioRetryCnt@GOTPAGE
Lloh19:
	ldr	x8, [x8, __ioRetryCnt@GOTPAGEOFF]
Lloh20:
	str	xzr, [x8]
Lloh21:
	adrp	x8, __ioError@GOTPAGE
Lloh22:
	ldr	x8, [x8, __ioError@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	str	xzr, [x8, x20, lsl #3]
Lloh24:
	adrp	x8, _FALSE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	ldr	x9, [x24]
	lsl	x10, x20, #2
	str	w8, [x9, x10]
	ldr	w8, [x25]
	ldr	x9, [x26]
	str	w8, [x9, x10]
	ldr	w8, [x27]
	ldr	x9, [x28]
	str	w8, [x9, x10]
	ldr	w8, [x19]
	ldr	x9, [x21]
	str	w8, [x9, x10]
	ldr	x8, [x22]
	add	x0, x8, x10
	bl	_LWP_InitQueue
	add	x20, x20, #1
	ldr	x8, [x23]
	cmp	x20, x8
	b.lo	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_DRIVE,8,3                  ; @MAX_DRIVE
	.comm	__ioRetryCnt,8,3                ; @_ioRetryCnt
	.comm	__ioError,8,3                   ; @_ioError
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	__ioCardInserted,8,3            ; @_ioCardInserted
	.comm	_NOT_INITIALIZED,4,2            ; @NOT_INITIALIZED
	.comm	__ioFlag,8,3                    ; @_ioFlag
	.comm	_BYTE_ADDRESSING,4,2            ; @BYTE_ADDRESSING
	.comm	__ioAddressingType,8,3          ; @_ioAddressingType
	.comm	_TYPE_SD,4,2                    ; @TYPE_SD
	.comm	__initType,8,3                  ; @_initType
	.comm	__ioEXILock,8,3                 ; @_ioEXILock
.subsections_via_symbols
