	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gen_bitmask
_gen_bitmask:                           ## @gen_bitmask
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	leal	1(%rdi), %ecx
	movl	$-1, %r8d
	movl	$-1, %edx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	cmpl	$31, %edi
	notl	%edx
	cmovel	%r8d, %edx
	movl	$-1, %eax
	movl	%esi, %ecx
	shll	%cl, %eax
	testl	%esi, %esi
	cmovlel	%r8d, %eax
	andl	%edx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_gen_bitmask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gen_bitmask
_gen_bitmask:                           ; @gen_bitmask
	.cfi_startproc
; %bb.0:
	add	w8, w0, #1
	mov	w9, #-1
	lsl	w8, w9, w8
	cmp	w0, #31
	csinv	w8, w9, w8, eq
	lsl	w9, w9, w1
	cmp	w1, #0
	csinv	w9, w9, wzr, gt
	and	w0, w8, w9
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_gen_bitmask
.subsections_via_symbols
