	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function command_devinfo
_command_devinfo:                       ## @command_devinfo
	.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
	xorl	%eax, %eax
	callq	_ub_dev_enum
	movq	_devs_no@GOTPCREL(%rip), %r14
	movl	%eax, (%r14)
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	leaq	L_str(%rip), %rdi
	callq	_puts
	movq	_CMD_OK@GOTPCREL(%rip), %r15
	cmpl	$0, (%r14)
	jle	LBB0_5
## %bb.3:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_ub_dump_di
	movl	$10, %edi
	callq	_putchar
	incl	%ebx
	cmpl	(%r14), %ebx
	jl	LBB0_4
	jmp	LBB0_5
LBB0_1:
	leaq	L_.str(%rip), %rax
	movq	_command_errmsg@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_CMD_ERROR@GOTPCREL(%rip), %r15
LBB0_5:
	movl	(%r15), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_devs_no,4,2                    ## @devs_no
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no U-Boot devices found!?"

	.comm	_command_errmsg,8,3             ## @command_errmsg
	.comm	_CMD_ERROR,4,2                  ## @CMD_ERROR
	.comm	_CMD_OK,4,2                     ## @CMD_OK
L_str:                                  ## @str
	.asciz	"U-Boot devices:"

	.no_dead_strip	_command_devinfo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function command_devinfo
_command_devinfo:                       ; @command_devinfo
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	bl	_ub_dev_enum
Lloh0:
	adrp	x20, _devs_no@GOTPAGE
Lloh1:
	ldr	x20, [x20, _devs_no@GOTPAGEOFF]
	str	w0, [x20]
	cbz	w0, LBB0_4
; %bb.1:
Lloh2:
	adrp	x0, l_str@PAGE
Lloh3:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.2:
	mov	w19, #0
Lloh4:
	adrp	x21, _CMD_OK@GOTPAGE
Lloh5:
	ldr	x21, [x21, _CMD_OK@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_ub_dump_di
	mov	w0, #10
	bl	_putchar
	add	w19, w19, #1
	ldr	w8, [x20]
	cmp	w19, w8
	b.lt	LBB0_3
	b	LBB0_6
LBB0_4:
Lloh6:
	adrp	x8, _command_errmsg@GOTPAGE
Lloh7:
	ldr	x8, [x8, _command_errmsg@GOTPAGEOFF]
Lloh8:
	adrp	x9, l_.str@PAGE
Lloh9:
	add	x9, x9, l_.str@PAGEOFF
Lloh10:
	str	x9, [x8]
Lloh11:
	adrp	x21, _CMD_ERROR@GOTPAGE
Lloh12:
	ldr	x21, [x21, _CMD_ERROR@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh13:
	adrp	x21, _CMD_OK@GOTPAGE
Lloh14:
	ldr	x21, [x21, _CMD_OK@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x21]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_devs_no,4,2                    ; @devs_no
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no U-Boot devices found!?"

	.comm	_command_errmsg,8,3             ; @command_errmsg
	.comm	_CMD_ERROR,4,2                  ; @CMD_ERROR
	.comm	_CMD_OK,4,2                     ; @CMD_OK
l_str:                                  ; @str
	.asciz	"U-Boot devices:"

	.no_dead_strip	_command_devinfo
.subsections_via_symbols
