	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_array_info
_update_array_info:                     ## @update_array_info
	.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
	movq	%rsi, %r15
	movq	%rdi, %r14
	xorl	%r12d, %r12d
	cmpq	$0, 112(%rdi)
	je	LBB0_3
## %bb.1:
	cmpq	$0, 80(%r14)
	je	LBB0_3
## %bb.2:
	movq	_MD_SB_BITMAP_PRESENT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %r12d
	shll	%cl, %r12d
LBB0_3:
	movq	(%r14), %rax
	cmpq	(%r15), %rax
	jne	LBB0_10
## %bb.4:
	movq	8(%r14), %rax
	cmpq	8(%r15), %rax
	jne	LBB0_10
## %bb.5:
	movq	16(%r14), %rax
	cmpq	16(%r15), %rax
	jne	LBB0_10
## %bb.6:
	movq	24(%r14), %rax
	cmpq	24(%r15), %rax
	jne	LBB0_10
## %bb.7:
	xorl	%eax, %eax
	cmpl	$0, 64(%r15)
	sete	%al
	cmpl	%eax, 32(%r14)
	jne	LBB0_10
## %bb.8:
	movq	32(%r15), %rax
	sarq	$9, %rax
	cmpq	%rax, 40(%r14)
	jne	LBB0_10
## %bb.9:
	movl	40(%r15), %edx
	xorl	%r12d, %edx
	cmpl	$512, %edx                      ## imm = 0x200
	jae	LBB0_10
## %bb.12:
	movl	44(%r15), %esi
	testl	%esi, %esi
	js	LBB0_13
## %bb.14:
	movl	48(%r14), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	xorl	%ebx, %ebx
	cmpl	%esi, %ecx
	setne	%bl
	jmp	LBB0_15
LBB0_13:
	xorl	%ebx, %ebx
LBB0_15:
	movq	56(%r14), %r8
	movq	64(%r14), %rcx
	movq	48(%r15), %r9
	movq	56(%r15), %r10
	xorl	%eax, %eax
	cmpq	%r9, %r8
	setne	%al
	addl	%ebx, %eax
	xorl	%ebx, %ebx
	cmpq	%r10, %rcx
	setne	%bl
	movq	_MD_SB_BITMAP_PRESENT@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	btl	%edi, %edx
	adcl	%eax, %ebx
	je	LBB0_52
## %bb.16:
	cmpl	$1, %ebx
	jne	LBB0_10
## %bb.17:
	cmpq	%r10, %rcx
	jne	LBB0_18
## %bb.22:
	xorl	%ebx, %ebx
	testl	%esi, %esi
	js	LBB0_25
## %bb.23:
	movl	48(%r14), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	cmpl	%esi, %ecx
	je	LBB0_25
## %bb.24:
	addl	%esi, %esi
	movq	%r14, %rdi
	callq	_update_size
	movl	%eax, %ebx
	movq	56(%r14), %r8
	movq	48(%r15), %r9
LBB0_25:
	cmpq	%r9, %r8
	je	LBB0_27
## %bb.26:
	movq	%r14, %rdi
	movq	%r9, %rsi
	callq	_update_raid_disks
	movl	%eax, %ebx
LBB0_27:
	movl	40(%r15), %eax
	xorl	%eax, %r12d
	movl	(%r13), %ecx
	movl	$1, %edx
	shll	%cl, %edx
	btl	%ecx, %r12d
	jae	LBB0_51
## %bb.28:
	movq	144(%r14), %rcx
	cmpq	$0, 8(%rcx)
	je	LBB0_10
## %bb.29:
	cmpq	$0, 136(%r14)
	je	LBB0_10
## %bb.30:
	cmpq	$0, 128(%r14)
	jne	LBB0_32
## %bb.31:
	cmpq	$0, 120(%r14)
	je	LBB0_33
LBB0_32:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_18:
	movq	144(%r14), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.19:
	movq	%r10, 72(%r14)
	movq	%r14, %rdi
	callq	*%rax
	testl	%eax, %eax
	je	LBB0_20
## %bb.21:
	movl	%eax, %ebx
	movq	64(%r14), %rax
	movq	%rax, 72(%r14)
	jmp	LBB0_52
LBB0_20:
	xorl	%ebx, %ebx
	jmp	LBB0_52
LBB0_33:
	movq	112(%r14), %rcx
	testl	%eax, %edx
	je	LBB0_43
## %bb.34:
	testq	%rcx, %rcx
	je	LBB0_36
## %bb.35:
	movq	_EEXIST@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_43:
	testq	%rcx, %rcx
	je	LBB0_44
## %bb.45:
	cmpq	$0, (%rcx)
	jne	LBB0_10
## %bb.46:
	cmpq	$0, 96(%r14)
	je	LBB0_50
## %bb.47:
	movq	_md_cluster_ops@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	%r14, %rdi
	callq	*(%rax)
	testq	%rax, %rax
	jle	LBB0_48
