	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_blkread                        ## -- Begin function blkread
	.p2align	4, 0x90
_blkread:                               ## @blkread
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_fi@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_dev_bsize@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	imull	%ebx, %esi
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_lseek
	testq	%rax, %rax
	js	LBB0_3
## %bb.1:
	movl	(%r12), %edi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_read
	cmpq	%r14, %rax
	jne	LBB0_3
## %bb.2:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	movq	%rbx, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_errx                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_fi,4,2                         ## @fi
	.comm	_dev_bsize,4,2                  ## @dev_bsize
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"blkread failed on block %ld"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_blkread                        ; -- Begin function blkread
	.p2align	2
_blkread:                               ; @blkread
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _fi@GOTPAGE
Lloh1:
	ldr	x22, [x22, _fi@GOTPAGEOFF]
Lloh2:
	adrp	x8, _dev_bsize@GOTPAGE
Lloh3:
	ldr	x8, [x8, _dev_bsize@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh4:
	ldr	w8, [x8]
	mul	w1, w8, w19
Lloh5:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	bl	_lseek
	tbnz	x0, #63, LBB0_3
; %bb.1:
	ldr	w0, [x22]
	mov	x1, x21
	mov	x2, x20
	bl	_read
	cmp	x0, x20
	b.ne	LBB0_3
; %bb.2:
	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_3:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	mov	x2, 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	_errx
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_fi,4,2                         ; @fi
	.comm	_dev_bsize,4,2                  ; @dev_bsize
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"blkread failed on block %ld"

.subsections_via_symbols
