	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mei_fw_status2str              ## -- Begin function mei_fw_status2str
	.p2align	4, 0x90
_mei_fw_status2str:                     ## @mei_fw_status2str
	.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
	movb	$0, (%rsi)
	movq	_MEI_FW_STATUS_STR_SZ@GOTPCREL(%rip), %rax
	cmpq	%rdx, (%rax)
	jbe	LBB0_1
## %bb.3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_7
LBB0_1:
	movq	%rsi, %r14
	movq	%rdi, %r12
	cmpl	$0, (%rdi)
	jle	LBB0_2
## %bb.4:
	movq	%rdx, %r15
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%ebx, %rbx
	leaq	(%r14,%rbx), %rdi
	movq	%r15, %rsi
	subq	%rbx, %rsi
	movq	8(%r12), %rax
	movl	(%rax,%r13,4), %ecx
	leaq	L_.str(%rip), %rdx
	callq	_scnprintf
	addl	%eax, %ebx
	incq	%r13
	movslq	(%r12), %rax
	cmpq	%rax, %r13
	jl	LBB0_5
	jmp	LBB0_6
LBB0_2:
	xorl	%ebx, %ebx
LBB0_6:
	movslq	%ebx, %rax
	movb	$0, (%r14,%rax)
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MEI_FW_STATUS_STR_SZ,8,3       ## @MEI_FW_STATUS_STR_SZ
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%08X "

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mei_fw_status2str              ; -- Begin function mei_fw_status2str
	.p2align	2
_mei_fw_status2str:                     ; @mei_fw_status2str
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	strb	wzr, [x1]
Lloh0:
	adrp	x8, _MEI_FW_STATUS_STR_SZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MEI_FW_STATUS_STR_SZ@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x2
	b.ls	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_7
LBB0_2:
	mov	x19, x1
	mov	x22, x0
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x20, x2
	mov	x24, #0
	mov	w21, #0
Lloh6:
	adrp	x23, l_.str@PAGE
Lloh7:
	add	x23, x23, l_.str@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sxtw	x8, w21
	add	x0, x19, x8
	sub	x1, x20, x8
	ldr	x8, [x22, #8]
	ldr	w3, [x8, x24, lsl #2]
	mov	x2, x23
	bl	_scnprintf
	add	w21, w21, w0
	add	x24, x24, #1
	ldrsw	x8, [x22]
	cmp	x24, x8
	b.lt	LBB0_4
	b	LBB0_6
LBB0_5:
	mov	w21, #0
LBB0_6:
	strb	wzr, [x19, w21, sxtw]
LBB0_7:
	mov	x0, x21
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MEI_FW_STATUS_STR_SZ,8,3       ; @MEI_FW_STATUS_STR_SZ
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%08X "

.subsections_via_symbols
