	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gather_bitmaps
_gather_bitmaps:                        ## @gather_bitmaps
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	$0, -64(%rbp)
	movq	8(%rdi), %r15
	movq	16(%r15), %r14
	movq	_RE_ADD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movq	%rax, -72(%rbp)
	movl	(%rbx), %edi
	callq	_cpu_to_le32
	movq	%rax, -80(%rbp)
	leaq	-80(%rbp), %rsi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_sendmsg
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_11
## %bb.1:
	cmpl	$0, 8(%r15)
	jle	LBB0_10
## %bb.2:
	xorl	%ebx, %ebx
	leaq	-48(%rbp), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%ebx
	cmpl	8(%r15), %ebx
	jge	LBB0_10
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %eax
	decl	%eax
	cmpl	%eax, %ebx
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	leaq	-56(%rbp), %rdx
	movq	%r13, %rcx
	xorl	%r8d, %r8d
	callq	_md_bitmap_copy_from_slot
	testl	%eax, %eax
	jne	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, -48(%rbp)
	jle	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rax
	cmpq	(%r15), %rax
	jge	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, (%r15)
	jmp	LBB0_9
LBB0_10:
	xorl	%r12d, %r12d
	jmp	LBB0_11
LBB0_5:
	movl	%eax, %r12d
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_pr_warn
LBB0_11:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RE_ADD,4,2                     ## @RE_ADD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"md-cluster: Could not gather bitmaps from slot %d"

	.no_dead_strip	_gather_bitmaps
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gather_bitmaps
_gather_bitmaps:                        ; @gather_bitmaps
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x0
	str	xzr, [sp, #24]
	ldr	x19, [x0, #8]
	ldr	x20, [x19, #16]
Lloh0:
	adrp	x8, _RE_ADD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RE_ADD@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	str	x0, [sp, #16]
	ldr	w0, [x21]
	bl	_cpu_to_le32
	str	x0, [sp, #8]
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #1
	bl	_sendmsg
	mov	x22, x0
	cbnz	w0, LBB0_11
; %bb.1:
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.2:
	mov	w21, #0
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w21, w21, #1
	ldr	w8, [x19, #8]
	cmp	w21, w8
	b.ge	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20]
	sub	w8, w8, #1
	cmp	w21, w8
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x2, sp, #40
	add	x3, sp, #32
	mov	x0, x19
	mov	x1, x21
	mov	w4, #0
	bl	_md_bitmap_copy_from_slot
	cbnz	w0, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #32]
	cmp	x8, #1
	b.lt	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #40]
	ldr	x9, [x19]
	cmp	x8, x9
	b.ge	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	str	x8, [x19]
	b	LBB0_3
LBB0_9:
	mov	w22, #0
	b	LBB0_11
LBB0_10:
	mov	x22, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_pr_warn
LBB0_11:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_RE_ADD,4,2                     ; @RE_ADD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"md-cluster: Could not gather bitmaps from slot %d"

	.no_dead_strip	_gather_bitmaps
.subsections_via_symbols
