	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decodeBitMasks
_decodeBitMasks:                        ## @decodeBitMasks
	.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
	movl	%edi, %ebx
	callq	_isShiftedMask
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	%ebx, %edi
	callq	_countTrailingZeros
	movl	%eax, %r14d
	movl	%r14d, %ecx
	sarl	%cl, %ebx
	movl	%ebx, %edi
	callq	_countTrailingOnes
	jmp	LBB0_5
LBB0_2:
	callq	_isShiftedMask
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	callq	_countLeadingOnes
	movl	%eax, %ebx
	movl	$64, %r14d
	subl	%eax, %r14d
	callq	_countTrailingOnes
                                        ## kill: def $eax killed $eax def $rax
	addl	%ebx, %eax
	addl	$-32, %eax
LBB0_5:
	decl	%eax
	imull	$1984, %r14d, %ecx              ## imm = 0x7C0
	andl	$1984, %ecx                     ## imm = 0x7C0
	andl	$63, %eax
	orl	%ecx, %eax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movq	_UT32_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_UT32_MAX,4,2                   ## @UT32_MAX
	.no_dead_strip	_decodeBitMasks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decodeBitMasks
_decodeBitMasks:                        ; @decodeBitMasks
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	bl	_isShiftedMask
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_countTrailingZeros
	mov	x19, x0
	asr	w0, w20, w0
	bl	_countTrailingOnes
	b	LBB0_4
LBB0_2:
	bl	_isShiftedMask
	cbz	x0, LBB0_6
; %bb.3:
	bl	_countLeadingOnes
	mov	x20, x0
	mov	w8, #64
	sub	w19, w8, w0
	bl	_countTrailingOnes
	add	w8, w20, w0
	sub	w0, w8, #32
LBB0_4:
	sub	w8, w0, #1
	mov	w9, #1984
	mul	w9, w19, w9
	and	w0, w9, #0x7c0
	bfxil	w0, w8, #0, #6
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh0:
	adrp	x8, _UT32_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UT32_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_UT32_MAX,4,2                   ; @UT32_MAX
	.no_dead_strip	_decodeBitMasks
.subsections_via_symbols
