	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function itmask
_itmask:                                ## @itmask
	.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
	xorl	%esi, %esi
	callq	_r_str_case
	movq	%rbx, %rdi
	callq	_strlen
	cmpl	$2, %eax
	jl	LBB0_12
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_r_str_startswith
	testq	%rax, %rax
	je	LBB0_12
## %bb.3:
	addq	$2, %rbx
	movq	%rbx, %rdi
	callq	_strlen
	cmpl	$3, %eax
	jle	LBB0_6
LBB0_12:
	xorl	%r14d, %r14d
LBB0_13:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	movq	%rbx, %rdi
	callq	_strlen
	movl	%eax, %r14d
	shll	$4, %r14d
	andl	$48, %r14d
	orl	$1, %r14d
	movq	%rbx, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	jle	LBB0_13
## %bb.7:
	movl	$3, %ecx
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_9 Depth=1
	incq	%rbx
	leal	(%rax,%rcx), %edx
	decl	%edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	decl	%ecx
                                        ## kill: def $ecx killed $ecx def $rcx
	cmpl	$3, %edx
	je	LBB0_13
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %edx
	cmpb	$116, %dl
	je	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpb	$101, %dl
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	btsl	%ecx, %r14d
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"it"

	.no_dead_strip	_itmask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function itmask
_itmask:                                ; @itmask
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	mov	w1, #0
	bl	_r_str_case
	mov	x0, x19
	bl	_strlen
	mov	w20, #0
	cmp	w0, #2
	b.lt	LBB0_4
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_r_str_startswith
	cbz	x0, LBB0_3
; %bb.2:
	add	x19, x19, #2
	mov	x0, x19
	bl	_strlen
	cmp	w0, #3
	b.le	LBB0_5
LBB0_3:
	mov	w20, #0
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x0, x19
	bl	_strlen
	mov	w21, #1
	mov	w20, #1
	bfi	w20, w0, #4, #2
	mov	x0, x19
	bl	_strlen
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.6:
	mov	w8, #0
	neg	w9, w0
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x19, x19, #1
	sub	w8, w8, #1
	cmp	w9, w8
	b.eq	LBB0_4
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x19]
	cmp	w10, #116
	b.eq	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w10, #101
	b.ne	LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	add	w10, w8, #3
	lsl	w10, w21, w10
	orr	w20, w10, w20
	b	LBB0_7
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"it"

	.no_dead_strip	_itmask
.subsections_via_symbols
