	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function at91_mci_enable
_at91_mci_enable:                       ## @at91_mci_enable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_AT91_MCI_CR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AT91_MCI_MCIEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_at91_mci_write
	movq	_AT91_MCI_IDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$-1, %edx
	callq	_at91_mci_write
	movq	_AT91_MCI_DTOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AT91_MCI_DTOMUL_1M@GOTPCREL(%rip), %rax
	movq	_AT91_MCI_DTOCYC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%r14, %rdi
	callq	_at91_mci_write
	movq	_AT91_MCI_PDCMODE@GOTPCREL(%rip), %rax
	movl	$842, %ebx                      ## imm = 0x34A
	orl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_cpu_is_at91sam9260
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_cpu_is_at91sam9263
	testq	%rax, %rax
	je	LBB0_3
LBB0_2:
	movq	_AT91_MCI_RDPROOF@GOTPCREL(%rip), %rax
	movq	_AT91_MCI_WRPROOF@GOTPCREL(%rip), %rcx
	orl	(%rax), %ebx
	orl	(%rcx), %ebx
LBB0_3:
	movq	_AT91_MCI_MR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_at91_mci_write
	movq	_AT91_MCI_SDCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r14), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_at91_mci_write                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AT91_MCI_CR,4,2                ## @AT91_MCI_CR
	.comm	_AT91_MCI_MCIEN,4,2             ## @AT91_MCI_MCIEN
	.comm	_AT91_MCI_IDR,4,2               ## @AT91_MCI_IDR
	.comm	_AT91_MCI_DTOR,4,2              ## @AT91_MCI_DTOR
	.comm	_AT91_MCI_DTOMUL_1M,4,2         ## @AT91_MCI_DTOMUL_1M
	.comm	_AT91_MCI_DTOCYC,4,2            ## @AT91_MCI_DTOCYC
	.comm	_AT91_MCI_PDCMODE,4,2           ## @AT91_MCI_PDCMODE
	.comm	_AT91_MCI_RDPROOF,4,2           ## @AT91_MCI_RDPROOF
	.comm	_AT91_MCI_WRPROOF,4,2           ## @AT91_MCI_WRPROOF
	.comm	_AT91_MCI_MR,4,2                ## @AT91_MCI_MR
	.comm	_AT91_MCI_SDCR,4,2              ## @AT91_MCI_SDCR
	.no_dead_strip	_at91_mci_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function at91_mci_enable
_at91_mci_enable:                       ; @at91_mci_enable
	.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
Lloh0:
	adrp	x8, _AT91_MCI_CR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AT91_MCI_CR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _AT91_MCI_MCIEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AT91_MCI_MCIEN@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_at91_mci_write
Lloh6:
	adrp	x8, _AT91_MCI_IDR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AT91_MCI_IDR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-1
	bl	_at91_mci_write
Lloh9:
	adrp	x8, _AT91_MCI_DTOR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AT91_MCI_DTOR@GOTPAGEOFF]
Lloh11:
	adrp	x9, _AT91_MCI_DTOMUL_1M@GOTPAGE
Lloh12:
	ldr	x9, [x9, _AT91_MCI_DTOMUL_1M@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	ldr	w8, [x9]
Lloh15:
	adrp	x9, _AT91_MCI_DTOCYC@GOTPAGE
Lloh16:
	ldr	x9, [x9, _AT91_MCI_DTOCYC@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_at91_mci_write
Lloh18:
	adrp	x8, _AT91_MCI_PDCMODE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AT91_MCI_PDCMODE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	mov	w9, #842
	orr	w20, w8, w9
	bl	_cpu_is_at91sam9260
	cbnz	x0, LBB0_2
; %bb.1:
	bl	_cpu_is_at91sam9263
	cbz	x0, LBB0_3
LBB0_2:
Lloh21:
	adrp	x8, _AT91_MCI_RDPROOF@GOTPAGE
Lloh22:
	ldr	x8, [x8, _AT91_MCI_RDPROOF@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _AT91_MCI_WRPROOF@GOTPAGE
Lloh25:
	ldr	x9, [x9, _AT91_MCI_WRPROOF@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w8, w8, w20
	orr	w20, w8, w9
LBB0_3:
Lloh27:
	adrp	x8, _AT91_MCI_MR@GOTPAGE
Lloh28:
	ldr	x8, [x8, _AT91_MCI_MR@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_at91_mci_write
Lloh30:
	adrp	x8, _AT91_MCI_SDCR@GOTPAGE
Lloh31:
	ldr	x8, [x8, _AT91_MCI_SDCR@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	ldr	x8, [x19]
	ldr	w2, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_at91_mci_write
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_AT91_MCI_CR,4,2                ; @AT91_MCI_CR
	.comm	_AT91_MCI_MCIEN,4,2             ; @AT91_MCI_MCIEN
	.comm	_AT91_MCI_IDR,4,2               ; @AT91_MCI_IDR
	.comm	_AT91_MCI_DTOR,4,2              ; @AT91_MCI_DTOR
	.comm	_AT91_MCI_DTOMUL_1M,4,2         ; @AT91_MCI_DTOMUL_1M
	.comm	_AT91_MCI_DTOCYC,4,2            ; @AT91_MCI_DTOCYC
	.comm	_AT91_MCI_PDCMODE,4,2           ; @AT91_MCI_PDCMODE
	.comm	_AT91_MCI_RDPROOF,4,2           ; @AT91_MCI_RDPROOF
	.comm	_AT91_MCI_WRPROOF,4,2           ; @AT91_MCI_WRPROOF
	.comm	_AT91_MCI_MR,4,2                ; @AT91_MCI_MR
	.comm	_AT91_MCI_SDCR,4,2              ; @AT91_MCI_SDCR
	.no_dead_strip	_at91_mci_enable
.subsections_via_symbols
