	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function getlistmask
LCPI0_0:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	3                               ## 0x3
LCPI0_1:
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
LCPI0_2:
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
LCPI0_3:
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
LCPI0_4:
	.long	12                              ## 0xc
	.long	12                              ## 0xc
	.long	12                              ## 0xc
	.long	12                              ## 0xc
LCPI0_5:
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_getlistmask:                           ## @getlistmask
	.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
	movq	%rdi, %rbx
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %edi
	callq	_malloc
	movl	$-1, %r14d
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_34
## %bb.1:
	movq	%rbx, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_34
## %bb.2:
	movq	%rax, %rdi
	movb	(%rbx), %al
	testb	%al, %al
	je	LBB0_35
## %bb.3:
	xorl	%r12d, %r12d
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	movb	1(%rbx), %al
	incq	%rbx
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
                                        ##     Child Loop BB0_10 Depth 2
                                        ##     Child Loop BB0_25 Depth 2
                                        ##     Child Loop BB0_30 Depth 2
	cmpb	$32, %al
	je	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, %edx
	testb	%al, %al
	je	LBB0_9
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$44, %al
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	movzbl	(%rbx,%rdx), %eax
	incq	%rdx
	testb	%al, %al
	jne	LBB0_7
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	leal	-1(%rdx), %r14d
	leaq	(%rbx,%r14), %r15
	movq	%r13, %rdi
	movq	%rbx, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_r_str_ncpy
	cmpb	$1, (%rbx,%r14)
	movq	%r15, %rbx
	sbbq	$-1, %rbx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%r13,%r15), %eax
	testb	%al, %al
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	cmpb	$45, %al
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=2
	incq	%r15
	jmp	LBB0_10
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r13, %rdi
	callq	_strlen
	cmpl	%r15d, %eax
	jne	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r13, %rdi
	callq	_getreg
	cmpl	$-1, %eax
	je	LBB0_36
## %bb.15:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$15, %eax
	jg	LBB0_36
## %bb.16:                              ##   in Loop: Header=BB0_5 Depth=1
	btsl	%eax, %r12d
	jmp	LBB0_31
LBB0_17:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%r15d, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	%r15d, %edx
	callq	_strncpy
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movb	$0, (%r14,%rax)
	movq	%r14, %rdi
	callq	_getreg
	cmpl	$-1, %eax
	je	LBB0_36
## %bb.18:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, %r14d
	cmpl	$15, %eax
	jg	LBB0_36
## %bb.19:                              ##   in Loop: Header=BB0_5 Depth=1
	incl	%r15d
	addq	%r15, %r13
	movq	%r13, %rdi
	callq	_getreg
	cmpl	$-1, %eax
	je	LBB0_36
## %bb.20:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$15, %eax
	jg	LBB0_36
## %bb.21:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	%eax, %r14d
	jg	LBB0_31
## %bb.22:                              ##   in Loop: Header=BB0_5 Depth=1
	incl	%eax
	movl	%eax, %ecx
	subl	%r14d, %ecx
	cmpl	$8, %ecx
	movdqa	LCPI0_1(%rip), %xmm5            ## xmm5 = [4,4,4,4]
	movdqa	LCPI0_2(%rip), %xmm6            ## xmm6 = [1065353216,1065353216,1065353216,1065353216]
	movdqa	LCPI0_3(%rip), %xmm7            ## xmm7 = [8,8,8,8]
	movdqa	LCPI0_4(%rip), %xmm8            ## xmm8 = [12,12,12,12]
	movdqa	LCPI0_5(%rip), %xmm9            ## xmm9 = [16,16,16,16]
	jb	LBB0_30
## %bb.23:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%ecx, %edx
	andl	$-8, %edx
	movd	%r12d, %xmm0
	movd	%r14d, %xmm1
	pshufd	$0, %xmm1, %xmm1                ## xmm1 = xmm1[0,0,0,0]
	paddd	LCPI0_0(%rip), %xmm1
	leal	-8(%rdx), %edi
	movl	%edi, %esi
	shrl	$3, %esi
	incl	%esi
	testl	%edi, %edi
	je	LBB0_32
## %bb.24:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%esi, %edi
	andl	$-2, %edi
	pxor	%xmm2, %xmm2
	.p2align	4, 0x90
