	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mirror_status
_mirror_status:                         ## @mirror_status
	.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
	movl	%r8d, %r15d
	movq	%rcx, %r12
	movl	%esi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %r14
	movl	24(%r14), %edi
	callq	_dm_rh_dirty_log
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_MAX_NR_MIRRORS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	incl	%eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	cmpl	$128, %ebx
	je	LBB0_8
## %bb.1:
	cmpl	$129, %ebx
	jne	LBB0_6
## %bb.2:
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movl	%r15d, -52(%rbp)                ## 4-byte Spill
	movl	(%r14), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_DMEMIT
	cmpl	$0, (%r14)
	je	LBB0_5
## %bb.3:
	leaq	L_.str.1(%rip), %rbx
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movq	8(%rax,%r12), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_DMEMIT
	movq	8(%r14), %rdi
	addq	%r12, %rdi
	callq	_device_status_char
	movb	%al, (%r13,%r15)
	incq	%r15
	movl	(%r14), %eax
	addq	$16, %r12
	cmpq	%rax, %r15
	jb	LBB0_4
LBB0_5:
	movb	$0, (%r13,%r15)
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rax
	movq	%rbx, %rdi
	callq	*8(%rax)
	movq	16(%r14), %rdx
	leaq	L_.str.2(%rip), %rdi
	movq	%rax, %rsi
	movq	%r13, %rcx
	xorl	%eax, %eax
	callq	_DMEMIT
	movq	(%rbx), %rax
	movq	%rbx, %rdi
	movl	$129, %esi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	callq	*(%rax)
	jmp	LBB0_6
LBB0_8:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	(%rdi), %rax
	movl	$128, %esi
	movq	%r12, %rdx
	movl	%r15d, %ecx
	callq	*(%rax)
	movl	(%r14), %esi
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_DMEMIT
	cmpl	$0, (%r14)
	je	LBB0_11
## %bb.9:
	movl	$8, %ebx
	leaq	L_.str.4(%rip), %r15
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movq	-8(%rax,%rbx), %rdx
	movq	(%rax,%rbx), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_DMEMIT
	incq	%r12
	movl	(%r14), %eax
	addq	$16, %rbx
	cmpq	%rax, %r12
	jb	LBB0_10
LBB0_11:
	movq	%r14, %rdi
	callq	_errors_handled
	xorl	%ebx, %ebx
	testl	%eax, %eax
	setne	%bl
	movq	%r14, %rdi
	callq	_keep_log
	xorl	%esi, %esi
	testl	%eax, %eax
	setne	%sil
	addl	%ebx, %esi
	je	LBB0_6
## %bb.12:
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_DMEMIT
	movq	%r14, %rdi
	callq	_errors_handled
	testl	%eax, %eax
	je	LBB0_14
## %bb.13:
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_DMEMIT
LBB0_14:
	movq	%r14, %rdi
	callq	_keep_log
	testl	%eax, %eax
	je	LBB0_6
## %bb.15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.16:
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DMEMIT                         ## TAILCALL
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.7:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_NR_MIRRORS,4,2             ## @MAX_NR_MIRRORS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d "

L_.str.1:                               ## @.str.1
	.asciz	"%s "

L_.str.2:                               ## @.str.2
	.asciz	"%llu/%llu 1 %s "

L_.str.3:                               ## @.str.3
	.asciz	"%d"

L_.str.4:                               ## @.str.4
	.asciz	" %s %llu"

L_.str.5:                               ## @.str.5
	.asciz	" %d"

L_.str.6:                               ## @.str.6
	.asciz	" handle_errors"

L_.str.7:                               ## @.str.7
	.asciz	" keep_log"

	.no_dead_strip	_mirror_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mirror_status
