	.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, 104(%rdi)
	je	LBB0_3
## %bb.1:
	cmpq	$0, 72(%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, 128(%r14)
	sete	%al
	cmpl	%eax, 32(%r15)
	jne	LBB0_10
## %bb.8:
	movq	40(%r15), %rax
	sarq	$9, %rax
	cmpq	%rax, 32(%r14)
	jne	LBB0_10
## %bb.9:
	movl	48(%r15), %edx
	xorl	%r12d, %edx
	cmpl	$512, %edx                      ## imm = 0x200
	jae	LBB0_10
## %bb.12:
	movl	52(%r15), %esi
	testl	%esi, %esi
	js	LBB0_13
## %bb.14:
	movl	40(%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	48(%r14), %r8
	movq	56(%r14), %rcx
	movq	56(%r15), %r9
	movq	64(%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_46
## %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	40(%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	48(%r14), %r8
	movq	56(%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	48(%r15), %eax
	xorl	%eax, %r12d
	movl	(%r13), %ecx
	movl	$1, %edx
	shll	%cl, %edx
	btl	%ecx, %r12d
	jae	LBB0_45
## %bb.28:
	movq	96(%r14), %rcx
	movq	8(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.29:
	cmpq	$0, 120(%r14)
	jne	LBB0_31
## %bb.30:
	cmpq	$0, 112(%r14)
	je	LBB0_32
LBB0_31:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_18:
	movq	96(%r14), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.19:
	movq	%r10, 64(%r14)
	movq	%r14, %rdi
	callq	*%rax
	testl	%eax, %eax
	je	LBB0_20
## %bb.21:
	movl	%eax, %ebx
	movq	56(%r14), %rax
	movq	%rax, 64(%r14)
	jmp	LBB0_46
LBB0_20:
	xorl	%ebx, %ebx
	jmp	LBB0_46
LBB0_32:
	movq	104(%r14), %rsi
	testl	%eax, %edx
	je	LBB0_41
## %bb.33:
	testq	%rsi, %rsi
	je	LBB0_35
## %bb.34:
	movq	_EEXIST@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_41:
	testq	%rsi, %rsi
	je	LBB0_42
## %bb.43:
	cmpq	$0, (%rsi)
	jne	LBB0_10
## %bb.44:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	*%rcx
	movq	%r14, %rdi
	callq	_bitmap_destroy
	movq	96(%r14), %rax
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	*8(%rax)
	movq	$0, 72(%r14)
	jmp	LBB0_45
LBB0_35:
	movq	80(%r14), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.36:
	movq	%rax, 72(%r14)
	movl	88(%r14), %eax
	movl	%eax, 92(%r14)
	movq	%r14, %rdi
	movl	$1, %esi
	callq	*%rcx
	movq	%r14, %rdi
	callq	_bitmap_create
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_39
## %bb.37:
	movq	%r14, %rdi
	callq	_bitmap_load
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_38
LBB0_39:
	movq	%r14, %rdi
	callq	_bitmap_destroy
LBB0_40:
	movq	96(%r14), %rax
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	*8(%rax)
LBB0_45:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_md_update_sb
	jmp	LBB0_46
LBB0_10:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_11:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_46:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_42:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_38:
	xorl	%ebx, %ebx
	jmp	LBB0_40
	.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
	.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, #104]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x8, [x19, #72]
	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_43
; %bb.5:
	ldr	x8, [x19, #8]
	ldr	x9, [x21, #8]
	cmp	x8, x9
	b.ne	LBB0_43
; %bb.6:
	ldr	x8, [x19, #16]
	ldr	x9, [x21, #16]
	cmp	x8, x9
	b.ne	LBB0_43
; %bb.7:
	ldr	x8, [x19, #24]
	ldr	x9, [x21, #24]
	cmp	x8, x9
	b.ne	LBB0_43
; %bb.8:
	ldr	w8, [x19, #128]
	cmp	w8, #0
	cset	w8, eq
	ldr	w9, [x21, #32]
	cmp	w9, w8
	b.ne	LBB0_43
; %bb.9:
	ldr	x8, [x19, #32]
	ldr	x9, [x21, #40]
	cmp	x8, x9, asr #9
	b.ne	LBB0_43
; %bb.10:
	ldr	w8, [x21, #48]
	eor	w10, w8, w22
	cmp	w10, #512
	b.hs	LBB0_43
; %bb.11:
	ldr	w9, [x21, #52]
	tbnz	w9, #31, LBB0_13
; %bb.12:
	ldr	w8, [x19, #40]
	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, #48]
	ldp	x1, x11, [x21, #56]
	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_45
; %bb.15:
	cmp	w20, #1
	b.ne	LBB0_43
; %bb.16:
	cmp	x12, x11
	b.ne	LBB0_20
; %bb.17:
	tbnz	w9, #31, LBB0_19
; %bb.18:
	ldr	w10, [x19, #40]
	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, #96]
	ldr	x8, [x8]
	cbz	x8, LBB0_43
; %bb.21:
	str	x11, [x19, #64]
	mov	x0, x19
	blr	x8
	mov	x20, x0
	cbz	w0, LBB0_45
; %bb.22:
	ldr	x8, [x19, #56]
	str	x8, [x19, #64]
	b	LBB0_45
LBB0_23:
	lsl	w1, w9, #1
	mov	x0, x19
	bl	_update_size
	mov	x20, x0
	ldr	x8, [x19, #48]
	ldr	x1, [x21, #56]
LBB0_24:
	cmp	x8, x1
	b.eq	LBB0_26
; %bb.25:
	mov	x0, x19
	bl	_update_raid_disks
	mov	x20, x0
LBB0_26:
	ldr	w9, [x21, #48]
	eor	w8, w9, w22
	ldr	w10, [x23]
	mov	w11, #1
	lsl	w10, w11, w10
	tst	w10, w8
	b.eq	LBB0_42
; %bb.27:
	ldr	x8, [x19, #96]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_43
; %bb.28:
	ldr	x11, [x19, #120]
	cbnz	x11, LBB0_30
; %bb.29:
	ldr	x11, [x19, #112]
	cbz	x11, LBB0_31
LBB0_30:
Lloh5:
	adrp	x8, _EBUSY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_44
LBB0_31:
	ldr	x11, [x19, #104]
	tst	w10, w9
	b.eq	LBB0_34
; %bb.32:
	cbz	x11, LBB0_37
; %bb.33:
Lloh7:
	adrp	x8, _EEXIST@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EEXIST@GOTPAGEOFF]
	b	LBB0_44
LBB0_34:
	cbz	x11, LBB0_46
; %bb.35:
	ldr	x9, [x11]
	cbnz	x9, LBB0_43
; %bb.36:
	mov	x0, x19
	mov	w1, #1
	blr	x8
	mov	x0, x19
	bl	_bitmap_destroy
	ldr	x8, [x19, #96]
	ldr	x8, [x8, #8]
	mov	x0, x19
	mov	w1, #0
	blr	x8
	str	xzr, [x19, #72]
	b	LBB0_42
LBB0_37:
	ldr	x9, [x19, #80]
	cbz	x9, LBB0_43
; %bb.38:
	str	x9, [x19, #72]
	ldr	w9, [x19, #88]
	str	w9, [x19, #92]
	mov	x0, x19
	mov	w1, #1
	blr	x8
	mov	x0, x19
	bl	_bitmap_create
	mov	x20, x0
	cbnz	w0, LBB0_40
; %bb.39:
	mov	x0, x19
	bl	_bitmap_load
	mov	x20, x0
	cbz	w0, LBB0_41
LBB0_40:
	mov	x0, x19
	bl	_bitmap_destroy
LBB0_41:
	ldr	x8, [x19, #96]
	ldr	x8, [x8, #8]
	mov	x0, x19
	mov	w1, #0
	blr	x8
LBB0_42:
	mov	x0, x19
	mov	w1, #1
	bl	_md_update_sb
	b	LBB0_45
LBB0_43:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_44:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_45:
	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_46:
Lloh11:
	adrp	x8, _ENOENT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
	b	LBB0_44
	.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
	.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
	.no_dead_strip	_update_array_info
.subsections_via_symbols
