	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alcor_data_irq_thread
_alcor_data_irq_thread:                 ## @alcor_data_irq_thread
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	_AU6601_INT_DATA_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	je	LBB0_7
## %bb.1:
	movq	%rdi, %r14
	cmpl	$0, 24(%rdi)
	je	LBB0_8
## %bb.2:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_alcor_data_irq_done
	testq	%rax, %rax
	je	LBB0_3
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	movl	20(%r14), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_dev_dbg
	movq	_AU6601_RESET_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_alcor_reset                    ## TAILCALL
LBB0_3:
	movq	_AU6601_INT_DATA_END@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_4
LBB0_9:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_alcor_finish_data              ## TAILCALL
LBB0_4:
	cmpl	$0, 16(%r14)
	je	LBB0_9
## %bb.5:
	cmpq	$0, 8(%r14)
	je	LBB0_7
## %bb.6:
	cmpl	$0, (%r14)
	jne	LBB0_7
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_AU6601_INT_DATA_MASK,4,2       ## @AU6601_INT_DATA_MASK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Got data interrupt 0x%08x even though no data operation was in progress.\n"

	.comm	_AU6601_RESET_DATA,4,2          ## @AU6601_RESET_DATA
	.comm	_AU6601_INT_DATA_END,4,2        ## @AU6601_INT_DATA_END
	.no_dead_strip	_alcor_data_irq_thread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alcor_data_irq_thread
_alcor_data_irq_thread:                 ; @alcor_data_irq_thread
	.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
Lloh0:
	adrp	x8, _AU6601_INT_DATA_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AU6601_INT_DATA_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ands	w20, w8, w1
	b.eq	LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0, #24]
	cbz	w8, LBB0_4
; %bb.2:
	mov	x0, x19
	mov	x1, x20
	bl	_alcor_data_irq_done
	cbz	x0, LBB0_5
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	w0, [x19, #20]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_dev_dbg
Lloh5:
	adrp	x8, _AU6601_RESET_DATA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AU6601_RESET_DATA@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_alcor_reset
LBB0_5:
Lloh8:
	adrp	x8, _AU6601_INT_DATA_END@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AU6601_INT_DATA_END@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_7
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_alcor_finish_data
LBB0_7:
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_6
; %bb.8:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_3
; %bb.9:
	ldr	w8, [x19]
	cbnz	w8, LBB0_3
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_AU6601_INT_DATA_MASK,4,2       ; @AU6601_INT_DATA_MASK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Got data interrupt 0x%08x even though no data operation was in progress.\n"

	.comm	_AU6601_RESET_DATA,4,2          ; @AU6601_RESET_DATA
	.comm	_AU6601_INT_DATA_END,4,2        ; @AU6601_INT_DATA_END
	.no_dead_strip	_alcor_data_irq_thread
.subsections_via_symbols
