	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_guc_reset_engine         ## -- Begin function intel_guc_reset_engine
	.p2align	4, 0x90
_intel_guc_reset_engine:                ## @intel_guc_reset_engine
	.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
	subq	$64, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	xorl	%edi, %edi
	cmpq	$0, 8(%rbx)
	sete	%dil
	callq	_GEM_BUG_ON
	movq	_INTEL_GUC_ACTION_REQUEST_ENGINE_RESET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)
	movq	(%r14), %rax
	movq	%rax, -72(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	$0, -48(%rbp)
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movl	(%rbx), %esi
	movq	%rbx, %rdi
	callq	_intel_guc_ggtt_offset
	movq	%rax, -32(%rbp)
	leaq	-80(%rbp), %r14
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_intel_guc_send
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-24(%rbp), %rcx
	jne	LBB0_2
## %bb.1:
	addq	$64, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_INTEL_GUC_ACTION_REQUEST_ENGINE_RESET,8,3 ## @INTEL_GUC_ACTION_REQUEST_ENGINE_RESET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_guc_reset_engine         ; -- Begin function intel_guc_reset_engine
	.p2align	2
_intel_guc_reset_engine:                ; @intel_guc_reset_engine
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	ldr	x8, [x0, #8]
	cmp	x8, #0
	cset	w0, eq
	bl	_GEM_BUG_ON
Lloh3:
	adrp	x8, _INTEL_GUC_ACTION_REQUEST_ENGINE_RESET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INTEL_GUC_ACTION_REQUEST_ENGINE_RESET@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x9, [x19]
	stp	x8, x9, [sp]
	stp	xzr, xzr, [sp, #24]
	str	xzr, [sp, #16]
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	str	x8, [sp, #40]
	ldr	w1, [x20]
	mov	x0, x20
	bl	_intel_guc_ggtt_offset
	str	x0, [sp, #48]
	mov	x0, sp
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x1, sp
	mov	x0, x20
	bl	_intel_guc_send
	ldur	x8, [x29, #-24]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_INTEL_GUC_ACTION_REQUEST_ENGINE_RESET,8,3 ; @INTEL_GUC_ACTION_REQUEST_ENGINE_RESET
.subsections_via_symbols
