	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_bit                        ## -- Begin function set_bit
	.p2align	4, 0x90
_set_bit:                               ## @set_bit
	.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	%esi, %ebx
	movq	%rdi, %r14
	xorl	%edi, %edi
	cmpl	$128, %esi
	setl	%dil
	callq	_assert
	leal	15(%rbx), %eax
	testl	%ebx, %ebx
	cmovnsl	%ebx, %eax
	sarl	$4, %eax
	negl	%eax
	movl	%ebx, %ecx
	andb	$15, %cl
	movl	$1, %edx
	shll	%cl, %edx
	movq	(%r14), %rcx
	movslq	%eax, %rsi
	addq	%rdx, 56(%rcx,%rsi,8)
	jne	LBB0_5
## %bb.1:
	cmpl	$111, %ebx
	jg	LBB0_5
## %bb.2:
	addl	$6, %eax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %edx
	incq	(%rcx,%rdx,8)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leal	-1(%rax), %edx
	testl	%eax, %eax
	movl	%edx, %eax
	jg	LBB0_3
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_bit                        ; -- Begin function set_bit
	.p2align	2
_set_bit:                               ; @set_bit
	.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	x19, x1
	mov	x20, x0
	cmp	w1, #128
	cset	w0, lt
	bl	_assert
	add	w8, w19, #15
	cmp	w19, #0
	csel	w8, w8, w19, lt
	asr	w9, w8, #4
	mov	w8, #7
	sub	w10, w8, w9
	and	w8, w19, #0xf
	mov	w11, #1
	lsl	w11, w11, w8
	ldr	x8, [x20]
	sbfiz	x10, x10, #3, #32
	ldr	x12, [x8, x10]
	adds	x11, x12, x11
	str	x11, [x8, x10]
	b.ne	LBB0_4
; %bb.1:
	cmp	w19, #111
	b.gt	LBB0_4
; %bb.2:
	neg	w9, w9
	add	w9, w9, #6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	w10, w9
	lsl	x10, x10, #3
	ldr	x11, [x8, x10]
	adds	x11, x11, #1
	ccmp	w9, #0, #4, hs
	sub	w9, w9, #1
	str	x11, [x8, x10]
	b.gt	LBB0_3
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