## %bb.49:
	movq	$0, 96(%r14)
	movq	(%r15), %rax
	movq	%r14, %rdi
	callq	*8(%rax)
LBB0_50:
	movq	%r14, %rdi
	callq	_mddev_suspend
	movq	%r14, %rdi
	callq	_md_bitmap_destroy
	movq	%r14, %rdi
	callq	_mddev_resume
	movq	$0, 80(%r14)
	jmp	LBB0_51
LBB0_36:
	movq	88(%r14), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.37:
	movq	%rax, 80(%r14)
	movl	104(%r14), %eax
	movl	%eax, 108(%r14)
	movq	%r14, %rdi
	movl	$-1, %esi
	callq	_md_bitmap_create
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_mddev_suspend
	movq	%rbx, %rdi
	callq	_IS_ERR
	testl	%eax, %eax
	je	LBB0_38
## %bb.39:
	movq	%rbx, %rdi
	callq	_PTR_ERR
	jmp	LBB0_40
LBB0_10:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_11:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_52:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_44:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_38:
	movq	%rbx, 112(%r14)
	movq	%r14, %rdi
	callq	_md_bitmap_load
LBB0_40:
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_42
## %bb.41:
	movq	%r14, %rdi
	callq	_md_bitmap_destroy
LBB0_42:
	movq	%r14, %rdi
	callq	_mddev_resume
LBB0_51:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_md_update_sb
	jmp	LBB0_52
LBB0_48:
	leaq	L_.str(%rip), %rdi
	callq	_pr_warn
	movq	_EPERM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movq	(%r15), %rax
	movq	%r14, %rdi
	callq	*16(%rax)
	jmp	LBB0_52
	.cfi_endproc
                                        ## -- End function
	.comm	_MD_SB_BITMAP_PRESENT,4,2       ## @MD_SB_BITMAP_PRESENT
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_EEXIST,4,2                     ## @EEXIST
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_md_cluster_ops,8,3             ## @md_cluster_ops
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"md: can't change bitmap to none since the array is in use by more than one node\n"

	.comm	_EPERM,4,2                      ## @EPERM
	.no_dead_strip	_update_array_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_array_info
