	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_disk_sb
_read_disk_sb:                          ## @read_disk_sb
	.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
	movl	%edx, %r15d
	movl	%esi, %r14d
	movq	%rdi, %rbx
	xorl	%edi, %edi
	cmpl	$0, 16(%rbx)
	sete	%dil
	callq	_BUG_ON
	testl	%r15d, %r15d
	jne	LBB0_2
## %bb.1:
	xorl	%r15d, %r15d
	cmpl	$0, (%rbx)
	jne	LBB0_5
LBB0_2:
	movl	$0, (%rbx)
	movl	16(%rbx), %ecx
	movq	_REQ_OP_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	$1, (%rsp)
	xorl	%r15d, %r15d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%r14d, %edx
	xorl	%r9d, %r9d
	callq	_sync_page_io
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	$1, (%rbx)
	jmp	LBB0_5
LBB0_3:
	movl	12(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	callq	_DMERR
	movl	8(%rbx), %edi
	movq	%rbx, %rsi
	callq	_md_error
	movq	_Faulty@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$4, %rbx
	movq	%rbx, %rsi
	callq	_set_bit
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_5:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REQ_OP_READ,4,2                ## @REQ_OP_READ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to read superblock of device at position %d"

	.comm	_Faulty,4,2                     ## @Faulty
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_read_disk_sb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_disk_sb
_read_disk_sb:                          ; @read_disk_sb
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x0, #16]
	cmp	w8, #0
	cset	w0, eq
	bl	_BUG_ON
	cbnz	w21, LBB0_3
; %bb.1:
	ldr	w8, [x19]
	cbz	w8, LBB0_3
; %bb.2:
	mov	w0, #0
	b	LBB0_6
LBB0_3:
	str	wzr, [x19]
	ldr	w3, [x19, #16]
Lloh0:
	adrp	x8, _REQ_OP_READ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REQ_OP_READ@GOTPAGEOFF]
Lloh2:
	ldr	w4, [x8]
	mov	w21, #1
	mov	x0, x19
	mov	w1, #0
	mov	x2, x20
	mov	w5, #0
	mov	w6, #1
	bl	_sync_page_io
	cbz	w0, LBB0_5
; %bb.4:
	mov	w0, #0
	str	w21, [x19]
	b	LBB0_6
LBB0_5:
	ldr	w1, [x19, #12]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DMERR
	ldr	w0, [x19, #8]
	mov	x1, x19
	bl	_md_error
Lloh5:
	adrp	x8, _Faulty@GOTPAGE
Lloh6:
	ldr	x8, [x8, _Faulty@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	add	x1, x19, #4
	bl	_set_bit
Lloh8:
	adrp	x8, _EIO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_REQ_OP_READ,4,2                ; @REQ_OP_READ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to read superblock of device at position %d"

	.comm	_Faulty,4,2                     ; @Faulty
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_read_disk_sb
.subsections_via_symbols
