	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_goya_send_cpu_message          ## -- Begin function goya_send_cpu_message
	.p2align	4, 0x90
_goya_send_cpu_message:                 ## @goya_send_cpu_message
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%r8, %r9
	movl	%ecx, %r8d
	movl	%edx, %ecx
	movq	%rsi, %rdx
	movq	(%rdi), %rax
	movq	_HW_CAP_CPU_Q@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	testl	%esi, (%rax)
	je	LBB0_1
## %bb.4:
	movq	_GOYA_QUEUE_ID_CPU_PQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	popq	%rbp
	jmp	_hl_fw_send_cpu_message         ## TAILCALL
LBB0_1:
	testq	%r9, %r9
	je	LBB0_3
## %bb.2:
	movq	$0, (%r9)
LBB0_3:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HW_CAP_CPU_Q,4,2               ## @HW_CAP_CPU_Q
	.comm	_GOYA_QUEUE_ID_CPU_PQ,4,2       ## @GOYA_QUEUE_ID_CPU_PQ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_goya_send_cpu_message          ; -- Begin function goya_send_cpu_message
	.p2align	2
_goya_send_cpu_message:                 ; @goya_send_cpu_message
	.cfi_startproc
; %bb.0:
	mov	x5, x4
	ldr	x8, [x0]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _HW_CAP_CPU_Q@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HW_CAP_CPU_Q@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	x4, x3
	mov	x3, x2
	mov	x2, x1
Lloh3:
	adrp	x8, _GOYA_QUEUE_ID_CPU_PQ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GOYA_QUEUE_ID_CPU_PQ@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	b	_hl_fw_send_cpu_message
LBB0_2:
	cbz	x5, LBB0_4
; %bb.3:
	str	xzr, [x5]
LBB0_4:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_HW_CAP_CPU_Q,4,2               ; @HW_CAP_CPU_Q
	.comm	_GOYA_QUEUE_ID_CPU_PQ,4,2       ; @GOYA_QUEUE_ID_CPU_PQ
.subsections_via_symbols
