	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alcor_cmd_irq_thread
_alcor_cmd_irq_thread:                  ## @alcor_cmd_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %edx
	movq	_AU6601_INT_CMD_END@GOTPCREL(%rip), %rax
	andl	(%rax), %edx
	je	LBB0_7
## %bb.1:
	movq	%rdi, %rbx
	cmpq	$0, (%rdi)
	je	LBB0_2
## %bb.3:
	cmpl	$0, 8(%rbx)
	je	LBB0_4
LBB0_5:
	movq	%rbx, %rdi
	callq	_alcor_trigger_data_transfer
	jmp	LBB0_6
LBB0_2:
	movl	12(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	cmpl	$0, 8(%rbx)
	jne	LBB0_5
LBB0_4:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_alcor_request_complete
LBB0_6:
	movq	$0, (%rbx)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AU6601_INT_CMD_END,4,2         ## @AU6601_INT_CMD_END
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Got command interrupt 0x%08x even though no command operation was in progress.\n"

	.no_dead_strip	_alcor_cmd_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_cmd_irq_thread
_alcor_cmd_irq_thread:                  ; @alcor_cmd_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_CMD_END@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AU6601_INT_CMD_END@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ands	w2, w8, w1
	b.eq	LBB0_7
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_5
LBB0_3:
	mov	x0, x19
	bl	_alcor_trigger_data_transfer
	b	LBB0_6
LBB0_4:
	ldr	w0, [x19, #12]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
	ldr	w8, [x19, #8]
	cbnz	w8, LBB0_3
LBB0_5:
	mov	x0, x19
	mov	w1, #1
	bl	_alcor_request_complete
LBB0_6:
	str	xzr, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_AU6601_INT_CMD_END,4,2         ; @AU6601_INT_CMD_END
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Got command interrupt 0x%08x even though no command operation was in progress.\n"

	.no_dead_strip	_alcor_cmd_irq_thread
.subsections_via_symbols
