	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcm2835_check_data_error
_bcm2835_check_data_error:              ## @bcm2835_check_data_error
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	_SDHSTS_CRC16_ERROR@GOTPCREL(%rip), %rcx
	movq	_SDHSTS_FIFO_ERROR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	testl	%esi, %edx
	je	LBB0_3
## %bb.2:
	movq	_EILSEQ@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	subl	(%rcx), %edx
	movl	%edx, (%rax)
LBB0_3:
	movq	_SDHSTS_REW_TIME_OUT@GOTPCREL(%rip), %rcx
	testl	%esi, (%rcx)
	je	LBB0_5
## %bb.4:
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	subl	(%rcx), %edx
	movl	%edx, (%rax)
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SDHSTS_CRC16_ERROR,4,2         ## @SDHSTS_CRC16_ERROR
	.comm	_SDHSTS_FIFO_ERROR,4,2          ## @SDHSTS_FIFO_ERROR
	.comm	_EILSEQ,4,2                     ## @EILSEQ
	.comm	_SDHSTS_REW_TIME_OUT,4,2        ## @SDHSTS_REW_TIME_OUT
	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.no_dead_strip	_bcm2835_check_data_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcm2835_check_data_error
_bcm2835_check_data_error:              ; @bcm2835_check_data_error
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	cbz	x8, LBB0_5
; %bb.1:
Lloh0:
	adrp	x9, _SDHSTS_CRC16_ERROR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SDHSTS_CRC16_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _SDHSTS_FIFO_ERROR@GOTPAGE
Lloh4:
	ldr	x10, [x10, _SDHSTS_FIFO_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w1
	b.eq	LBB0_3
; %bb.2:
Lloh6:
	adrp	x9, _EILSEQ@GOTPAGE
Lloh7:
	ldr	x9, [x9, _EILSEQ@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	neg	w9, w9
	str	w9, [x8]
LBB0_3:
Lloh9:
	adrp	x9, _SDHSTS_REW_TIME_OUT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SDHSTS_REW_TIME_OUT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w1
	b.eq	LBB0_5
; %bb.4:
Lloh12:
	adrp	x9, _ETIMEDOUT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ETIMEDOUT@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	neg	w9, w9
	str	w9, [x8]
LBB0_5:
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_SDHSTS_CRC16_ERROR,4,2         ; @SDHSTS_CRC16_ERROR
	.comm	_SDHSTS_FIFO_ERROR,4,2          ; @SDHSTS_FIFO_ERROR
	.comm	_EILSEQ,4,2                     ; @EILSEQ
	.comm	_SDHSTS_REW_TIME_OUT,4,2        ; @SDHSTS_REW_TIME_OUT
	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.no_dead_strip	_bcm2835_check_data_error
.subsections_via_symbols