_update_array_info:                     ; @update_array_info
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x1
	mov	x19, x0
	ldr	x8, [x0, #112]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x8, [x19, #80]
	cbz	x8, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _MD_SB_BITMAP_PRESENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MD_SB_BITMAP_PRESENT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w22, w9, w8
	b	LBB0_4
LBB0_3:
	mov	w22, #0
LBB0_4:
	ldr	x8, [x19]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_44
; %bb.5:
	ldr	x8, [x19, #8]
	ldr	x9, [x21, #8]
	cmp	x8, x9
	b.ne	LBB0_44
; %bb.6:
	ldr	x8, [x19, #16]
	ldr	x9, [x21, #16]
	cmp	x8, x9
	b.ne	LBB0_44
; %bb.7:
	ldr	x8, [x19, #24]
	ldr	x9, [x21, #24]
	cmp	x8, x9
	b.ne	LBB0_44
; %bb.8:
	ldr	w8, [x19, #32]
	ldr	w9, [x21, #64]
	cmp	w9, #0
	cset	w9, eq
	cmp	w8, w9
	b.ne	LBB0_44
; %bb.9:
	ldr	x8, [x19, #40]
	ldr	x9, [x21, #32]
	cmp	x8, x9, asr #9
	b.ne	LBB0_44
; %bb.10:
	ldr	w8, [x21, #40]
	eor	w10, w8, w22
	cmp	w10, #512
	b.hs	LBB0_44
; %bb.11:
	ldr	w9, [x21, #44]
	tbnz	w9, #31, LBB0_13
; %bb.12:
	ldr	w8, [x19, #48]
	cmp	w8, #0
	cinc	w8, w8, lt
	cmp	w9, w8, asr #1
	cset	w13, ne
	b	LBB0_14
LBB0_13:
	mov	w13, #0
LBB0_14:
	ldp	x8, x12, [x19, #56]
	ldp	x1, x11, [x21, #48]
	cmp	x8, x1
	cinc	w13, w13, ne
	cmp	x12, x11
	cinc	w13, w13, ne
Lloh3:
	adrp	x23, _MD_SB_BITMAP_PRESENT@GOTPAGE
Lloh4:
	ldr	x23, [x23, _MD_SB_BITMAP_PRESENT@GOTPAGEOFF]
	ldr	w14, [x23]
	lsr	w10, w10, w14
	and	w10, w10, #0x1
	adds	w20, w13, w10
	b.eq	LBB0_46
; %bb.15:
	cmp	w20, #1
	b.ne	LBB0_44
; %bb.16:
	cmp	x12, x11
	b.ne	LBB0_20
; %bb.17:
	tbnz	w9, #31, LBB0_19
; %bb.18:
	ldr	w10, [x19, #48]
	cmp	w10, #0
	cinc	w10, w10, lt
	cmp	w9, w10, asr #1
	b.ne	LBB0_23
LBB0_19:
	mov	w20, #0
	b	LBB0_24
LBB0_20:
	ldr	x8, [x19, #144]
	ldr	x8, [x8]
	cbz	x8, LBB0_44
; %bb.21:
	str	x11, [x19, #72]
	mov	x0, x19
	blr	x8
	mov	x20, x0
	cbz	w0, LBB0_46
; %bb.22:
	ldr	x8, [x19, #64]
	str	x8, [x19, #72]
	b	LBB0_46
LBB0_23:
	lsl	w1, w9, #1
	mov	x0, x19
	bl	_update_size
	mov	x20, x0
	ldr	x8, [x19, #56]
	ldr	x1, [x21, #48]
LBB0_24:
	cmp	x8, x1
	b.eq	LBB0_26
; %bb.25:
	mov	x0, x19
	bl	_update_raid_disks
	mov	x20, x0
LBB0_26:
	ldr	w8, [x21, #40]
	eor	w10, w8, w22
	ldr	w9, [x23]
	mov	w11, #1
	lsl	w9, w11, w9
	tst	w9, w10
	b.eq	LBB0_52
; %bb.27:
	ldr	x10, [x19, #144]
	ldr	x10, [x10, #8]
	cbz	x10, LBB0_44
; %bb.28:
	ldr	x10, [x19, #136]
	cbz	x10, LBB0_44
; %bb.29:
	ldr	x10, [x19, #128]
	cbnz	x10, LBB0_31
; %bb.30:
	ldr	x10, [x19, #120]
	cbz	x10, LBB0_32
LBB0_31:
Lloh5:
	adrp	x8, _EBUSY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_45
LBB0_32:
	ldr	x10, [x19, #112]
	tst	w9, w8
	b.eq	LBB0_35
; %bb.33:
	cbz	x10, LBB0_41
; %bb.34:
Lloh7:
	adrp	x8, _EEXIST@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EEXIST@GOTPAGEOFF]
	b	LBB0_45
LBB0_35:
	cbz	x10, LBB0_47
; %bb.36:
	ldr	x8, [x10]
	cbnz	x8, LBB0_44
; %bb.37:
	ldr	x8, [x19, #96]
	cbz	x8, LBB0_40
; %bb.38:
Lloh9:
	adrp	x21, _md_cluster_ops@GOTPAGE
Lloh10:
	ldr	x21, [x21, _md_cluster_ops@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	cmp	x0, #0
	b.le	LBB0_53
; %bb.39:
	str	xzr, [x19, #96]
	ldr	x8, [x21]
	ldr	x8, [x8, #8]
	mov	x0, x19
	blr	x8
LBB0_40:
	mov	x0, x19
	bl	_mddev_suspend
	mov	x0, x19
	bl	_md_bitmap_destroy
	mov	x0, x19
	bl	_mddev_resume
	str	xzr, [x19, #80]
	b	LBB0_52
LBB0_41:
	ldr	x8, [x19, #88]
	cbz	x8, LBB0_44
; %bb.42:
	str	x8, [x19, #80]
	ldr	w8, [x19, #104]
	str	w8, [x19, #108]
	mov	x0, x19
	mov	w1, #-1
	bl	_md_bitmap_create
	mov	x20, x0
	mov	x0, x19
	bl	_mddev_suspend
	mov	x0, x20
	bl	_IS_ERR
	cbz	w0, LBB0_48
; %bb.43:
	mov	x0, x20
	bl	_PTR_ERR
	b	LBB0_49
LBB0_44:
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_45:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_46:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_47:
Lloh13:
	adrp	x8, _ENOENT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
	b	LBB0_45
LBB0_48:
	str	x20, [x19, #112]
	mov	x0, x19
	bl	_md_bitmap_load
LBB0_49:
	mov	x20, x0
	cbz	w0, LBB0_51
; %bb.50:
	mov	x0, x19
	bl	_md_bitmap_destroy
LBB0_51:
	mov	x0, x19
	bl	_mddev_resume
LBB0_52:
	mov	x0, x19
	mov	w1, #1
	bl	_md_update_sb
	b	LBB0_46
LBB0_53:
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_warn
Lloh17:
	adrp	x8, _EPERM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	neg	w20, w8
	ldr	x8, [x21]
	ldr	x8, [x8, #16]
	mov	x0, x19
	blr	x8
	b	LBB0_46
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_MD_SB_BITMAP_PRESENT,4,2       ; @MD_SB_BITMAP_PRESENT
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_EEXIST,4,2                     ; @EEXIST
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_md_cluster_ops,8,3             ; @md_cluster_ops
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"md: can't change bitmap to none since the array is in use by more than one node\n"

	.comm	_EPERM,4,2                      ; @EPERM
	.no_dead_strip	_update_array_info
.subsections_via_symbols
