	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bitmap_or_ewah                 ## -- Begin function bitmap_or_ewah
	.p2align	4, 0x90
_bitmap_or_ewah:                        ## @bitmap_or_ewah
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	(%rdi), %r15
	movl	(%rsi), %eax
	movq	_BITS_IN_EWORD@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	incl	%eax
	movslq	%eax, %rsi
	cmpq	%rsi, %r15
	jae	LBB0_2
## %bb.1:
	movq	%rsi, (%r12)
	movq	8(%r12), %rdi
	callq	_REALLOC_ARRAY
	leaq	(,%r15,4), %rdi
	addq	8(%r12), %rdi
	movq	(%r12), %rdx
	subq	%r15, %rdx
	shlq	$2, %rdx
	xorl	%esi, %esi
	callq	_memset
LBB0_2:
	leaq	-40(%rbp), %r15
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ewah_iterator_init
	leaq	-36(%rbp), %rdi
	movq	%r15, %rsi
	callq	_ewah_iterator_next
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	xorl	%ebx, %ebx
	leaq	-36(%rbp), %r14
	leaq	-40(%rbp), %r15
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	-36(%rbp), %eax
	movq	8(%r12), %rcx
	orl	%eax, (%rcx,%rbx)
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_ewah_iterator_next
	addq	$4, %rbx
	testq	%rax, %rax
	jne	LBB0_4
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BITS_IN_EWORD,4,2              ## @BITS_IN_EWORD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bitmap_or_ewah                 ; -- Begin function bitmap_or_ewah
	.p2align	2
_bitmap_or_ewah:                        ; @bitmap_or_ewah
	.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, x1
	mov	x19, x0
	ldr	x21, [x0]
Lloh0:
	adrp	x8, _BITS_IN_EWORD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BITS_IN_EWORD@GOTPAGEOFF]
	ldr	w9, [x1]
Lloh2:
	ldr	w8, [x8]
	sdiv	w8, w9, w8
	add	w8, w8, #1
	sxtw	x1, w8
	cmp	x21, x1
	b.hs	LBB0_2
; %bb.1:
	str	x1, [x19]
	ldr	x0, [x19, #8]
	bl	_REALLOC_ARRAY
	ldp	x9, x8, [x19]
	add	x0, x8, x21, lsl #2
	sub	x8, x9, x21
	lsl	x2, x8, #2
	mov	w1, #0
	bl	_memset
LBB0_2:
	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_5
; %bb.3:
	mov	x20, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [sp, #4]
	ldr	x9, [x19, #8]
	ldr	w10, [x9, x20]
	orr	w8, w10, w8
	str	w8, [x9, x20]
	add	x0, sp, #4
	add	x1, sp, #8
	bl	_ewah_iterator_next
	add	x20, x20, #4
	cbnz	x0, LBB0_4
LBB0_5:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BITS_IN_EWORD,4,2              ; @BITS_IN_EWORD
.subsections_via_symbols
