	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function IFX_MEI_ControlModeSet
_IFX_MEI_ControlModeSet:                ## @IFX_MEI_ControlModeSet
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	$0, -28(%rbp)
	movq	_ME_DBG_MASTER@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-28(%rbp), %rdx
	callq	_IFX_MEI_LongWordReadOffset
	cmpl	$128, %ebx
	je	LBB0_4
## %bb.1:
	cmpl	$129, %ebx
	jne	LBB0_3
## %bb.2:
	movq	_HOST_MSTR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	andl	-28(%rbp), %edx
	jmp	LBB0_5
LBB0_4:
	movq	_HOST_MSTR@GOTPCREL(%rip), %rax
	movl	-28(%rbp), %edx
	orl	(%rax), %edx
LBB0_5:
	movl	%edx, -28(%rbp)
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_IFX_MEI_LongWordWriteOffset
	jmp	LBB0_6
LBB0_3:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_IFX_MEI_EMSG
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ME_DBG_MASTER,8,3              ## @ME_DBG_MASTER
	.comm	_HOST_MSTR,4,2                  ## @HOST_MSTR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"IFX_MEI_ControlModeSet: unkonwn mode [%d]\n"

	.no_dead_strip	_IFX_MEI_ControlModeSet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function IFX_MEI_ControlModeSet
_IFX_MEI_ControlModeSet:                ; @IFX_MEI_ControlModeSet
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	str	wzr, [sp, #12]
Lloh0:
	adrp	x21, _ME_DBG_MASTER@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ME_DBG_MASTER@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #12
	bl	_IFX_MEI_LongWordReadOffset
	cmp	w20, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w20, #129
	b.ne	LBB0_5
; %bb.2:
Lloh2:
	adrp	x8, _HOST_MSTR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HOST_MSTR@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	bic	w2, w9, w8
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _HOST_MSTR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HOST_MSTR@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	orr	w2, w9, w8
LBB0_4:
	str	w2, [sp, #12]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_IFX_MEI_LongWordWriteOffset
	b	LBB0_6
LBB0_5:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_IFX_MEI_EMSG
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ME_DBG_MASTER,8,3              ; @ME_DBG_MASTER
	.comm	_HOST_MSTR,4,2                  ; @HOST_MSTR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"IFX_MEI_ControlModeSet: unkonwn mode [%d]\n"

	.no_dead_strip	_IFX_MEI_ControlModeSet
.subsections_via_symbols
