	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function IFX_MEI_DMARead
_IFX_MEI_DMARead:                       ## @IFX_MEI_DMARead
	.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	%rdx, %r14
	movl	%esi, %edx
	testb	$3, %dl
	je	LBB0_2
## %bb.1:
	movq	_DSL_DEV_MEI_ERR_FAILURE@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_2:
	movl	%ecx, %r15d
	movq	%rdi, %rbx
	movq	_ME_DX_AD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_IFX_MEI_LongWordWriteOffset
	movq	_DSL_DEV_MEI_ERR_SUCCESS@GOTPCREL(%rip), %rax
	testl	%r15d, %r15d
	je	LBB0_8
## %bb.3:
	movl	%r15d, %r13d
	xorl	%r12d, %r12d
	leaq	-44(%rbp), %r15
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	-44(%rbp), %eax
	movl	%eax, (%r14,%r12,4)
	incq	%r12
	cmpl	%r12d, %r13d
	je	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	_ME_DX_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_IFX_MEI_LongWordReadOffset
	movq	%rbx, %rdi
	callq	_DSL_DEV_PRIVATE
	cmpq	%r14, (%rax)
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	-44(%rbp), %edi
	callq	_MEI_HALF_WORD_SWAP
	jmp	LBB0_6
LBB0_7:
	movq	_DSL_DEV_MEI_ERR_SUCCESS@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DSL_DEV_MEI_ERR_FAILURE,4,2    ## @DSL_DEV_MEI_ERR_FAILURE
	.comm	_ME_DX_AD,8,3                   ## @ME_DX_AD
	.comm	_ME_DX_DATA,8,3                 ## @ME_DX_DATA
	.comm	_DSL_DEV_MEI_ERR_SUCCESS,4,2    ## @DSL_DEV_MEI_ERR_SUCCESS
	.no_dead_strip	_IFX_MEI_DMARead
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function IFX_MEI_DMARead
_IFX_MEI_DMARead:                       ; @IFX_MEI_DMARead
	.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
	tst	w1, #0x3
	b.eq	LBB0_3
; %bb.1:
Lloh0:
	adrp	x22, _DSL_DEV_MEI_ERR_FAILURE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _DSL_DEV_MEI_ERR_FAILURE@GOTPAGEOFF]
LBB0_2:
	ldr	w0, [x22]
	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
LBB0_3:
	mov	x21, x3
	mov	x19, x2
	mov	x2, x1
	mov	x20, x0
Lloh2:
	adrp	x8, _ME_DX_AD@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ME_DX_AD@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_IFX_MEI_LongWordWriteOffset
	cbz	w21, LBB0_8
; %bb.4:
	mov	x23, #0
Lloh5:
	adrp	x24, _ME_DX_DATA@GOTPAGE
Lloh6:
	ldr	x24, [x24, _ME_DX_DATA@GOTPAGEOFF]
Lloh7:
	adrp	x22, _DSL_DEV_MEI_ERR_SUCCESS@GOTPAGE
Lloh8:
	ldr	x22, [x22, _DSL_DEV_MEI_ERR_SUCCESS@GOTPAGEOFF]
	mov	w21, w21
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [sp, #12]
	str	w8, [x19, x23, lsl #2]
	add	x23, x23, #1
	cmp	w21, w23
	b.eq	LBB0_2
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x24]
	add	x2, sp, #12
	mov	x0, x20
	bl	_IFX_MEI_LongWordReadOffset
	mov	x0, x20
	bl	_DSL_DEV_PRIVATE
	ldr	x8, [x0]
	cmp	x8, x19
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [sp, #12]
	bl	_MEI_HALF_WORD_SWAP
	b	LBB0_5
LBB0_8:
Lloh9:
	adrp	x22, _DSL_DEV_MEI_ERR_SUCCESS@GOTPAGE
Lloh10:
	ldr	x22, [x22, _DSL_DEV_MEI_ERR_SUCCESS@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_DSL_DEV_MEI_ERR_FAILURE,4,2    ; @DSL_DEV_MEI_ERR_FAILURE
	.comm	_ME_DX_AD,8,3                   ; @ME_DX_AD
	.comm	_ME_DX_DATA,8,3                 ; @ME_DX_DATA
	.comm	_DSL_DEV_MEI_ERR_SUCCESS,4,2    ; @DSL_DEV_MEI_ERR_SUCCESS
	.no_dead_strip	_IFX_MEI_DMARead
.subsections_via_symbols
