	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ricoh_probe
_ricoh_probe:                           ## @ricoh_probe
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movq	_PCI_VENDOR_ID_IBM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_SDHCI_QUIRK_CLOCK_BEFORE_RESET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%rdi)
LBB0_2:
	movq	_PCI_VENDOR_ID_SAMSUNG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	movq	_PCI_VENDOR_ID_SONY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
LBB0_4:
	movq	_SDHCI_QUIRK_NO_CARD_NO_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rdi)
LBB0_5:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_VENDOR_ID_IBM,8,3          ## @PCI_VENDOR_ID_IBM
	.comm	_SDHCI_QUIRK_CLOCK_BEFORE_RESET,4,2 ## @SDHCI_QUIRK_CLOCK_BEFORE_RESET
	.comm	_PCI_VENDOR_ID_SAMSUNG,8,3      ## @PCI_VENDOR_ID_SAMSUNG
	.comm	_PCI_VENDOR_ID_SONY,8,3         ## @PCI_VENDOR_ID_SONY
	.comm	_SDHCI_QUIRK_NO_CARD_NO_RESET,4,2 ## @SDHCI_QUIRK_NO_CARD_NO_RESET
	.no_dead_strip	_ricoh_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ricoh_probe
_ricoh_probe:                           ; @ricoh_probe
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _PCI_VENDOR_ID_IBM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PCI_VENDOR_ID_IBM@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, _SDHCI_QUIRK_CLOCK_BEFORE_RESET@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SDHCI_QUIRK_CLOCK_BEFORE_RESET@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	ldr	w10, [x0]
	orr	w9, w10, w9
	str	w9, [x0]
LBB0_2:
Lloh6:
	adrp	x9, _PCI_VENDOR_ID_SAMSUNG@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PCI_VENDOR_ID_SAMSUNG@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x10, _PCI_VENDOR_ID_SONY@GOTPAGE
Lloh10:
	ldr	x10, [x10, _PCI_VENDOR_ID_SONY@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_4
; %bb.3:
Lloh12:
	adrp	x8, _SDHCI_QUIRK_NO_CARD_NO_RESET@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SDHCI_QUIRK_NO_CARD_NO_RESET@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	w9, [x0]
	orr	w8, w9, w8
	str	w8, [x0]
LBB0_4:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_VENDOR_ID_IBM,8,3          ; @PCI_VENDOR_ID_IBM
	.comm	_SDHCI_QUIRK_CLOCK_BEFORE_RESET,4,2 ; @SDHCI_QUIRK_CLOCK_BEFORE_RESET
	.comm	_PCI_VENDOR_ID_SAMSUNG,8,3      ; @PCI_VENDOR_ID_SAMSUNG
	.comm	_PCI_VENDOR_ID_SONY,8,3         ; @PCI_VENDOR_ID_SONY
	.comm	_SDHCI_QUIRK_NO_CARD_NO_RESET,4,2 ; @SDHCI_QUIRK_NO_CARD_NO_RESET
	.no_dead_strip	_ricoh_probe
.subsections_via_symbols
