	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function recover_bitmaps
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_recover_bitmaps:                       ## @recover_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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %r15
	movq	40(%r15), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.1:
	movq	-128(%rbp), %rax                ## 8-byte Reload
	leaq	8(%rax), %r14
	leaq	16(%rax), %rcx
	movq	%rcx, -144(%rbp)                ## 8-byte Spill
	addq	$24, %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	leaq	24(%r15), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_err
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_lockres_free
	movl	%r12d, %edi
	movq	%r14, %rsi
	callq	_clear_bit
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_18
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_fls64
	movl	%eax, %r12d
	decl	%r12d
	leaq	-112(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$64, %esi
	leaq	L_.str(%rip), %rdx
	movl	%r12d, %ecx
	callq	_snprintf
	movq	%r15, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	movl	$1, %ecx
	callq	_lockres_init
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_DLM_LOCK_PW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movq	%r15, %rdx
	callq	_dlm_lock_sync_interruptible
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.2(%rip), %rdi
	leaq	-112(%rbp), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_pr_err
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movl	%r12d, %esi
	leaq	-160(%rbp), %rdx
	leaq	-152(%rbp), %rcx
	movl	$1, %r8d
	callq	_md_bitmap_copy_from_slot
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.3(%rip), %rdi
	movl	%r12d, %esi
	xorl	%eax, %eax
	callq	_pr_err
	jmp	LBB0_17
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-144(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_spin_lock_irq
	movq	-136(%rbp), %rax                ## 8-byte Reload
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax)
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movl	$-1, (%rax)
	movq	%rbx, %rdi
	callq	_spin_unlock_irq
	movq	_MD_RESYNCING_REMOTE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-120(%rbp), %rsi                ## 8-byte Reload
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_MD_RECOVERY_RESHAPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-120(%rbp), %rsi                ## 8-byte Reload
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rax
	movq	_MaxSector@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	32(%r15), %edi
	callq	_md_wakeup_thread
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, -152(%rbp)
	jle	LBB0_17
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-160(%rbp), %rax
	movq	8(%r15), %rcx
	cmpq	%rcx, %rax
	jge	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, 8(%r15)
	movq	%rax, %rcx
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_MaxSector@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_MD_RESYNCING_REMOTE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_clear_bit
	movq	_MD_RECOVERY_NEEDED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_set_bit
	movl	16(%r15), %edi
	callq	_md_wakeup_thread
	jmp	LBB0_17
LBB0_18:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_20
## %bb.19:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bitmap%04d"

L_.str.1:                               ## @.str.1
	.asciz	"md-cluster: Cannot initialize bitmaps\n"

	.comm	_DLM_LOCK_PW,4,2                ## @DLM_LOCK_PW
L_.str.2:                               ## @.str.2
	.asciz	"md-cluster: Could not DLM lock %s: %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"md-cluster: Could not copy data from bitmap %d\n"

	.comm	_MD_RESYNCING_REMOTE,4,2        ## @MD_RESYNCING_REMOTE
	.comm	_MD_RECOVERY_RESHAPE,4,2        ## @MD_RECOVERY_RESHAPE
	.comm	_MaxSector,8,3                  ## @MaxSector
	.comm	_MD_RECOVERY_NEEDED,4,2         ## @MD_RECOVERY_NEEDED
	.no_dead_strip	_recover_bitmaps
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function recover_bitmaps
_recover_bitmaps:                       ; @recover_bitmaps
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	x19, [x0]
	ldr	x25, [x19, #40]
	mov	x20, x25
	ldr	x0, [x20, #8]!
	cbz	x0, LBB0_19
; %bb.1:
	add	x9, x25, #16
	add	x8, x25, #24
	stp	x8, x9, [sp, #24]               ; 16-byte Folded Spill
	add	x22, x19, #24
Lloh3:
	adrp	x23, l_.str@PAGE
Lloh4:
	add	x23, x23, l_.str@PAGEOFF
	add	x21, sp, #56
Lloh5:
	adrp	x24, _DLM_LOCK_PW@GOTPAGE
Lloh6:
	ldr	x24, [x24, _DLM_LOCK_PW@GOTPAGEOFF]
Lloh7:
	adrp	x26, l_.str.2@PAGE
Lloh8:
	add	x26, x26, l_.str.2@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_fls64
	sub	w27, w0, #1
	add	x0, sp, #56
	mov	w1, #64
	mov	x2, x23
	mov	x3, x27
	bl	_snprintf
	add	x1, sp, #56
	mov	x0, x19
	mov	x2, #0
	mov	w3, #1
	bl	_lockres_init
	mov	x28, x0
	cbz	x0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [x24]
	mov	x0, x28
	mov	x2, x19
	bl	_dlm_lock_sync_interruptible
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	stp	x21, x0, [sp]
	mov	x0, x26
	b	LBB0_8
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x2, sp, #48
	add	x3, sp, #40
	mov	x0, x19
	mov	x1, x27
	mov	w4, #1
	bl	_md_bitmap_copy_from_slot
	cbz	w0, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	str	x27, [sp]
Lloh11:
	adrp	x0, l_.str.3@PAGE
Lloh12:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	bl	_pr_err
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x28
	bl	_lockres_free
	mov	x0, x27
	mov	x1, x20
	bl	_clear_bit
	ldr	x0, [x20]
	cbnz	x0, LBB0_2
	b	LBB0_19
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x21, [sp, #32]                  ; 8-byte Folded Reload
	mov	x0, x21
	bl	_spin_lock_irq
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	stp	xzr, xzr, [x8]
	mov	w8, #-1
	str	w8, [x25]
	mov	x0, x21
	bl	_spin_unlock_irq
Lloh13:
	adrp	x8, _MD_RESYNCING_REMOTE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MD_RESYNCING_REMOTE@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_test_bit
	cbz	x0, LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh16:
	adrp	x8, _MD_RECOVERY_RESHAPE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MD_RECOVERY_RESHAPE@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_test_bit
	cbz	x0, LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19]
Lloh19:
	adrp	x9, _MaxSector@GOTPAGE
Lloh20:
	ldr	x9, [x9, _MaxSector@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x19, #32]
	bl	_md_wakeup_thread
LBB0_14:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [sp, #40]
	cmp	x8, #1
	add	x21, sp, #56
	b.lt	LBB0_9
; %bb.15:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [sp, #48]
	ldr	x9, [x19, #8]
	cmp	x8, x9
	b.ge	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_2 Depth=1
	str	x8, [x19, #8]
	mov	x9, x8
LBB0_17:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh22:
	adrp	x8, _MaxSector@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MaxSector@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	cmp	x9, x8
	b.eq	LBB0_9
; %bb.18:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh25:
	adrp	x8, _MD_RESYNCING_REMOTE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _MD_RESYNCING_REMOTE@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_clear_bit
Lloh28:
	adrp	x8, _MD_RECOVERY_NEEDED@GOTPAGE
Lloh29:
	ldr	x8, [x8, _MD_RECOVERY_NEEDED@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_set_bit
	ldr	w0, [x19, #16]
	bl	_md_wakeup_thread
	b	LBB0_9
LBB0_19:
	ldur	x8, [x29, #-88]
Lloh31:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh32:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.20:
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bitmap%04d"

l_.str.1:                               ; @.str.1
	.asciz	"md-cluster: Cannot initialize bitmaps\n"

	.comm	_DLM_LOCK_PW,4,2                ; @DLM_LOCK_PW
l_.str.2:                               ; @.str.2
	.asciz	"md-cluster: Could not DLM lock %s: %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"md-cluster: Could not copy data from bitmap %d\n"

	.comm	_MD_RESYNCING_REMOTE,4,2        ; @MD_RESYNCING_REMOTE
	.comm	_MD_RECOVERY_RESHAPE,4,2        ; @MD_RECOVERY_RESHAPE
	.comm	_MaxSector,8,3                  ; @MaxSector
	.comm	_MD_RECOVERY_NEEDED,4,2         ; @MD_RECOVERY_NEEDED
	.no_dead_strip	_recover_bitmaps
.subsections_via_symbols
