	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_disk_fmtdev                    ## -- Begin function disk_fmtdev
	.p2align	4, 0x90
_disk_fmtdev:                           ## @disk_fmtdev
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %rax
	movq	(%rax), %rdx
	movl	24(%rdi), %ecx
	leaq	_disk_fmtdev.buf(%rip), %r14
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_sprintf
	movslq	%eax, %rdi
	addq	%r14, %rdi
	movq	8(%rbx), %rax
	movq	_D_PARTNONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_2
## %bb.1:
	addb	$97, %al
	movb	%al, (%rdi)
	movb	$0, 1(%rdi)
	incq	%rdi
LBB0_2:
	leaq	L_.str.2(%rip), %rsi
	callq	_strcat
	leaq	_disk_fmtdev.buf(%rip), %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_disk_fmtdev.buf,128,4 ## @disk_fmtdev.buf
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s%d"

	.comm	_D_SLICENONE,8,3                ## @D_SLICENONE
	.comm	_D_PARTNONE,8,3                 ## @D_PARTNONE
L_.str.2:                               ## @.str.2
	.asciz	":"

	.comm	_D_PARTISGPT,8,3                ## @D_PARTISGPT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_disk_fmtdev                    ; -- Begin function disk_fmtdev
	.p2align	2
_disk_fmtdev:                           ; @disk_fmtdev
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	ldr	x8, [x0, #16]
	ldr	x2, [x8]
	ldr	w8, [x0, #24]
Lloh0:
	adrp	x20, _disk_fmtdev.buf@PAGE
Lloh1:
	add	x20, x20, _disk_fmtdev.buf@PAGEOFF
	str	x8, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_sprintf
	add	x0, x20, w0, sxtw
	ldr	x8, [x19, #8]
Lloh4:
	adrp	x9, _D_PARTNONE@GOTPAGE
Lloh5:
	ldr	x9, [x9, _D_PARTNONE@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_2
; %bb.1:
	add	w8, w8, #97
	strb	w8, [x0]
	strb	wzr, [x0, #1]!
LBB0_2:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcat
Lloh9:
	adrp	x0, _disk_fmtdev.buf@PAGE
Lloh10:
	add	x0, x0, _disk_fmtdev.buf@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_disk_fmtdev.buf,128,0 ; @disk_fmtdev.buf
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s%d"

	.comm	_D_SLICENONE,8,3                ; @D_SLICENONE
	.comm	_D_PARTNONE,8,3                 ; @D_PARTNONE
l_.str.2:                               ; @.str.2
	.asciz	":"

	.comm	_D_PARTISGPT,8,3                ; @D_PARTISGPT
.subsections_via_symbols