LBB0_25:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqa	%xmm1, %xmm3
	paddd	%xmm5, %xmm3
	movdqa	%xmm1, %xmm4
	pslld	$23, %xmm4
	paddd	%xmm6, %xmm4
	cvttps2dq	%xmm4, %xmm4
	por	%xmm0, %xmm4
	pslld	$23, %xmm3
	paddd	%xmm6, %xmm3
	cvttps2dq	%xmm3, %xmm3
	por	%xmm2, %xmm3
	movdqa	%xmm1, %xmm0
	paddd	%xmm7, %xmm0
	movdqa	%xmm1, %xmm2
	paddd	%xmm8, %xmm2
	pslld	$23, %xmm0
	paddd	%xmm6, %xmm0
	cvttps2dq	%xmm0, %xmm0
	por	%xmm4, %xmm0
	pslld	$23, %xmm2
	paddd	%xmm6, %xmm2
	cvttps2dq	%xmm2, %xmm2
	por	%xmm3, %xmm2
	paddd	%xmm9, %xmm1
	addl	$-2, %edi
	jne	LBB0_25
## %bb.26:                              ##   in Loop: Header=BB0_5 Depth=1
	testb	$1, %sil
	je	LBB0_28
LBB0_27:                                ##   in Loop: Header=BB0_5 Depth=1
	movdqa	%xmm1, %xmm3
	paddd	%xmm5, %xmm3
	pslld	$23, %xmm1
	paddd	%xmm6, %xmm1
	cvttps2dq	%xmm1, %xmm1
	por	%xmm1, %xmm0
	pslld	$23, %xmm3
	paddd	%xmm6, %xmm3
	cvttps2dq	%xmm3, %xmm1
	por	%xmm1, %xmm2
LBB0_28:                                ##   in Loop: Header=BB0_5 Depth=1
	por	%xmm2, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	por	%xmm0, %xmm1
	pshufd	$85, %xmm1, %xmm0               ## xmm0 = xmm1[1,1,1,1]
	por	%xmm1, %xmm0
	movd	%xmm0, %r12d
	cmpl	%edx, %ecx
	je	LBB0_31
## %bb.29:                              ##   in Loop: Header=BB0_5 Depth=1
	addl	%edx, %r14d
	.p2align	4, 0x90
LBB0_30:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	btsl	%r14d, %r12d
	incl	%r14d
	cmpl	%r14d, %eax
	jne	LBB0_30
LBB0_31:                                ##   in Loop: Header=BB0_5 Depth=1
	movb	(%rbx), %al
	testb	%al, %al
	jne	LBB0_5
	jmp	LBB0_37
LBB0_32:                                ##   in Loop: Header=BB0_5 Depth=1
	pxor	%xmm2, %xmm2
	testb	$1, %sil
	jne	LBB0_27
	jmp	LBB0_28
LBB0_34:
	xorl	%edi, %edi
	jmp	LBB0_39
LBB0_35:
	xorl	%r14d, %r14d
	jmp	LBB0_39
LBB0_36:
	movl	$-1, %r14d
	jmp	LBB0_38
LBB0_37:
	movl	%r12d, %r14d
LBB0_38:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
LBB0_39:
	callq	_free
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_getlistmask
.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 getlistmask
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_getlistmask:                           ; @getlistmask
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x21, x0
	bl	_strlen
	add	w0, w0, #1
	bl	_malloc
	mov	x19, x0
	cbz	x0, LBB0_28
; %bb.1:
	mov	x0, x21
	bl	_strlen
	add	w0, w0, #1
	bl	_malloc
	mov	x20, x0
	cbz	x0, LBB0_29
; %bb.2:
	ldrb	w8, [x21]
	cbz	w8, LBB0_31
; %bb.3:
	mov	w27, #0
	mov	w26, #1
Lloh0:
	adrp	x9, lCPI0_0@PAGE
Lloh1:
	ldr	q0, [x9, lCPI0_0@PAGEOFF]
	str	q0, [sp]                        ; 16-byte Folded Spill
	mov	x22, x20
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x21, #1]!
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;     Child Loop BB0_10 Depth 2
                                        ;     Child Loop BB0_23 Depth 2
                                        ;     Child Loop BB0_25 Depth 2
	cmp	w8, #32
	b.eq	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w2, #1
	cbz	w8, LBB0_9
