	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdhci_set_card_detection
_sdhci_set_card_detection:              ## @sdhci_set_card_detection
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_SDHCI_QUIRK_BROKEN_CARD_DETECTION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_1
## %bb.3:
	popq	%rbp
	retq
LBB0_1:
	movq	_SDHCI_INT_CARD_REMOVE@GOTPCREL(%rip), %rcx
	movq	_SDHCI_INT_CARD_INSERT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	testl	%esi, %esi
	je	LBB0_2
## %bb.4:
	movl	%eax, %esi
	popq	%rbp
	jmp	_sdhci_unmask_irqs              ## TAILCALL
LBB0_2:
	movl	%eax, %esi
	popq	%rbp
	jmp	_sdhci_mask_irqs                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SDHCI_INT_CARD_REMOVE,4,2      ## @SDHCI_INT_CARD_REMOVE
	.comm	_SDHCI_INT_CARD_INSERT,4,2      ## @SDHCI_INT_CARD_INSERT
	.comm	_SDHCI_QUIRK_BROKEN_CARD_DETECTION,4,2 ## @SDHCI_QUIRK_BROKEN_CARD_DETECTION
	.no_dead_strip	_sdhci_set_card_detection
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdhci_set_card_detection
_sdhci_set_card_detection:              ; @sdhci_set_card_detection
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _SDHCI_QUIRK_BROKEN_CARD_DETECTION@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SDHCI_QUIRK_BROKEN_CARD_DETECTION@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ret
LBB0_2:
Lloh3:
	adrp	x8, _SDHCI_INT_CARD_REMOVE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SDHCI_INT_CARD_REMOVE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _SDHCI_INT_CARD_INSERT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SDHCI_INT_CARD_INSERT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
	cbz	w1, LBB0_4
; %bb.3:
	mov	x1, x8
	b	_sdhci_unmask_irqs
LBB0_4:
	mov	x1, x8
	b	_sdhci_mask_irqs
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SDHCI_INT_CARD_REMOVE,4,2      ; @SDHCI_INT_CARD_REMOVE
	.comm	_SDHCI_INT_CARD_INSERT,4,2      ; @SDHCI_INT_CARD_INSERT
	.comm	_SDHCI_QUIRK_BROKEN_CARD_DETECTION,4,2 ; @SDHCI_QUIRK_BROKEN_CARD_DETECTION
	.no_dead_strip	_sdhci_set_card_detection
.subsections_via_symbols
