	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function saa_dsp_reset_error_bit
_saa_dsp_reset_error_bit:               ## @saa_dsp_reset_error_bit
	.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	%rdi, %rbx
	movq	_SAA7135_DSP_RWSTATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_saa_readb
	movq	_SAA7135_DSP_RWSTATE_ERR@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	callq	_d2printk
	movq	_SAA7135_DSP_RWCLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SAA7135_DSP_RWCLEAR_RERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_saa_writeb
LBB0_2:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SAA7135_DSP_RWSTATE,4,2        ## @SAA7135_DSP_RWSTATE
	.comm	_SAA7135_DSP_RWSTATE_ERR,4,2    ## @SAA7135_DSP_RWSTATE_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: resetting error bit\n"

	.comm	_SAA7135_DSP_RWCLEAR,4,2        ## @SAA7135_DSP_RWCLEAR
	.comm	_SAA7135_DSP_RWCLEAR_RERR,4,2   ## @SAA7135_DSP_RWCLEAR_RERR
	.no_dead_strip	_saa_dsp_reset_error_bit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function saa_dsp_reset_error_bit
_saa_dsp_reset_error_bit:               ; @saa_dsp_reset_error_bit
	.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, x0
Lloh0:
	adrp	x8, _SAA7135_DSP_RWSTATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SAA7135_DSP_RWSTATE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_saa_readb
Lloh3:
	adrp	x8, _SAA7135_DSP_RWSTATE_ERR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SAA7135_DSP_RWSTATE_ERR@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w0, w8, w0
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w1, [x19]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_d2printk
Lloh8:
	adrp	x8, _SAA7135_DSP_RWCLEAR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SAA7135_DSP_RWCLEAR@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x8, _SAA7135_DSP_RWCLEAR_RERR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SAA7135_DSP_RWCLEAR_RERR@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_saa_writeb
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_SAA7135_DSP_RWSTATE,4,2        ; @SAA7135_DSP_RWSTATE
	.comm	_SAA7135_DSP_RWSTATE_ERR,4,2    ; @SAA7135_DSP_RWSTATE_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: resetting error bit\n"

	.comm	_SAA7135_DSP_RWCLEAR,4,2        ; @SAA7135_DSP_RWCLEAR
	.comm	_SAA7135_DSP_RWCLEAR_RERR,4,2   ; @SAA7135_DSP_RWCLEAR_RERR
	.no_dead_strip	_saa_dsp_reset_error_bit
.subsections_via_symbols
