	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function usdhi6_get_cd
_usdhi6_get_cd:                         ## @usdhi6_get_cd
	.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	_mmc_priv
	movq	_USDHI6_SD_INFO1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_usdhi6_read
	movq	_USDHI6_SD_INFO1_CD@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	sete	%al
	movq	_MMC_CAP2_CD_ACTIVE_HIGH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rbx)
	sete	%cl
	xorb	%al, %cl
	movzbl	%cl, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_USDHI6_SD_INFO1,4,2            ## @USDHI6_SD_INFO1
	.comm	_USDHI6_SD_INFO1_CD,4,2         ## @USDHI6_SD_INFO1_CD
	.comm	_MMC_CAP2_CD_ACTIVE_HIGH,4,2    ## @MMC_CAP2_CD_ACTIVE_HIGH
	.no_dead_strip	_usdhi6_get_cd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function usdhi6_get_cd
_usdhi6_get_cd:                         ; @usdhi6_get_cd
	.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	_mmc_priv
Lloh0:
	adrp	x8, _USDHI6_SD_INFO1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _USDHI6_SD_INFO1@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_usdhi6_read
Lloh3:
	adrp	x8, _USDHI6_SD_INFO1_CD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _USDHI6_SD_INFO1_CD@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	cset	w8, eq
Lloh6:
	adrp	x9, _MMC_CAP2_CD_ACTIVE_HIGH@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MMC_CAP2_CD_ACTIVE_HIGH@GOTPAGEOFF]
	ldr	w10, [x19]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w10
	cset	w9, eq
	eor	w0, w8, w9
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_USDHI6_SD_INFO1,4,2            ; @USDHI6_SD_INFO1
	.comm	_USDHI6_SD_INFO1_CD,4,2         ; @USDHI6_SD_INFO1_CD
	.comm	_MMC_CAP2_CD_ACTIVE_HIGH,4,2    ; @MMC_CAP2_CD_ACTIVE_HIGH
	.no_dead_strip	_usdhi6_get_cd
.subsections_via_symbols
