	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function IFX_MEI_DebugRead
_IFX_MEI_DebugRead:                     ## @IFX_MEI_DebugRead
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	$0, -48(%rbp)
	movq	_MEI_MASTER_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_IFX_MEI_ControlModeSet
	testq	%r14, %r14
	jle	LBB0_3
## %bb.1:
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_ME_DBG_DECODE_DMP1_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movq	%rbx, %rdx
	leaq	-48(%rbp), %rcx
	callq	__IFX_MEI_DBGLongWordRead
	movq	-48(%rbp), %rax
	movq	%rax, (%r15,%r13,8)
	addq	$4, %rbx
	incq	%r13
	cmpq	%r13, %r14
	jne	LBB0_2
LBB0_3:
	movq	_JTAG_MASTER_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_IFX_MEI_ControlModeSet
	movq	_DSL_DEV_MEI_ERR_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MEI_MASTER_MODE,4,2            ## @MEI_MASTER_MODE
	.comm	_ME_DBG_DECODE_DMP1_MASK,4,2    ## @ME_DBG_DECODE_DMP1_MASK
	.comm	_JTAG_MASTER_MODE,4,2           ## @JTAG_MASTER_MODE
	.comm	_DSL_DEV_MEI_ERR_SUCCESS,4,2    ## @DSL_DEV_MEI_ERR_SUCCESS
	.no_dead_strip	_IFX_MEI_DebugRead
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function IFX_MEI_DebugRead
_IFX_MEI_DebugRead:                     ; @IFX_MEI_DebugRead
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	str	xzr, [sp, #8]
Lloh0:
	adrp	x8, _MEI_MASTER_MODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MEI_MASTER_MODE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_IFX_MEI_ControlModeSet
	cmp	x20, #1
	b.lt	LBB0_3
; %bb.1:
Lloh3:
	adrp	x23, _ME_DBG_DECODE_DMP1_MASK@GOTPAGE
Lloh4:
	ldr	x23, [x23, _ME_DBG_DECODE_DMP1_MASK@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x23]
	add	x3, sp, #8
	mov	x0, x19
	mov	x2, x22
	bl	__IFX_MEI_DBGLongWordRead
	ldr	x8, [sp, #8]
	str	x8, [x21], #8
	add	x22, x22, #4
	subs	x20, x20, #1
	b.ne	LBB0_2
LBB0_3:
Lloh5:
	adrp	x8, _JTAG_MASTER_MODE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _JTAG_MASTER_MODE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_IFX_MEI_ControlModeSet
Lloh8:
	adrp	x8, _DSL_DEV_MEI_ERR_SUCCESS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DSL_DEV_MEI_ERR_SUCCESS@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MEI_MASTER_MODE,4,2            ; @MEI_MASTER_MODE
	.comm	_ME_DBG_DECODE_DMP1_MASK,4,2    ; @ME_DBG_DECODE_DMP1_MASK
	.comm	_JTAG_MASTER_MODE,4,2           ; @JTAG_MASTER_MODE
	.comm	_DSL_DEV_MEI_ERR_SUCCESS,4,2    ; @DSL_DEV_MEI_ERR_SUCCESS
	.no_dead_strip	_IFX_MEI_DebugRead
.subsections_via_symbols
