	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdhci_needs_reset
_sdhci_needs_reset:                     ## @sdhci_needs_reset
	.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_DEVICE_DEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%eax, %eax
	testl	%ecx, (%rdi)
	je	LBB0_1
LBB0_9:
	popq	%rbp
	retq
LBB0_1:
	movq	16(%rsi), %rcx
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.2:
	movl	$1, %eax
	cmpq	$0, (%rcx)
	jne	LBB0_9
LBB0_3:
	movq	8(%rsi), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.4:
	movl	$1, %eax
	cmpq	$0, (%rcx)
	jne	LBB0_9
LBB0_5:
	movq	(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.7:
	movl	$1, %eax
	cmpq	$0, (%rcx)
	jne	LBB0_9
LBB0_8:
	movq	_SDHCI_QUIRK_RESET_AFTER_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%eax, %eax
	testl	%ecx, 4(%rdi)
	setne	%al
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SDHCI_DEVICE_DEAD,4,2          ## @SDHCI_DEVICE_DEAD
	.comm	_SDHCI_QUIRK_RESET_AFTER_REQUEST,4,2 ## @SDHCI_QUIRK_RESET_AFTER_REQUEST
	.no_dead_strip	_sdhci_needs_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdhci_needs_reset
_sdhci_needs_reset:                     ; @sdhci_needs_reset
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _SDHCI_DEVICE_DEAD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SDHCI_DEVICE_DEAD@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	w0, #0
	ret
LBB0_2:
	ldr	x8, [x1, #16]
	cbz	x8, LBB0_5
; %bb.3:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.4:
	mov	w0, #1
	ret
LBB0_5:
	ldr	x8, [x1, #8]
	cbz	x8, LBB0_8
; %bb.6:
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.7:
	mov	w0, #1
	ret
LBB0_8:
	ldr	x8, [x1]
	cbz	x8, LBB0_12
; %bb.9:
	ldr	x8, [x8]
	cbz	x8, LBB0_12
; %bb.10:
	ldr	x8, [x8]
	cbz	x8, LBB0_12
; %bb.11:
	mov	w0, #1
	ret
LBB0_12:
	ldr	w8, [x0, #4]
Lloh3:
	adrp	x9, _SDHCI_QUIRK_RESET_AFTER_REQUEST@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SDHCI_QUIRK_RESET_AFTER_REQUEST@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, ne
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SDHCI_DEVICE_DEAD,4,2          ; @SDHCI_DEVICE_DEAD
	.comm	_SDHCI_QUIRK_RESET_AFTER_REQUEST,4,2 ; @SDHCI_QUIRK_RESET_AFTER_REQUEST
	.no_dead_strip	_sdhci_needs_reset
.subsections_via_symbols
