	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___ibitmap                      ## -- Begin function __ibitmap
	.p2align	4, 0x90
___ibitmap:                             ## @__ibitmap
	.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
	movl	%ecx, %r14d
	movl	%edx, %r13d
	movl	%esi, %r15d
	movq	%rdi, %r12
	movl	(%rdi), %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	incl	24(%r12)
	movl	%r14d, -48(%rbp)                ## 4-byte Spill
	leal	-1(%r13), %r14d
	movq	_INT_BYTE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %r14d
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	leal	1(%r14), %r15d
	movq	_INT_TO_BYTE@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r15d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%r15d, %edx
	callq	_memset
	movslq	%r15d, %rax
	movq	%rbx, %rdi
	addq	%rax, %rdi
	movl	(%r12), %edx
	subl	%eax, %edx
	movl	$255, %esi
	callq	_memset
	movq	_ALL_SET@GOTPCREL(%rip), %rax
	movq	_BYTE_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %r13d
	movl	(%rax), %eax
	movl	%r13d, %ecx
	shll	%cl, %eax
	movslq	%r14d, %rcx
	movl	%eax, (%rbx,%rcx,4)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_SETBIT
	movslq	-44(%rbp), %rax                 ## 4-byte Folded Reload
	movq	16(%r12), %rcx
	movslq	-48(%rbp), %rdx                 ## 4-byte Folded Reload
	movq	%rax, (%rcx,%rdx,8)
	movq	8(%r12), %rax
	movq	%rbx, (%rax,%rdx,8)
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	movl	$1, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INT_BYTE_SHIFT,4,2             ## @INT_BYTE_SHIFT
	.comm	_INT_TO_BYTE,4,2                ## @INT_TO_BYTE
	.comm	_ALL_SET,4,2                    ## @ALL_SET
	.comm	_BYTE_MASK,4,2                  ## @BYTE_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___ibitmap                      ; -- Begin function __ibitmap
	.p2align	2
___ibitmap:                             ; @__ibitmap
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x3
	mov	x23, x2
	mov	x21, x1
	mov	x20, x0
	ldr	w0, [x0]
	bl	_malloc
	cbz	x0, LBB0_2
; %bb.1:
	mov	x22, x0
	ldr	w8, [x20, #24]
	add	w8, w8, #1
	str	w8, [x20, #24]
	sub	w8, w23, #1
Lloh0:
	adrp	x9, _INT_BYTE_SHIFT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _INT_BYTE_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	asr	w25, w8, w9
	add	w8, w25, #1
Lloh3:
	adrp	x9, _INT_TO_BYTE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _INT_TO_BYTE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	lsl	w24, w8, w9
	mov	w1, #0
	mov	x2, x24
	bl	_memset
	add	x0, x22, w24, sxtw
	ldr	w8, [x20]
	sub	w2, w8, w24
	mov	w1, #255
	bl	_memset
Lloh6:
	adrp	x8, _ALL_SET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ALL_SET@GOTPAGEOFF]
Lloh8:
	adrp	x9, _BYTE_MASK@GOTPAGE
Lloh9:
	ldr	x9, [x9, _BYTE_MASK@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	ldr	w9, [x9]
	and	w9, w9, w23
	lsl	w8, w8, w9
	str	w8, [x22, w25, sxtw #2]
	mov	x0, x22
	mov	w1, #0
	bl	_SETBIT
	mov	w0, #0
	sxtw	x8, w21
	sbfiz	x9, x19, #3, #32
	ldp	x11, x10, [x20, #8]
	str	x8, [x10, x9]
	str	x22, [x11, x9]
	b	LBB0_3
LBB0_2:
	mov	w0, #1
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_INT_BYTE_SHIFT,4,2             ; @INT_BYTE_SHIFT
	.comm	_INT_TO_BYTE,4,2                ; @INT_TO_BYTE
	.comm	_ALL_SET,4,2                    ; @ALL_SET
	.comm	_BYTE_MASK,4,2                  ; @BYTE_MASK
.subsections_via_symbols
