	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getblk                         ## -- Begin function getblk
	.p2align	4, 0x90
_getblk:                                ## @getblk
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movq	_sblock@GOTPCREL(%rip), %rdi
	callq	_fsbtodb
	cmpq	%rax, (%rbx)
	jne	LBB0_2
## %bb.1:
	movq	_totalreads@GOTPCREL(%rip), %rax
	incl	(%rax)
	jmp	LBB0_7
LBB0_2:
	movq	%rax, %r15
	movq	_fswritefd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_flush
	movq	_debug@GOTPCREL(%rip), %r12
	cmpq	$0, (%r12)
	je	LBB0_4
## %bb.3:
	movq	_readcnt@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rbx), %rcx
	incl	(%rax,%rcx,4)
	movq	_CLOCK_REALTIME_PRECISE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-40(%rbp), %rsi
	callq	_clock_gettime
LBB0_4:
	movq	_fsreadfd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	24(%rbx), %esi
	movq	%r15, %rdx
	movq	%r14, %rcx
	callq	_blread
	movl	%eax, 28(%rbx)
	cmpq	$0, (%r12)
	je	LBB0_6
## %bb.5:
	movq	_CLOCK_REALTIME_PRECISE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-48(%rbp), %r12
	movq	%r12, %rsi
	callq	_clock_gettime
	leaq	-40(%rbp), %rsi
	movq	%r12, %rdi
	movq	%r12, %rdx
	callq	_timespecsub
	movq	_readtime@GOTPCREL(%rip), %rax
	movq	8(%rbx), %rdi
	shlq	$2, %rdi
	addq	(%rax), %rdi
	movq	%r12, %rsi
	movq	%rdi, %rdx
	callq	_timespecadd
LBB0_6:
	movq	%r15, (%rbx)
	movq	%r14, 16(%rbx)
LBB0_7:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sblock,4,2                     ## @sblock
	.comm	_totalreads,4,2                 ## @totalreads
	.comm	_fswritefd,4,2                  ## @fswritefd
	.comm	_debug,8,3                      ## @debug
	.comm	_readcnt,8,3                    ## @readcnt
	.comm	_CLOCK_REALTIME_PRECISE,4,2     ## @CLOCK_REALTIME_PRECISE
	.comm	_fsreadfd,4,2                   ## @fsreadfd
	.comm	_readtime,8,3                   ## @readtime
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getblk                         ; -- Begin function getblk
	.p2align	2
_getblk:                                ; @getblk
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x2
	mov	x20, x0
Lloh0:
	adrp	x0, _sblock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _sblock@GOTPAGEOFF]
	bl	_fsbtodb
	ldr	x8, [x20]
	cmp	x8, x0
	b.ne	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _totalreads@GOTPAGE
Lloh3:
	ldr	x8, [x8, _totalreads@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	b	LBB0_7
LBB0_2:
	mov	x21, x0
Lloh4:
	adrp	x8, _fswritefd@GOTPAGE
Lloh5:
	ldr	x8, [x8, _fswritefd@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_flush
Lloh7:
	adrp	x23, _debug@GOTPAGE
Lloh8:
	ldr	x23, [x23, _debug@GOTPAGEOFF]
	ldr	x8, [x23]
Lloh9:
	adrp	x22, _CLOCK_REALTIME_PRECISE@GOTPAGE
Lloh10:
	ldr	x22, [x22, _CLOCK_REALTIME_PRECISE@GOTPAGEOFF]
	cbz	x8, LBB0_4
; %bb.3:
Lloh11:
	adrp	x8, _readcnt@GOTPAGE
Lloh12:
	ldr	x8, [x8, _readcnt@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	ldr	x9, [x20, #8]
	lsl	x9, x9, #2
	ldr	w10, [x8, x9]
	add	w10, w10, #1
	str	w10, [x8, x9]
	ldr	w0, [x22]
	add	x1, sp, #8
	bl	_clock_gettime
LBB0_4:
Lloh14:
	adrp	x8, _fsreadfd@GOTPAGE
Lloh15:
	ldr	x8, [x8, _fsreadfd@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	ldr	w1, [x20, #24]
	mov	x2, x21
	mov	x3, x19
	bl	_blread
	str	w0, [x20, #28]
	ldr	x8, [x23]
	cbz	x8, LBB0_6
; %bb.5:
	ldr	w0, [x22]
	mov	x1, sp
	bl	_clock_gettime
	mov	x0, sp
	add	x1, sp, #8
	mov	x2, sp
	bl	_timespecsub
Lloh17:
	adrp	x8, _readtime@GOTPAGE
Lloh18:
	ldr	x8, [x8, _readtime@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	ldr	x9, [x20, #8]
	add	x0, x8, x9, lsl #2
	mov	x1, sp
	mov	x2, x0
	bl	_timespecadd
LBB0_6:
	str	x21, [x20]
	str	x19, [x20, #16]
LBB0_7:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_sblock,4,2                     ; @sblock
	.comm	_totalreads,4,2                 ; @totalreads
	.comm	_fswritefd,4,2                  ; @fswritefd
	.comm	_debug,8,3                      ; @debug
	.comm	_readcnt,8,3                    ; @readcnt
	.comm	_CLOCK_REALTIME_PRECISE,4,2     ; @CLOCK_REALTIME_PRECISE
	.comm	_fsreadfd,4,2                   ; @fsreadfd
	.comm	_readtime,8,3                   ; @readtime
.subsections_via_symbols
