	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ewah_to_bitmap                 ## -- Begin function ewah_to_bitmap
	.p2align	4, 0x90
_ewah_to_bitmap:                        ## @ewah_to_bitmap
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_bitmap_new
	movq	%rax, %r14
	leaq	-48(%rbp), %r12
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_ewah_iterator_init
	leaq	-44(%rbp), %rdi
	movq	%r12, %rsi
	callq	_ewah_iterator_next
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	leaq	-44(%rbp), %r15
	leaq	-48(%rbp), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rdx
	movq	8(%r14), %rdi
	leaq	1(%rbx), %r13
	movq	%r13, %rsi
	callq	_ALLOC_GROW
	movl	-44(%rbp), %eax
	movq	8(%r14), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_ewah_iterator_next
	movq	%r13, %rbx
	testq	%rax, %rax
	jne	LBB0_2
LBB0_3:
	movq	%r13, (%r14)
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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	_ewah_to_bitmap                 ; -- Begin function ewah_to_bitmap
	.p2align	2
_ewah_to_bitmap:                        ; @ewah_to_bitmap
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x0
	bl	_bitmap_new
	mov	x19, x0
	add	x0, sp, #8
	mov	x1, x20
	bl	_ewah_iterator_init
	add	x0, sp, #4
	add	x1, sp, #8
	bl	_ewah_iterator_next
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x20, x21, #1
	ldp	x2, x0, [x19]
	mov	x1, x20
	bl	_ALLOC_GROW
	ldr	w8, [sp, #4]
	ldr	x9, [x19, #8]
	str	w8, [x9, x21, lsl #2]
	add	x0, sp, #4
	add	x1, sp, #8
	bl	_ewah_iterator_next
	mov	x21, x20
	cbnz	x0, LBB0_2
	b	LBB0_4
LBB0_3:
	mov	x20, #0
LBB0_4:
	str	x20, [x19]
	mov	x0, x19
	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
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
