	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmc_test_check_broken_result
_mmc_test_check_broken_result:          ## @mmc_test_check_broken_result
	.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
	movl	$1, %edi
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.1:
	cmpq	$0, 16(%rbx)
	je	LBB0_3
## %bb.2:
	xorl	%edi, %edi
	cmpq	$0, (%rbx)
	sete	%dil
LBB0_3:
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_24
LBB0_5:
	movq	(%rbx), %rcx
	movq	16(%rbx), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jne	LBB0_13
## %bb.6:
	movl	(%rcx), %eax
	movq	_RESULT_FAIL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%eax, %eax
	jne	LBB0_9
## %bb.7:
	testl	%edx, %edx
	je	LBB0_9
## %bb.8:
	movl	%edx, %eax
	jmp	LBB0_13
LBB0_9:
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rsi
	xorl	%edi, %edi
	subl	(%rsi), %edi
	cmpl	%edi, %eax
	jne	LBB0_13
LBB0_11:
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_16
## %bb.12:
	movl	(%rax), %eax
LBB0_13:
	cmpl	$1, 4(%rcx)
	jle	LBB0_18
## %bb.14:
	testl	%eax, %eax
	jne	LBB0_22
## %bb.15:
	movq	_RESULT_FAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	16(%rcx), %rsi
	jmp	LBB0_21
LBB0_18:
	testl	%eax, %eax
	jne	LBB0_22
## %bb.19:
	movq	_RESULT_FAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_20:
	xorl	%esi, %esi
LBB0_21:
	xorl	%eax, %eax
	cmpq	%rsi, 8(%rcx)
	cmovgl	%edx, %eax
LBB0_22:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%eax, %ecx
	jne	LBB0_24
## %bb.23:
	movq	_RESULT_UNSUP_HOST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_24:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_16:
	cmpl	$1, 4(%rcx)
	jle	LBB0_20
## %bb.17:
	movq	16(%rcx), %rsi
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_RESULT_FAIL,4,2                ## @RESULT_FAIL
	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.comm	_RESULT_UNSUP_HOST,4,2          ## @RESULT_UNSUP_HOST
	.no_dead_strip	_mmc_test_check_broken_result
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmc_test_check_broken_result
_mmc_test_check_broken_result:          ; @mmc_test_check_broken_result
	.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
	cbz	x1, LBB0_8
; %bb.1:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_8
; %bb.2:
	ldr	x8, [x19]
	cmp	x8, #0
	cset	w0, eq
	bl	_WARN_ON
	cbnz	x0, LBB0_9
LBB0_3:
	ldr	x8, [x19, #16]
	ldr	w10, [x8]
	ldr	x8, [x19]
	cbnz	w10, LBB0_11
; %bb.4:
	ldr	w10, [x8]
Lloh0:
	adrp	x9, _RESULT_FAIL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RESULT_FAIL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w10, #0
	ccmp	w9, #0, #4, eq
	b.ne	LBB0_10
; %bb.5:
Lloh3:
	adrp	x11, _ETIMEDOUT@GOTPAGE
Lloh4:
	ldr	x11, [x11, _ETIMEDOUT@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	neg	w11, w11
	cmp	w10, #0
	ccmp	w10, w11, #4, ne
	b.ne	LBB0_11
; %bb.6:
	ldr	x10, [x19, #8]
	cbz	x10, LBB0_20
; %bb.7:
	ldr	w10, [x10]
	b	LBB0_11
LBB0_8:
	mov	w0, #1
	bl	_WARN_ON
	cbz	x0, LBB0_3
LBB0_9:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_19
LBB0_10:
	mov	x10, x9
LBB0_11:
	ldr	w9, [x8, #4]
	cmp	w9, #1
	b.le	LBB0_15
; %bb.12:
	cbnz	w10, LBB0_18
; %bb.13:
Lloh9:
	adrp	x9, _RESULT_FAIL@GOTPAGE
Lloh10:
	ldr	x9, [x9, _RESULT_FAIL@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
LBB0_14:
	ldr	x10, [x8, #16]
	b	LBB0_17
LBB0_15:
	cbnz	w10, LBB0_18
; %bb.16:
	mov	x10, #0
Lloh12:
	adrp	x9, _RESULT_FAIL@GOTPAGE
Lloh13:
	ldr	x9, [x9, _RESULT_FAIL@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
LBB0_17:
	ldr	x8, [x8, #8]
	cmp	x8, x10
	csel	w10, w9, wzr, gt
LBB0_18:
Lloh15:
	adrp	x8, _EINVAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _RESULT_UNSUP_HOST@GOTPAGE
Lloh19:
	ldr	x9, [x9, _RESULT_UNSUP_HOST@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	cmn	w10, w8
	csel	w0, w9, w10, eq
LBB0_19:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_20:
	ldr	w10, [x8, #4]
	cmp	w10, #1
	b.gt	LBB0_14
; %bb.21:
	mov	x10, #0
	b	LBB0_17
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_RESULT_FAIL,4,2                ; @RESULT_FAIL
	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.comm	_RESULT_UNSUP_HOST,4,2          ; @RESULT_UNSUP_HOST
	.no_dead_strip	_mmc_test_check_broken_result
.subsections_via_symbols
