	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_guc_to_host_process_recv_msg ## -- Begin function intel_guc_to_host_process_recv_msg
	.p2align	4, 0x90
_intel_guc_to_host_process_recv_msg:    ## @intel_guc_to_host_process_recv_msg
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r14
	xorl	%edi, %edi
	testl	%edx, %edx
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EPROTO@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_4
LBB0_2:
	movl	(%r14), %eax
	andl	(%rbx), %eax
	movq	_INTEL_GUC_RECV_MSG_FLUSH_LOG_BUFFER@GOTPCREL(%rip), %rcx
	movq	_INTEL_GUC_RECV_MSG_CRASH_DUMP_POSTED@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	xorl	%ebx, %ebx
	testl	%edx, %eax
	je	LBB0_4
## %bb.3:
	addq	$4, %r14
	movq	%r14, %rdi
	callq	_intel_guc_log_handle_flush_event
LBB0_4:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EPROTO,4,2                     ## @EPROTO
	.comm	_INTEL_GUC_RECV_MSG_FLUSH_LOG_BUFFER,4,2 ## @INTEL_GUC_RECV_MSG_FLUSH_LOG_BUFFER
	.comm	_INTEL_GUC_RECV_MSG_CRASH_DUMP_POSTED,4,2 ## @INTEL_GUC_RECV_MSG_CRASH_DUMP_POSTED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_guc_to_host_process_recv_msg ; -- Begin function intel_guc_to_host_process_recv_msg
	.p2align	2
_intel_guc_to_host_process_recv_msg:    ; @intel_guc_to_host_process_recv_msg
	.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	x20, x1
	mov	x19, x0
	cmp	w2, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EPROTO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EPROTO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_2:
	ldr	w8, [x20]
	ldr	w9, [x19]
	and	w8, w9, w8
Lloh3:
	adrp	x9, _INTEL_GUC_RECV_MSG_FLUSH_LOG_BUFFER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _INTEL_GUC_RECV_MSG_FLUSH_LOG_BUFFER@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _INTEL_GUC_RECV_MSG_CRASH_DUMP_POSTED@GOTPAGE
Lloh7:
	ldr	x10, [x10, _INTEL_GUC_RECV_MSG_CRASH_DUMP_POSTED@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w8, w9
	b.eq	LBB0_4
; %bb.3:
	add	x0, x19, #4
	bl	_intel_guc_log_handle_flush_event
LBB0_4:
	mov	w0, #0
LBB0_5:
	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 AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EPROTO,4,2                     ; @EPROTO
	.comm	_INTEL_GUC_RECV_MSG_FLUSH_LOG_BUFFER,4,2 ; @INTEL_GUC_RECV_MSG_FLUSH_LOG_BUFFER
	.comm	_INTEL_GUC_RECV_MSG_CRASH_DUMP_POSTED,4,2 ; @INTEL_GUC_RECV_MSG_CRASH_DUMP_POSTED
.subsections_via_symbols
