	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uboot_fmtdev                   ## -- Begin function uboot_fmtdev
	.p2align	4, 0x90
_uboot_fmtdev:                          ## @uboot_fmtdev
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movl	(%rax), %ecx
	leal	-129(%rcx), %edx
	cmpl	$2, %edx
	jae	LBB0_1
## %bb.3:
	movq	8(%rax), %rdx
	movl	8(%rdi), %ecx
	leaq	_uboot_fmtdev.buf(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_sprintf
	jmp	LBB0_4
LBB0_1:
	cmpl	$128, %ecx
	jne	LBB0_4
## %bb.2:
	leaq	_uboot_fmtdev.buf(%rip), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcpy
LBB0_4:
	leaq	_uboot_fmtdev.buf(%rip), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_uboot_fmtdev.buf,128,4 ## @uboot_fmtdev.buf
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(no device)"

L_.str.1:                               ## @.str.1
	.asciz	"%s%d:"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uboot_fmtdev                   ; -- Begin function uboot_fmtdev
	.p2align	2
_uboot_fmtdev:                          ; @uboot_fmtdev
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0]
	ldr	w9, [x8]
	sub	w10, w9, #129
	cmp	w10, #2
	b.hs	LBB0_2
; %bb.1:
	ldr	x2, [x8, #8]
	ldr	w3, [x0, #8]
Lloh0:
	adrp	x0, _uboot_fmtdev.buf@PAGE
Lloh1:
	add	x0, x0, _uboot_fmtdev.buf@PAGEOFF
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_sprintf
	b	LBB0_4
LBB0_2:
	cmp	w9, #128
	b.ne	LBB0_4
; %bb.3:
Lloh4:
	adrp	x0, _uboot_fmtdev.buf@PAGE
Lloh5:
	add	x0, x0, _uboot_fmtdev.buf@PAGEOFF
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcpy
LBB0_4:
Lloh8:
	adrp	x0, _uboot_fmtdev.buf@PAGE
Lloh9:
	add	x0, x0, _uboot_fmtdev.buf@PAGEOFF
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_uboot_fmtdev.buf,128,0 ; @uboot_fmtdev.buf
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(no device)"

l_.str.1:                               ; @.str.1
	.asciz	"%s%d:"

.subsections_via_symbols
