	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_failures
_do_failures:                           ## @do_failures
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	xorl	%edi, %edi
	cmpl	$0, (%rsi)
	sete	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_1
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%r14, %rdi
	callq	_bio_list_pop
	testq	%rax, %rax
	je	LBB0_17
## %bb.2:
	movq	%rax, %rbx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_bio_io_error
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	callq	_bio_list_pop
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_17
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%r15)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	$0, 16(%r15)
	movl	8(%r15), %edi
	movq	%rbx, %rsi
	callq	_dm_rh_mark_nosync
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_get_valid_mirror
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_keep_log
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, (%r15)
	setne	%al
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movb	$1, %al
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movzbl	%al, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_errors_handled
	testq	%rax, %rax
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_keep_log
	testq	%rax, %rax
	je	LBB0_14
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_bio_endio
	jmp	LBB0_16
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_hold_bio
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_do_failures
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_failures
_do_failures:                           ; @do_failures
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x1
	mov	x20, x0
	ldr	w8, [x1]
	cmp	w8, #0
	cset	w0, eq
	bl	_likely
	cbz	x0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x0, x19
	bl	_bio_list_pop
	cbz	x0, LBB0_1
; %bb.3:
	mov	x21, x0
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	bl	_bio_io_error
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_bio_list_pop
	mov	x21, x0
	cbz	x0, LBB0_1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	cbnz	x8, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	str	xzr, [x20, #16]
	ldr	w0, [x20, #8]
	mov	x1, x21
	bl	_dm_rh_mark_nosync
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	bl	_get_valid_mirror
	cbz	w0, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	bl	_keep_log
	cbz	x0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20]
	cmp	x8, #0
	cset	w0, ne
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	bl	_unlikely
	cbnz	x0, LBB0_4
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #1
	bl	_unlikely
	cbnz	x0, LBB0_4
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	bl	_errors_handled
	cbz	x0, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	bl	_keep_log
	cbz	x0, LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	bl	_bio_endio
	b	LBB0_5
LBB0_16:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_hold_bio
	b	LBB0_5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_do_failures
.subsections_via_symbols
