	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function quota_read64
_quota_read64:                          ## @quota_read64
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rsi, %r14
	movq	%rdi, %rbx
	shll	$5, %edx
	leal	4(%rdx), %esi
	movl	(%rdi), %edi
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_lseek
	movl	$-1, %r15d
	cmpl	$-1, %eax
	je	LBB0_5
## %bb.1:
	movl	(%rbx), %edi
	leaq	-56(%rbp), %rsi
	movl	$32, %edx
	callq	_read
	cmpl	$32, %eax
	je	LBB0_4
## %bb.2:
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$64, %edx
	callq	_memset
	jmp	LBB0_5
LBB0_4:
	movl	-28(%rbp), %edi
	callq	_be64toh
	movq	%rax, 56(%r14)
	movl	-32(%rbp), %edi
	callq	_be64toh
	movq	%rax, 48(%r14)
	movl	-36(%rbp), %edi
	callq	_be64toh
	movq	%rax, 40(%r14)
	movl	-40(%rbp), %edi
	callq	_be64toh
	movq	%rax, 32(%r14)
	movl	-44(%rbp), %edi
	callq	_be64toh
	movq	%rax, 24(%r14)
	movl	-48(%rbp), %edi
	callq	_be64toh
	movq	%rax, 16(%r14)
	movl	-52(%rbp), %edi
	callq	_be64toh
	movq	%rax, 8(%r14)
	movl	-56(%rbp), %edi
	callq	_be64toh
	movq	%rax, (%r14)
	xorl	%r15d, %r15d
LBB0_5:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.no_dead_strip	_quota_read64
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function quota_read64
_quota_read64:                          ; @quota_read64
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	mov	w1, #4
	bfi	w1, w2, #5, #27
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_lseek
	cmn	w0, #1
	b.eq	LBB0_6
; %bb.1:
	ldr	w0, [x20]
	mov	x1, sp
	mov	w2, #32
	bl	_read
	cmp	w0, #32
	b.eq	LBB0_4
; %bb.2:
	cbnz	w0, LBB0_5
; %bb.3:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #64
	bl	_memset
	mov	w0, #0
	b	LBB0_6
LBB0_4:
	ldr	w0, [sp, #28]
	bl	_be64toh
	str	x0, [x19, #56]
	ldr	w0, [sp, #24]
	bl	_be64toh
	str	x0, [x19, #48]
	ldr	w0, [sp, #20]
	bl	_be64toh
	str	x0, [x19, #40]
	ldr	w0, [sp, #16]
	bl	_be64toh
	str	x0, [x19, #32]
	ldr	w0, [sp, #12]
	bl	_be64toh
	str	x0, [x19, #24]
	ldr	w0, [sp, #8]
	bl	_be64toh
	str	x0, [x19, #16]
	ldr	w0, [sp, #4]
	bl	_be64toh
	str	x0, [x19, #8]
	ldr	w0, [sp]
	bl	_be64toh
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19]
	b	LBB0_6
LBB0_5:
	mov	w0, #-1
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.no_dead_strip	_quota_read64
.subsections_via_symbols
