	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function format_buf
LCPI0_0:
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	1                               ## 0x1
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
LCPI0_1:
	.quad	2                               ## 0x2
	.quad	2                               ## 0x2
LCPI0_2:
	.quad	4                               ## 0x4
	.quad	4                               ## 0x4
LCPI0_3:
	.quad	6                               ## 0x6
	.quad	6                               ## 0x6
LCPI0_4:
	.quad	8                               ## 0x8
	.quad	8                               ## 0x8
LCPI0_5:
	.quad	10                              ## 0xa
	.quad	10                              ## 0xa
LCPI0_6:
	.quad	12                              ## 0xc
	.quad	12                              ## 0xc
LCPI0_7:
	.quad	14                              ## 0xe
	.quad	14                              ## 0xe
LCPI0_8:
	.quad	16                              ## 0x10
	.quad	16                              ## 0x10
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_format_buf
	.p2align	4, 0x90
_format_buf:                            ## @format_buf
	.cfi_startproc
## %bb.0:
	testl	%esi, %esi
	jle	LBB0_15
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_format_buf.data(%rip), %rax
	movl	%esi, %ecx
	cmpl	$4, %esi
	jae	LBB0_3
## %bb.2:
	xorl	%r8d, %r8d
	jmp	LBB0_11
LBB0_3:
	movl	%ecx, %r8d
	andl	$-4, %r8d
	movq	%rax, %xmm0
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	paddq	LCPI0_0(%rip), %xmm0
	leaq	-4(%r8), %rdx
	movq	%rdx, %rsi
	shrq	$2, %rsi
	incq	%rsi
	movl	%esi, %r9d
	andl	$3, %r9d
	cmpq	$12, %rdx
	jae	LBB0_5
## %bb.4:
	xorl	%edx, %edx
	jmp	LBB0_7
LBB0_5:
	andq	$-4, %rsi
	xorl	%edx, %edx
	movdqa	LCPI0_1(%rip), %xmm8            ## xmm8 = [2,2]
	movdqa	LCPI0_2(%rip), %xmm9            ## xmm9 = [4,4]
	movdqa	LCPI0_3(%rip), %xmm10           ## xmm10 = [6,6]
	movdqa	LCPI0_4(%rip), %xmm4            ## xmm4 = [8,8]
	movdqa	LCPI0_5(%rip), %xmm5            ## xmm5 = [10,10]
	movdqa	LCPI0_6(%rip), %xmm6            ## xmm6 = [12,12]
	movdqa	LCPI0_7(%rip), %xmm7            ## xmm7 = [14,14]
	movdqa	LCPI0_8(%rip), %xmm1            ## xmm1 = [16,16]
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, %xmm2
	paddq	%xmm8, %xmm2
	movdqu	%xmm0, (%rdi,%rdx,8)
	movdqu	%xmm2, 16(%rdi,%rdx,8)
	movdqa	%xmm0, %xmm2
	paddq	%xmm9, %xmm2
	movdqa	%xmm0, %xmm3
	paddq	%xmm10, %xmm3
	movdqu	%xmm2, 32(%rdi,%rdx,8)
	movdqu	%xmm3, 48(%rdi,%rdx,8)
	movdqa	%xmm0, %xmm2
	paddq	%xmm4, %xmm2
	movdqa	%xmm0, %xmm3
	paddq	%xmm5, %xmm3
	movdqu	%xmm2, 64(%rdi,%rdx,8)
	movdqu	%xmm3, 80(%rdi,%rdx,8)
	movdqa	%xmm0, %xmm2
	paddq	%xmm6, %xmm2
	movdqa	%xmm0, %xmm3
	paddq	%xmm7, %xmm3
	movdqu	%xmm2, 96(%rdi,%rdx,8)
	movdqu	%xmm3, 112(%rdi,%rdx,8)
	addq	$16, %rdx
	paddq	%xmm1, %xmm0
	addq	$-4, %rsi
	jne	LBB0_6
LBB0_7:
	testq	%r9, %r9
	je	LBB0_10
## %bb.8:
	leaq	(%rdi,%rdx,8), %rdx
	addq	$16, %rdx
	shlq	$5, %r9
	xorl	%esi, %esi
	movdqa	LCPI0_1(%rip), %xmm1            ## xmm1 = [2,2]
	movdqa	LCPI0_2(%rip), %xmm2            ## xmm2 = [4,4]
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, %xmm3
	paddq	%xmm1, %xmm3
	movdqu	%xmm0, -16(%rdx,%rsi)
	movdqu	%xmm3, (%rdx,%rsi)
	paddq	%xmm2, %xmm0
	addq	$32, %rsi
	cmpq	%rsi, %r9
	jne	LBB0_9
LBB0_10:
	addq	%r8, %rax
	cmpq	%rcx, %r8
	je	LBB0_14
LBB0_11:
	leaq	(%rdi,%r8,8), %rdx
	subq	%r8, %rcx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	leaq	(%rax,%rsi), %rdi
	movq	%rdi, (%rdx,%rsi,8)
	incq	%rsi
	cmpq	%rsi, %rcx
	jne	LBB0_12
## %bb.13:
	addq	%rsi, %rax
LBB0_14:
	movq	%rax, _format_buf.data(%rip)
	popq	%rbp
LBB0_15:
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_format_buf.data,8,3 ## @format_buf.data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function format_buf
lCPI0_0:
	.quad	0                               ; 0x0
	.quad	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_format_buf
	.p2align	2
_format_buf:                            ; @format_buf
	.cfi_startproc
; %bb.0:
	cmp	w1, #1
	b.lt	LBB0_9
; %bb.1:
	adrp	x8, _format_buf.data@PAGE
	ldr	x9, [x8, _format_buf.data@PAGEOFF]
	mov	w10, w1
	cmp	w1, #8
	b.hs	LBB0_3
; %bb.2:
	mov	x11, #0
	b	LBB0_6
LBB0_3:
	and	x11, x10, #0xfffffff8
	dup.2d	v0, x9
	add	x9, x9, x11
Lloh0:
	adrp	x12, lCPI0_0@PAGE
Lloh1:
	ldr	q1, [x12, lCPI0_0@PAGEOFF]
	add.2d	v0, v0, v1
	add	x12, x0, #32
	mov	w13, #2
	dup.2d	v1, x13
	mov	w13, #4
	dup.2d	v2, x13
	mov	w13, #6
	dup.2d	v3, x13
	mov	w13, #8
	dup.2d	v4, x13
	mov	x13, x11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add.2d	v5, v0, v1
	add.2d	v6, v0, v2
	add.2d	v7, v0, v3
	stp	q0, q5, [x12, #-32]
	stp	q6, q7, [x12], #64
	add.2d	v0, v0, v4
	subs	x13, x13, #8
	b.ne	LBB0_4
; %bb.5:
	cmp	x11, x10
	b.eq	LBB0_8
LBB0_6:
	add	x12, x0, x11, lsl #3
	sub	x10, x10, x11
	mov	x11, x9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	add	x9, x11, #1
	str	x11, [x12], #8
	mov	x11, x9
	subs	x10, x10, #1
	b.ne	LBB0_7
LBB0_8:
	str	x9, [x8, _format_buf.data@PAGEOFF]
LBB0_9:
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_format_buf.data,8,3 ; @format_buf.data
.subsections_via_symbols