LBB0_7:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w8, #44
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldrb	w8, [x21, x2]
	add	x2, x2, #1
	cbnz	w8, LBB0_7
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	sub	w8, w2, #1
	add	x23, x21, x8
	mov	x0, x22
	mov	x1, x21
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_r_str_ncpy
	mov	x24, #0
	mov	x8, x23
	ldrb	w9, [x8], #1
	cmp	w9, #0
	csel	x21, x23, x8, eq
	ldrb	w8, [x22, x24]
	cbz	w8, LBB0_12
LBB0_10:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w8, #45
	b.eq	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	add	x24, x24, #1
	ldrb	w8, [x22, x24]
	cbnz	w8, LBB0_10
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	bl	_strlen
	cmp	w0, w24
	b.ne	LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	bl	_getreg
	mov	w23, #-1
	cmn	w0, #1
	b.eq	LBB0_30
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w0, #15
	b.gt	LBB0_30
; %bb.15:                               ;   in Loop: Header=BB0_5 Depth=1
	lsl	w8, w26, w0
	orr	w27, w8, w27
	b	LBB0_26
LBB0_16:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x22
	mov	x2, x24
	bl	_strncpy
	strb	wzr, [x19, w24, uxtw]
	mov	x0, x19
	bl	_getreg
	mov	w23, #-1
	cmn	w0, #1
	b.eq	LBB0_30
; %bb.17:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x25, x0
	cmp	w0, #15
	b.gt	LBB0_30
; %bb.18:                               ;   in Loop: Header=BB0_5 Depth=1
	add	w8, w24, #1
	add	x22, x22, x8
	mov	x0, x22
	bl	_getreg
	mov	w23, #-1
	cmn	w0, #1
	b.eq	LBB0_30
; %bb.19:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w0, #15
	b.gt	LBB0_30
; %bb.20:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w25, w0
	b.gt	LBB0_26
; %bb.21:                               ;   in Loop: Header=BB0_5 Depth=1
	add	w8, w0, #1
	sub	w9, w8, w25
	cmp	w9, #16
	movi.4s	v17, #4
	movi.4s	v18, #8
	movi.4s	v19, #12
	movi.4s	v20, #1
	movi.4s	v21, #16
	b.lo	LBB0_25
; %bb.22:                               ;   in Loop: Header=BB0_5 Depth=1
	and	w10, w9, #0xfffffff0
	movi.2d	v0, #0000000000000000
	mov.s	v0[0], w27
	dup.4s	v1, w25
	add	w25, w25, w10
	ldr	q2, [sp]                        ; 16-byte Folded Reload
	add.4s	v2, v1, v2
	movi.2d	v1, #0000000000000000
	mov	x11, x10
	movi.2d	v3, #0000000000000000
	movi.2d	v4, #0000000000000000
LBB0_23:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add.4s	v5, v2, v17
	add.4s	v6, v2, v18
	add.4s	v7, v2, v19
	ushl.4s	v16, v20, v2
	ushl.4s	v5, v20, v5
	ushl.4s	v6, v20, v6
	ushl.4s	v7, v20, v7
	orr.16b	v0, v0, v16
	orr.16b	v1, v1, v5
	orr.16b	v3, v3, v6
	orr.16b	v4, v4, v7
	add.4s	v2, v2, v21
	subs	w11, w11, #16
	b.ne	LBB0_23
; %bb.24:                               ;   in Loop: Header=BB0_5 Depth=1
	orr.16b	v0, v1, v0
	orr.16b	v0, v3, v0
	orr.16b	v0, v4, v0
	ext.16b	v1, v0, v0, #8
	orr.8b	v0, v0, v1
	fmov	w11, s0
	mov.s	w12, v0[1]
	orr	w27, w11, w12
	cmp	w9, w10
	b.eq	LBB0_26
LBB0_25:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	w9, w26, w25
	orr	w27, w27, w9
	add	w25, w25, #1
	cmp	w8, w25
	b.ne	LBB0_25
LBB0_26:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x21]
	cbnz	w8, LBB0_5
; %bb.27:
	mov	x23, x27
	b	LBB0_30
LBB0_28:
	mov	x20, #0
LBB0_29:
	mov	w23, #-1
LBB0_30:
	mov	x0, x20
	bl	_free
	mov	x0, x19
	bl	_free
	mov	x0, x23
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_31:
	mov	w23, #0
	b	LBB0_30
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_getlistmask
.subsections_via_symbols
