	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sbitmap_vector_alloc           ## -- Begin function sbitmap_vector_alloc
	.p2align	4, 0x90
_sbitmap_vector_alloc:                  ## @sbitmap_vector_alloc
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movl	%edi, %ebx
	movl	%esi, %edi
	callq	_SBITMAP_SET_SIZE
	movl	%eax, %r15d
	leal	(,%r15,4), %r12d
	movl	%r12d, %eax
	imull	%ebx, %eax
	leal	(%rax,%rbx,8), %edi
	callq	_xmalloc
	testl	%ebx, %ebx
	je	LBB0_8
## %bb.1:
	movl	%ebx, %r10d
	shll	$3, %ebx
	leaq	-1(%r10), %rcx
	movl	%r10d, %r8d
	andl	$3, %r8d
	cmpq	$3, %rcx
	jae	LBB0_3
## %bb.2:
	xorl	%esi, %esi
	jmp	LBB0_5
LBB0_3:
	andl	$-4, %r10d
	leal	(%r12,%r12,2), %r9d
	movl	%r15d, %r11d
	shll	$3, %r11d
	xorl	%esi, %esi
	movl	%ebx, %edi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%edi, %ebx
	leaq	(%rax,%rbx), %rdx
	movq	%rdx, (%rax,%rsi,8)
	movl	%r14d, (%rax,%rbx)
	movl	%r15d, 4(%rax,%rbx)
	movl	%r12d, 8(%rax,%rbx)
	leal	(%rdi,%r12), %ebx
	leaq	(%rax,%rbx), %rdx
	movq	%rdx, 8(%rax,%rsi,8)
	movl	%r14d, (%rax,%rbx)
	movl	%r15d, 4(%rax,%rbx)
	movl	%r12d, 8(%rax,%rbx)
	addl	%r12d, %ebx
	leal	(%r11,%rdi), %edx
	leaq	(%rax,%rdx), %rcx
	movq	%rcx, 16(%rax,%rsi,8)
	movl	%r14d, (%rax,%rdx)
	movl	%r15d, 4(%rax,%rdx)
	movl	%r12d, 8(%rax,%rdx)
	addl	%r12d, %ebx
	addl	%r9d, %edi
	leaq	(%rax,%rdi), %rcx
	movq	%rcx, 24(%rax,%rsi,8)
	movl	%r14d, (%rax,%rdi)
	movl	%r15d, 4(%rax,%rdi)
	movl	%r12d, 8(%rax,%rdi)
	addq	$4, %rsi
	addl	%r12d, %ebx
	movl	%ebx, %edi
	cmpq	%rsi, %r10
	jne	LBB0_4
LBB0_5:
	testq	%r8, %r8
	je	LBB0_8
## %bb.6:
	leaq	(%rax,%rsi,8), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %esi
	leaq	(%rax,%rsi), %rdi
	movq	%rdi, (%rcx,%rdx,8)
	movl	%r14d, (%rax,%rsi)
	movl	%r15d, 4(%rax,%rsi)
	movl	%r12d, 8(%rax,%rsi)
	addl	%r12d, %ebx
	incq	%rdx
	cmpq	%rdx, %r8
	jne	LBB0_7
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	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	_sbitmap_vector_alloc           ; -- Begin function sbitmap_vector_alloc
	.p2align	2
_sbitmap_vector_alloc:                  ; @sbitmap_vector_alloc
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x21, x0
	mov	x0, x1
	bl	_SBITMAP_SET_SIZE
	mov	x20, x0
	lsl	w22, w0, #2
	lsl	w23, w21, #3
	madd	w0, w22, w21, w23
	bl	_xmalloc
	cbz	w21, LBB0_12
; %bb.1:
	mov	w8, w21
	cmp	w21, #4
	b.hs	LBB0_3
; %bb.2:
	mov	x9, #0
	b	LBB0_9
LBB0_3:
	mov	x9, #0
	sub	x12, x8, #1
	cmp	w22, #0
	cneg	w10, w22, lt
	umull	x11, w12, w10
	cset	w10, ne
	cmn	w23, w11
	cset	w13, hs
	cmp	w11, w23
	cset	w14, hi
	cmp	w22, #0
	csel	w13, w14, w13, lt
	tst	x11, #0xffffffff00000000
	cset	w11, ne
	tst	x12, #0xffffffff00000000
	cset	w12, ne
	tbnz	w13, #0, LBB0_9
; %bb.4:
	tbnz	w11, #0, LBB0_9
; %bb.5:
	and	w10, w12, w10
	tbnz	w10, #0, LBB0_9
; %bb.6:
	and	x9, x8, #0xfffffffc
	add	w12, w20, w20, lsl #1
	madd	w10, w22, w9, w23
	lsl	w11, w20, #3
	lsl	w12, w12, #2
	lsl	w13, w20, #4
	add	x14, x0, #16
	mov	x15, x9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	add	x16, x0, w23, uxtw
	add	w17, w22, w23
	add	x17, x0, x17
	stp	x16, x17, [x14, #-16]
	add	w1, w11, w23
	add	x1, x0, x1
	add	w2, w12, w23
	add	x2, x0, x2
	stp	x1, x2, [x14], #32
	stp	w19, w20, [x16]
	stp	w19, w20, [x17]
	stp	w19, w20, [x1]
	stp	w19, w20, [x2]
	str	w22, [x16, #8]
	str	w22, [x17, #8]
	str	w22, [x1, #8]
	add	w23, w23, w13
	str	w22, [x2, #8]
	subs	x15, x15, #4
	b.ne	LBB0_7
; %bb.8:
	cmp	x9, x8
	b.eq	LBB0_12
	b	LBB0_10
LBB0_9:
	mov	x10, x23
LBB0_10:
	add	x11, x0, x9, lsl #3
	sub	x8, x8, x9
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	add	x9, x0, w10, uxtw
	str	x9, [x11], #8
	stp	w19, w20, [x9]
	str	w22, [x9, #8]
	add	w10, w10, w22
	subs	x8, x8, #1
	b.ne	LBB0_11
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