_mirror_status:                         ; @mirror_status
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #16
	mov	x20, x4
	mov	x21, x3
	mov	x23, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	ldr	x19, [x0]
	ldr	w0, [x19, #24]
	bl	_dm_rh_dirty_log
	mov	x22, x0
Lloh3:
	adrp	x8, _MAX_NR_MIRRORS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_NR_MIRRORS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w8, w8, #1
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x24, x9, x8
	mov	sp, x24
	cmp	w23, #128
	b.eq	LBB0_5
; %bb.1:
	cmp	w23, #129
	b.ne	LBB0_16
; %bb.2:
	ldr	w8, [x19]
	str	x8, [sp, #-16]!
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DMEMIT
	add	sp, sp, #16
	ldr	w8, [x19]
	cbz	w8, LBB0_14
; %bb.3:
	mov	x26, #0
	mov	x25, #0
Lloh10:
	adrp	x23, l_.str.1@PAGE
Lloh11:
	add	x23, x23, l_.str.1@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x8, x8, x26
	ldr	x8, [x8, #8]
	ldr	w8, [x8]
	str	x8, [sp, #-16]!
	mov	x0, x23
	bl	_DMEMIT
	add	sp, sp, #16
	ldr	x8, [x19, #8]
	add	x0, x8, x26
	bl	_device_status_char
	strb	w0, [x24, x25]
	add	x25, x25, #1
	ldr	w8, [x19]
	add	x26, x26, #16
	cmp	x25, x8
	b.lo	LBB0_4
	b	LBB0_15
LBB0_5:
	ldr	x8, [x22]
	ldr	x8, [x8]
	mov	x0, x22
	mov	w1, #128
	mov	x2, x21
	mov	x3, x20
	blr	x8
	ldr	w8, [x19]
	str	x8, [sp, #-16]!
Lloh12:
	adrp	x0, l_.str.3@PAGE
Lloh13:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_DMEMIT
	add	sp, sp, #16
	ldr	w8, [x19]
	cbz	w8, LBB0_8
; %bb.6:
	mov	x21, #0
	mov	x22, #0
Lloh14:
	adrp	x20, l_.str.4@PAGE
Lloh15:
	add	x20, x20, l_.str.4@PAGEOFF
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x8, x8, x21
	ldp	x8, x9, [x8]
	ldr	w9, [x9]
	stp	x9, x8, [sp, #-16]!
	mov	x0, x20
	bl	_DMEMIT
	add	sp, sp, #16
	add	x22, x22, #1
	ldr	w8, [x19]
	add	x21, x21, #16
	cmp	x22, x8
	b.lo	LBB0_7
LBB0_8:
	mov	x0, x19
	bl	_errors_handled
	cmp	w0, #0
	cset	w20, ne
	mov	x0, x19
	bl	_keep_log
	cmp	w0, #0
	cinc	w8, w20, ne
	cbz	w8, LBB0_16
; %bb.9:
	str	x8, [sp, #-16]!
Lloh16:
	adrp	x0, l_.str.5@PAGE
Lloh17:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_DMEMIT
	add	sp, sp, #16
	mov	x0, x19
	bl	_errors_handled
	cbz	w0, LBB0_11
; %bb.10:
Lloh18:
	adrp	x0, l_.str.6@PAGE
Lloh19:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_DMEMIT
LBB0_11:
	mov	x0, x19
	bl	_keep_log
	cbz	w0, LBB0_16
; %bb.12:
	ldur	x8, [x29, #-72]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.13:
Lloh23:
	adrp	x0, l_.str.7@PAGE
Lloh24:
	add	x0, x0, l_.str.7@PAGEOFF
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_DMEMIT
LBB0_14:
	mov	x25, #0
LBB0_15:
	strb	wzr, [x24, x25]
	ldr	x8, [x22]
	ldr	x8, [x8, #8]
	mov	x0, x22
	blr	x8
	ldr	x8, [x19, #16]
	sub	sp, sp, #32
	stp	x8, x24, [sp, #8]
	str	x0, [sp]
Lloh25:
	adrp	x0, l_.str.2@PAGE
Lloh26:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_DMEMIT
	add	sp, sp, #32
	ldr	x8, [x22]
	ldr	x8, [x8]
	mov	x0, x22
	mov	w1, #129
	mov	x2, x21
	mov	x3, x20
	blr	x8
LBB0_16:
	ldur	x8, [x29, #-72]
Lloh27:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.17:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_NR_MIRRORS,4,2             ; @MAX_NR_MIRRORS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d "

l_.str.1:                               ; @.str.1
	.asciz	"%s "

l_.str.2:                               ; @.str.2
	.asciz	"%llu/%llu 1 %s "

l_.str.3:                               ; @.str.3
	.asciz	"%d"

l_.str.4:                               ; @.str.4
	.asciz	" %s %llu"

l_.str.5:                               ; @.str.5
	.asciz	" %d"

l_.str.6:                               ; @.str.6
	.asciz	" handle_errors"

l_.str.7:                               ; @.str.7
	.asciz	" keep_log"

	.no_dead_strip	_mirror_status
.subsections_via_symbols
