	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function IFX_MEI_Write
_IFX_MEI_Write:                         ## @IFX_MEI_Write
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	$0, -8(%rbp)
	movq	(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	leaq	-8(%rbp), %r8
	callq	_DSL_BSP_FWDownload
	movq	_DSL_DEV_MEI_ERR_FAILURE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
LBB0_1:
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_4
LBB0_3:
	movl	-8(%rbp), %eax
LBB0_4:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DSL_DEV_MEI_ERR_FAILURE,8,3    ## @DSL_DEV_MEI_ERR_FAILURE
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_IFX_MEI_Write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function IFX_MEI_Write
_IFX_MEI_Write:                         ; @IFX_MEI_Write
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	str	xzr, [sp, #8]
	ldr	x0, [x0]
	cbz	x0, LBB0_2
; %bb.1:
	add	x4, sp, #8
	bl	_DSL_BSP_FWDownload
Lloh0:
	adrp	x8, _DSL_DEV_MEI_ERR_FAILURE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DSL_DEV_MEI_ERR_FAILURE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _EIO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_4
LBB0_3:
	ldr	w0, [sp, #8]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_DSL_DEV_MEI_ERR_FAILURE,8,3    ; @DSL_DEV_MEI_ERR_FAILURE
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_IFX_MEI_Write
.subsections_via_symbols
