	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bms_prev_member                ## -- Begin function bms_prev_member
	.p2align	4, 0x90
_bms_prev_member:                       ## @bms_prev_member
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$-2, %r14d
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.1:
	movl	%esi, %ebx
	testl	%esi, %esi
	je	LBB0_9
## %bb.2:
	movq	%rdi, %r15
	cmpl	$-1, %ebx
	jne	LBB0_4
## %bb.3:
	movq	_BITS_PER_BITMAPWORD@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	imull	(%r15), %ebx
LBB0_4:
	decl	%ebx
	movl	%ebx, %edi
	callq	_BITNUM
	movl	%ebx, %edi
	callq	_WORDNUM
	testl	%eax, %eax
	js	LBB0_9
## %bb.5:
	movl	%eax, %ebx
	movq	8(%r15), %rax
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %ecx
	movl	(%rax,%rcx,4), %edi
	testl	%edi, %edi
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	leal	-1(%rbx), %ecx
	testl	%ebx, %ebx
	movl	%ecx, %ebx
	jg	LBB0_6
	jmp	LBB0_9
LBB0_7:
	movq	_BITS_PER_BITMAPWORD@GOTPCREL(%rip), %rax
	imull	(%rax), %ebx
	callq	_bmw_leftmost_one_pos
	movq	%rax, %r14
	addl	%ebx, %r14d
LBB0_9:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BITS_PER_BITMAPWORD,4,2        ## @BITS_PER_BITMAPWORD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bms_prev_member                ; -- Begin function bms_prev_member
	.p2align	2
_bms_prev_member:                       ; @bms_prev_member
	.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, x0
	mov	w0, #-2
	cbz	x19, LBB0_10
; %bb.1:
	cbz	w1, LBB0_10
; %bb.2:
	cmn	w1, #1
	b.ne	LBB0_4
; %bb.3:
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _BITS_PER_BITMAPWORD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BITS_PER_BITMAPWORD@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	mul	w1, w9, w8
LBB0_4:
	sub	w20, w1, #1
	mov	x0, x20
	bl	_BITNUM
	mov	x0, x20
	bl	_WORDNUM
	tbnz	w0, #31, LBB0_8
; %bb.5:
	mov	x20, x0
	ldr	x8, [x19, #8]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x8, w20, uxtw #2]
	cbnz	w0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	w9, w20, #1
	cmp	w20, #0
	mov	x20, x9
	b.gt	LBB0_6
LBB0_8:
	mov	w0, #-2
	b	LBB0_10
LBB0_9:
Lloh3:
	adrp	x8, _BITS_PER_BITMAPWORD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BITS_PER_BITMAPWORD@GOTPAGEOFF]
Lloh5:
	ldr	w19, [x8]
	bl	_bmw_leftmost_one_pos
	madd	w0, w19, w20, w0
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BITS_PER_BITMAPWORD,4,2        ; @BITS_PER_BITMAPWORD
.subsections_via_symbols
