	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_callback
_read_callback:                         ## @read_callback
	.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, %r15
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_bio_get_m
	movq	%rax, %r14
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_bio_set_m
	xorl	%edi, %edi
	testq	%rbx, %rbx
	sete	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bio_endio                      ## TAILCALL
LBB0_1:
	movq	_DM_RAID1_READ_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_fail_mirror
	movq	%r14, %rdi
	callq	_default_ok
	movl	%eax, %edi
	callq	_likely
	testq	%rax, %rax
	jne	LBB0_5
## %bb.2:
	movl	8(%r14), %edi
	movq	%r15, %rsi
	callq	_mirror_available
	testq	%rax, %rax
	je	LBB0_3
LBB0_5:
	movq	(%r14), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_DMWARN_LIMIT
	movl	8(%r14), %ebx
	movq	%r15, %rdi
	callq	_bio_data_dir
	movl	%ebx, %edi
	movq	%r15, %rsi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_queue_bio                      ## TAILCALL
LBB0_3:
	movq	(%r14), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_DMERR_LIMIT
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bio_io_error                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DM_RAID1_READ_ERROR,4,2        ## @DM_RAID1_READ_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Read failure on mirror device %s.  Trying alternative device."

L_.str.1:                               ## @.str.1
	.asciz	"Read failure on mirror device %s.  Failing I/O."

	.no_dead_strip	_read_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_callback
_read_callback:                         ; @read_callback
	.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	x21, x0
	mov	x0, x1
	bl	_bio_get_m
	mov	x20, x0
	mov	x0, x19
	mov	x1, #0
	bl	_bio_set_m
	cmp	x21, #0
	cset	w0, eq
	bl	_likely
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	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
	b	_bio_endio
LBB0_2:
Lloh0:
	adrp	x8, _DM_RAID1_READ_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DM_RAID1_READ_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_fail_mirror
	mov	x0, x20
	bl	_default_ok
	bl	_likely
	cbnz	x0, LBB0_4
; %bb.3:
	ldr	w0, [x20, #8]
	mov	x1, x19
	bl	_mirror_available
	cbz	x0, LBB0_5
LBB0_4:
	ldr	x8, [x20]
	ldr	w1, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DMWARN_LIMIT
	ldr	w20, [x20, #8]
	mov	x0, x19
	bl	_bio_data_dir
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	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
	b	_queue_bio
LBB0_5:
	ldr	x8, [x20]
	ldr	w1, [x8]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DMERR_LIMIT
	mov	x0, x19
	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
	b	_bio_io_error
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_DM_RAID1_READ_ERROR,4,2        ; @DM_RAID1_READ_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Read failure on mirror device %s.  Trying alternative device."

l_.str.1:                               ; @.str.1
	.asciz	"Read failure on mirror device %s.  Failing I/O."

	.no_dead_strip	_read_callback
.subsections_via_symbols
