	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bm_firstunset                  ## -- Begin function bm_firstunset
	.p2align	4, 0x90
_bm_firstunset:                         ## @bm_firstunset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	leal	7(%rcx), %edx
	testl	%ecx, %ecx
	cmovnsl	%ecx, %edx
	sarl	$3, %edx
	xorl	%eax, %eax
	testb	$7, %cl
	setne	%al
	addl	%edx, %eax
	jle	LBB0_1
## %bb.2:
	movq	8(%rdi), %rdx
	movl	%eax, %esi
	shll	$3, %eax
	shlq	$3, %rsi
	xorl	%ecx, %ecx
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdx), %edi
	testb	$1, %dil
	je	LBB0_19
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	testb	$2, %dil
	je	LBB0_18
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	testb	$4, %dil
	je	LBB0_17
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	testb	$8, %dil
	je	LBB0_16
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	testb	$16, %dil
	je	LBB0_15
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	testb	$32, %dil
	je	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	testb	$64, %dil
	je	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	testb	$-128, %dil
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	incq	%rdx
	addq	$8, %rcx
	cmpq	%rcx, %rsi
	jne	LBB0_3
## %bb.20:
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_18:
	incl	%ecx
	jmp	LBB0_19
LBB0_17:
	addl	$2, %ecx
	jmp	LBB0_19
LBB0_16:
	addl	$3, %ecx
	jmp	LBB0_19
LBB0_15:
	addl	$4, %ecx
	jmp	LBB0_19
LBB0_14:
	addl	$5, %ecx
	jmp	LBB0_19
LBB0_13:
	addl	$6, %ecx
	jmp	LBB0_19
LBB0_12:
	addl	$7, %ecx
LBB0_19:
	movl	%ecx, %eax
	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	_bm_firstunset                  ; -- Begin function bm_firstunset
	.p2align	2
_bm_firstunset:                         ; @bm_firstunset
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	add	w9, w8, #7
	cmp	w8, #0
	csel	w9, w9, w8, lt
	asr	w9, w9, #3
	tst	w8, #0x7
	cinc	w10, w9, ne
	cmp	w10, #1
	b.lt	LBB0_12
; %bb.1:
	mov	x8, #0
	ldr	x9, [x0, #8]
	lsl	w0, w10, #3
	lsl	x10, x10, #3
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x9]
	tbz	w11, #0, LBB0_13
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	tbz	w11, #1, LBB0_14
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	tbz	w11, #2, LBB0_15
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	tbz	w11, #3, LBB0_16
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	tbz	w11, #4, LBB0_17
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	tbz	w11, #5, LBB0_18
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	tbz	w11, #6, LBB0_19
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	tbz	w11, #7, LBB0_20
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #1
	add	x8, x8, #8
	cmp	x10, x8
	b.ne	LBB0_2
; %bb.11:
	ret
LBB0_12:
	mov	w0, #0
	ret
LBB0_13:
	mov	x0, x8
	ret
LBB0_14:
	add	w0, w8, #1
	ret
LBB0_15:
	add	w0, w8, #2
	ret
LBB0_16:
	add	w0, w8, #3
	ret
LBB0_17:
	add	w0, w8, #4
	ret
LBB0_18:
	add	w0, w8, #5
	ret
LBB0_19:
	add	w0, w8, #6
	ret
LBB0_20:
	add	w0, w8, #7
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
