	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bitmap_elt_insert_after
_bitmap_elt_insert_after:               ## @bitmap_elt_insert_after
	.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	%edx, %r12d
	movq	%rsi, %r15
	movq	%rdi, %r14
	callq	_bitmap_element_allocate
	movq	%rax, %rbx
	movl	%r12d, (%rax)
	movq	8(%r14), %rdi
	testq	%r15, %r15
	je	LBB0_1
## %bb.4:
	callq	_gcc_assert
	leaq	16(%r15), %r14
	movq	16(%r15), %rax
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_7
LBB0_6:
	movq	%rbx, 8(%rax)
LBB0_7:
	movq	%rbx, (%r14)
	movq	%r15, 8(%rbx)
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	testq	%rdi, %rdi
	jne	LBB0_3
## %bb.2:
	movq	%rbx, 8(%r14)
	movl	%r12d, (%r14)
LBB0_3:
	movq	16(%r14), %rax
	addq	$16, %r14
	movq	%rax, 16(%rbx)
	xorl	%r15d, %r15d
	testq	%rax, %rax
	jne	LBB0_6
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_bitmap_elt_insert_after
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bitmap_elt_insert_after
_bitmap_elt_insert_after:               ; @bitmap_elt_insert_after
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x22, x2
	mov	x20, x1
	mov	x21, x0
	bl	_bitmap_element_allocate
	mov	x19, x0
	str	w22, [x0]
	ldr	x0, [x21, #8]
	cbz	x20, LBB0_2
; %bb.1:
	bl	_gcc_assert
	mov	x21, x20
	b	LBB0_5
LBB0_2:
	cbnz	x0, LBB0_4
; %bb.3:
	str	x19, [x21, #8]
	str	w22, [x21]
LBB0_4:
	mov	x20, #0
LBB0_5:
	ldr	x8, [x21, #16]!
	str	x8, [x19, #16]
	cbz	x8, LBB0_7
; %bb.6:
	str	x19, [x8, #8]
LBB0_7:
	str	x19, [x21]
	str	x20, [x19, #8]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_bitmap_elt_insert_after
.subsections_via_symbols
