	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aica_chn_halt
_aica_chn_halt:                         ## @aica_chn_halt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	callq	_spu_write_wait
	callq	_local_irq_save
	movq	_AICA_CMD_KICK@GOTPCREL(%rip), %rax
	movq	_AICA_CMD_STOP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_AICA_CONTROL_POINT@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_writel
	popq	%rbp
	jmp	_local_irq_restore              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AICA_CMD_KICK,4,2              ## @AICA_CMD_KICK
	.comm	_AICA_CMD_STOP,4,2              ## @AICA_CMD_STOP
	.comm	_AICA_CONTROL_POINT,8,3         ## @AICA_CONTROL_POINT
	.no_dead_strip	_aica_chn_halt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aica_chn_halt
_aica_chn_halt:                         ; @aica_chn_halt
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_spu_write_wait
	bl	_local_irq_save
Lloh0:
	adrp	x8, _AICA_CMD_KICK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AICA_CMD_KICK@GOTPAGEOFF]
Lloh2:
	adrp	x9, _AICA_CMD_STOP@GOTPAGE
Lloh3:
	ldr	x9, [x9, _AICA_CMD_STOP@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	orr	w0, w9, w8
Lloh6:
	adrp	x8, _AICA_CONTROL_POINT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AICA_CONTROL_POINT@GOTPAGEOFF]
Lloh8:
	ldr	x1, [x8]
	bl	_writel
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_local_irq_restore
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_AICA_CMD_KICK,4,2              ; @AICA_CMD_KICK
	.comm	_AICA_CMD_STOP,4,2              ; @AICA_CMD_STOP
	.comm	_AICA_CONTROL_POINT,8,3         ; @AICA_CONTROL_POINT
	.no_dead_strip	_aica_chn_halt
.subsections_via_symbols
