	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function format_array
_format_array:                          ## @format_array
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r8d killed $r8d def $r8
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	testl	%r8d, %r8d
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r13
	leal	-1(%r8), %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	%r8d, %r15d
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	1(%rax), %rcx
	subq	%rcx, %r13
	cmpq	%r12, -48(%rbp)                 ## 8-byte Folded Reload
	movl	$32, %edx
	movl	$10, %esi
	cmovel	%esi, %edx
	movb	%dl, (%r14,%rax)
	addq	%rcx, %r14
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	addq	%rax, %rbx
	incq	%rbx
	incq	%r12
	cmpq	%r12, %r15
	je	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r12,4), %ecx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_snprintf
	testq	%r14, %r14
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r14d, %r14d
	jmp	LBB0_6
LBB0_7:
	incq	%rbx
	testq	%r14, %r14
	je	LBB0_10
LBB0_9:
	movb	$0, (%r14)
LBB0_10:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	$1, %ebx
	testq	%r14, %r14
	jne	LBB0_9
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_format_array
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function format_array
_format_array:                          ; @format_array
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	cbz	w4, LBB0_8
; %bb.1:
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, #0
	sub	w24, w4, #1
	mov	w25, #32
	mov	w26, #10
	mov	w27, w4
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x8, x23
	sub	x24, x24, #1
	add	x20, x20, #4
	subs	x27, x27, #1
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w3, [x20]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_snprintf
	add	x8, x0, #1
	cbz	x19, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x24, #0
	csel	w9, w26, w25, eq
	strb	w9, [x19, x0]
	add	x19, x19, x8
	sub	x22, x22, x8
	b	LBB0_2
LBB0_5:
	add	x0, x23, #1
	cbz	x19, LBB0_7
LBB0_6:
	strb	wzr, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_8:
	mov	w0, #1
	cbnz	x19, LBB0_6
	b	LBB0_7
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_format_array
.subsections_via_symbols
