	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AT91F_MCI_SDCard_GetCID        ## -- Begin function AT91F_MCI_SDCard_GetCID
	.p2align	4, 0x90
_AT91F_MCI_SDCard_GetCID:               ## @AT91F_MCI_SDCard_GetCID
	.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	%rsi, %rbx
	movq	_AT91C_ALL_SEND_CID_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AT91C_NO_ARGUMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_AT91F_MCI_SendCommand
	movq	_AT91C_CMD_SEND_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_AT91C_BASE_MCI@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %edx
	movl	%edx, (%rbx)
	movl	4(%rcx), %edx
	movl	%edx, 4(%rbx)
	movl	8(%rcx), %edx
	movl	%edx, 8(%rbx)
	movl	12(%rcx), %ecx
	movl	%ecx, 12(%rbx)
	jmp	LBB0_3
LBB0_1:
	movq	_AT91C_CMD_SEND_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_3:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AT91C_ALL_SEND_CID_CMD,4,2     ## @AT91C_ALL_SEND_CID_CMD
	.comm	_AT91C_NO_ARGUMENT,4,2          ## @AT91C_NO_ARGUMENT
	.comm	_AT91C_CMD_SEND_OK,8,3          ## @AT91C_CMD_SEND_OK
	.comm	_AT91C_CMD_SEND_ERROR,4,2       ## @AT91C_CMD_SEND_ERROR
	.comm	_AT91C_BASE_MCI,8,3             ## @AT91C_BASE_MCI
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AT91F_MCI_SDCard_GetCID        ; -- Begin function AT91F_MCI_SDCard_GetCID
	.p2align	2
_AT91F_MCI_SDCard_GetCID:               ; @AT91F_MCI_SDCard_GetCID
	.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, x1
Lloh0:
	adrp	x8, _AT91C_ALL_SEND_CID_CMD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AT91C_ALL_SEND_CID_CMD@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _AT91C_NO_ARGUMENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AT91C_NO_ARGUMENT@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_AT91F_MCI_SendCommand
Lloh6:
	adrp	x8, _AT91C_CMD_SEND_OK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AT91C_CMD_SEND_OK@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _AT91C_BASE_MCI@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AT91C_BASE_MCI@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	w9, [x8]
	str	w9, [x19]
	ldr	w9, [x8, #4]
	str	w9, [x19, #4]
	ldr	w9, [x8, #8]
	str	w9, [x19, #8]
	ldr	w8, [x8, #12]
	str	w8, [x19, #12]
	b	LBB0_3
LBB0_2:
Lloh12:
	adrp	x8, _AT91C_CMD_SEND_ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AT91C_CMD_SEND_ERROR@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
LBB0_3:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_AT91C_ALL_SEND_CID_CMD,4,2     ; @AT91C_ALL_SEND_CID_CMD
	.comm	_AT91C_NO_ARGUMENT,4,2          ; @AT91C_NO_ARGUMENT
	.comm	_AT91C_CMD_SEND_OK,8,3          ; @AT91C_CMD_SEND_OK
	.comm	_AT91C_CMD_SEND_ERROR,4,2       ; @AT91C_CMD_SEND_ERROR
	.comm	_AT91C_BASE_MCI,8,3             ; @AT91C_BASE_MCI
.subsections_via_symbols
