	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function IFX_MEI_ResetARC
_IFX_MEI_ResetARC:                      ## @IFX_MEI_ResetARC
	.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	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	$0, -20(%rbp)
	callq	_IFX_MEI_HaltArc
	movq	_LTQ_RCU_RST@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	-20(%rbp), %rsi
	callq	_IFX_MEI_LongWordRead
	movq	_LTQ_RCU_RST_REQ_DFE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	-20(%rbp), %esi
	movl	(%r14), %edi
	movq	_LTQ_RCU_RST_REQ_AFE@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	callq	_IFX_MEI_LongWordWrite
	movq	_ME_RST_CTRL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_MEI_SOFT_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_IFX_MEI_LongWordWriteOffset
	movl	(%r14), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_IFX_MEI_LongWordWriteOffset
	movq	%rbx, %rdi
	callq	_IFX_MEI_IRQDisable
	movq	%rbx, %rdi
	callq	_IFX_MEI_EnableCLK
	movq	%rbx, %rdi
	callq	_DSL_DEV_PRIVATE
	movq	$0, (%rax)
	movq	_DSL_DEV_MEI_ERR_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LTQ_RCU_RST,8,3                ## @LTQ_RCU_RST
	.comm	_LTQ_RCU_RST_REQ_DFE,4,2        ## @LTQ_RCU_RST_REQ_DFE
	.comm	_LTQ_RCU_RST_REQ_AFE,4,2        ## @LTQ_RCU_RST_REQ_AFE
	.comm	_ME_RST_CTRL,8,3                ## @ME_RST_CTRL
	.comm	_MEI_SOFT_RESET,4,2             ## @MEI_SOFT_RESET
	.comm	_DSL_DEV_MEI_ERR_SUCCESS,4,2    ## @DSL_DEV_MEI_ERR_SUCCESS
	.comm	_BSP_PPE32_SRST,8,3             ## @BSP_PPE32_SRST
	.no_dead_strip	_IFX_MEI_ResetARC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function IFX_MEI_ResetARC
_IFX_MEI_ResetARC:                      ; @IFX_MEI_ResetARC
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	str	wzr, [sp, #12]
	bl	_IFX_MEI_HaltArc
Lloh0:
	adrp	x20, _LTQ_RCU_RST@GOTPAGE
Lloh1:
	ldr	x20, [x20, _LTQ_RCU_RST@GOTPAGEOFF]
	ldr	w0, [x20]
	add	x1, sp, #12
	bl	_IFX_MEI_LongWordRead
	ldr	w0, [x20]
	ldr	w8, [sp, #12]
Lloh2:
	adrp	x9, _LTQ_RCU_RST_REQ_DFE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _LTQ_RCU_RST_REQ_DFE@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh5:
	adrp	x9, _LTQ_RCU_RST_REQ_AFE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _LTQ_RCU_RST_REQ_AFE@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w1, w8, w9
	bl	_IFX_MEI_LongWordWrite
Lloh8:
	adrp	x20, _ME_RST_CTRL@GOTPAGE
Lloh9:
	ldr	x20, [x20, _ME_RST_CTRL@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh10:
	adrp	x8, _MEI_SOFT_RESET@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MEI_SOFT_RESET@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_IFX_MEI_LongWordWriteOffset
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #0
	bl	_IFX_MEI_LongWordWriteOffset
	mov	x0, x19
	bl	_IFX_MEI_IRQDisable
	mov	x0, x19
	bl	_IFX_MEI_EnableCLK
	mov	x0, x19
	bl	_DSL_DEV_PRIVATE
	str	xzr, [x0]
Lloh13:
	adrp	x8, _DSL_DEV_MEI_ERR_SUCCESS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DSL_DEV_MEI_ERR_SUCCESS@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_LTQ_RCU_RST,8,3                ; @LTQ_RCU_RST
	.comm	_LTQ_RCU_RST_REQ_DFE,4,2        ; @LTQ_RCU_RST_REQ_DFE
	.comm	_LTQ_RCU_RST_REQ_AFE,4,2        ; @LTQ_RCU_RST_REQ_AFE
	.comm	_ME_RST_CTRL,8,3                ; @ME_RST_CTRL
	.comm	_MEI_SOFT_RESET,4,2             ; @MEI_SOFT_RESET
	.comm	_DSL_DEV_MEI_ERR_SUCCESS,4,2    ; @DSL_DEV_MEI_ERR_SUCCESS
	.comm	_BSP_PPE32_SRST,8,3             ; @BSP_PPE32_SRST
	.no_dead_strip	_IFX_MEI_ResetARC
.subsections_via_symbols
