	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bitmap_element_link
_bitmap_element_link:                   ## @bitmap_element_link
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rsi), %eax
	leaq	16(%rdi), %r8
	cmpq	$0, 16(%rdi)
	je	LBB0_1
## %bb.2:
	movq	8(%rdi), %rdx
	cmpl	(%rdi), %eax
	jae	LBB0_8
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdx, %rcx
	movq	16(%rdx), %rdx
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%eax, (%rdx)
	ja	LBB0_3
## %bb.5:
	leaq	16(%rcx), %r9
	leaq	8(%rdx), %r8
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdx, %rcx
	movq	8(%rdx), %rdx
	testq	%rdx, %rdx
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	cmpl	%eax, (%rdx)
	jb	LBB0_8
## %bb.10:
	leaq	8(%rcx), %r8
	movq	%rsi, 16(%rdx)
	jmp	LBB0_12
LBB0_1:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rsi)
	jmp	LBB0_13
LBB0_6:
	leaq	16(%rcx), %r9
LBB0_7:
	movq	%rsi, (%r8)
	movq	%rdx, 16(%rsi)
	movq	%rcx, 8(%rsi)
	movq	%r9, %r8
	jmp	LBB0_13
LBB0_11:
	leaq	8(%rcx), %r8
LBB0_12:
	movq	%rdx, 8(%rsi)
	movq	%rcx, 16(%rsi)
LBB0_13:
	movq	%rsi, (%r8)
	movq	%rsi, 8(%rdi)
	movl	%eax, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_bitmap_element_link
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bitmap_element_link
_bitmap_element_link:                   ; @bitmap_element_link
	.cfi_startproc
; %bb.0:
	ldr	w8, [x1]
	mov	x10, x0
	ldr	x9, [x10, #16]!
	cbz	x9, LBB0_8
; %bb.1:
	ldr	w11, [x0]
	ldr	x9, [x0, #8]
	cmp	w8, w11
	b.hs	LBB0_5
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x11, x9
	ldr	x9, [x9, #16]
	cbz	x9, LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w12, [x9]
	cmp	w12, w8
	b.hi	LBB0_2
; %bb.4:
	add	x12, x11, #16
	add	x10, x9, #8
	b	LBB0_10
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x11, x9
	ldr	x9, [x9, #8]
	cbz	x9, LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w10, [x9]
	cmp	w10, w8
	b.lo	LBB0_5
; %bb.7:
	add	x10, x11, #8
	str	x1, [x9, #16]
	b	LBB0_12
LBB0_8:
	stp	xzr, xzr, [x1, #8]
	b	LBB0_13
LBB0_9:
	add	x12, x11, #16
LBB0_10:
	str	x1, [x10]
	mov	x10, x12
	stp	x11, x9, [x1, #8]
	b	LBB0_13
LBB0_11:
	add	x10, x11, #8
LBB0_12:
	stp	x9, x11, [x1, #8]
LBB0_13:
	str	x1, [x10]
	str	x1, [x0, #8]
	str	w8, [x0]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_bitmap_element_link
.subsections_via_symbols
