	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function fmt_perm
LCPI0_0:
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	4                               ## 0x4
	.long	8                               ## 0x8
LCPI0_1:
	.long	16                              ## 0x10
	.long	32                              ## 0x20
	.long	64                              ## 0x40
	.long	128                             ## 0x80
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_fmt_perm
	.p2align	4, 0x90
_fmt_perm:                              ## @fmt_perm
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movw	$11565, _fmt_perm.buffer(%rip)  ## imm = 0x2D2D
	leaq	_fmt_perm.buffer(%rip), %rax
	testl	$256, %edi                      ## imm = 0x100
	movl	$45, %r9d
	movl	$114, %r8d
	movl	$114, %esi
	cmovel	%r9d, %esi
	movb	%sil, _fmt_perm.buffer+2(%rip)
	movd	%edi, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movdqa	LCPI0_0(%rip), %xmm1            ## xmm1 = [1,2,4,8]
	pand	%xmm0, %xmm1
	pand	LCPI0_1(%rip), %xmm0
	pxor	%xmm2, %xmm2
	pcmpeqd	%xmm2, %xmm0
	pcmpeqd	%xmm2, %xmm1
	packssdw	%xmm0, %xmm1
	packsswb	%xmm1, %xmm1
	pmovmskb	%xmm1, %esi
	testb	$-128, %sil
	movl	$119, %edx
	cmovnel	%r9d, %edx
	movl	$119, %edi
	movb	%dl, _fmt_perm.buffer+3(%rip)
	testb	$64, %sil
	movl	$97, %edx
	cmovnel	%r9d, %edx
	movb	%dl, _fmt_perm.buffer+4(%rip)
	testb	$32, %sil
	movl	$114, %edx
	cmovnel	%r9d, %edx
	movb	%dl, _fmt_perm.buffer+5(%rip)
	testb	$16, %sil
	movl	$119, %edx
	cmovnel	%r9d, %edx
	movl	$97, %ecx
	movb	%dl, _fmt_perm.buffer+6(%rip)
	testb	$8, %sil
	movl	$97, %edx
	cmovnel	%r9d, %edx
	movb	%dl, _fmt_perm.buffer+7(%rip)
	testb	$4, %sil
	cmovnel	%r9d, %r8d
	movb	%r8b, _fmt_perm.buffer+8(%rip)
	testb	$2, %sil
	cmovnel	%r9d, %edi
	movb	%dil, _fmt_perm.buffer+9(%rip)
	testb	$1, %sil
	cmovnel	%r9d, %ecx
	movb	%cl, _fmt_perm.buffer+10(%rip)
	movb	$0, _fmt_perm.buffer+11(%rip)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_fmt_perm.buffer,100,4 ## @fmt_perm.buffer
.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 fmt_perm
lCPI0_0:
	.long	256                             ; 0x100
	.long	128                             ; 0x80
	.long	64                              ; 0x40
	.long	32                              ; 0x20
lCPI0_1:
	.long	16                              ; 0x10
	.long	8                               ; 0x8
	.long	4                               ; 0x4
	.long	2                               ; 0x2
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
lCPI0_2:
	.byte	114                             ; 0x72
	.byte	119                             ; 0x77
	.byte	97                              ; 0x61
	.byte	114                             ; 0x72
	.byte	119                             ; 0x77
	.byte	97                              ; 0x61
	.byte	114                             ; 0x72
	.byte	119                             ; 0x77
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_fmt_perm
	.p2align	2
_fmt_perm:                              ; @fmt_perm
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _fmt_perm.buffer@PAGE
Lloh1:
	add	x8, x8, _fmt_perm.buffer@PAGEOFF
	mov	w9, #11565
	strh	w9, [x8]
	dup.4s	v0, w0
Lloh2:
	adrp	x9, lCPI0_0@PAGE
Lloh3:
	ldr	q1, [x9, lCPI0_0@PAGEOFF]
	and.16b	v1, v0, v1
Lloh4:
	adrp	x9, lCPI0_1@PAGE
Lloh5:
	ldr	q2, [x9, lCPI0_1@PAGEOFF]
	and.16b	v0, v0, v2
	cmeq.4s	v0, v0, #0
	cmeq.4s	v1, v1, #0
	uzp1.8h	v0, v1, v0
	xtn.8b	v0, v0
Lloh6:
	adrp	x9, lCPI0_2@PAGE
Lloh7:
	ldr	d1, [x9, lCPI0_2@PAGEOFF]
	movi.8b	v2, #45
	bsl.8b	v0, v2, v1
	stur	d0, [x8, #2]
	tst	w0, #0x1
	mov	w9, #97
	mov	w10, #45
	csel	w9, w10, w9, eq
	strb	w9, [x8, #10]
	strb	wzr, [x8, #11]
	mov	x0, x8
	ret
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpAdrp	Lloh4, Lloh6
	.loh AdrpLdr	Lloh4, Lloh5
	.loh AdrpAdrp	Lloh2, Lloh4
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_fmt_perm.buffer,100,0 ; @fmt_perm.buffer
.subsections_via_symbols
