	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sendquota
_sendquota:                             ## @sendquota
	.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	$128, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	leaq	-40(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_bzero
	movq	_xdr_getquota_args@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_svc_getargs
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	(%r15), %rax
	movq	_AUTH_UNIX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.5:
	movq	_USRQUOTA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-40(%rbp), %edx
	movl	-36(%rbp), %esi
	leaq	-152(%rbp), %rcx
	callq	_getfsquota
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	callq	_gettimeofday
	movq	_Q_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	callq	_flsll
	movl	%eax, %ecx
	movl	$1, %esi
	shll	%cl, %esi
	movq	_DEV_BSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	movl	%eax, -104(%rbp)
	movl	-152(%rbp), %eax
	movl	-148(%rbp), %ecx
	cltd
	idivl	%esi
	movl	%eax, -100(%rbp)
	movl	%ecx, %eax
	cltd
	idivl	%esi
	movl	%eax, -96(%rbp)
	movl	-144(%rbp), %eax
	cltd
	idivl	%esi
	movl	%eax, -92(%rbp)
	movl	-112(%rbp), %eax
	movl	%eax, -64(%rbp)
	movq	-120(%rbp), %rax
	movq	%rax, -72(%rbp)
	movdqu	-136(%rbp), %xmm0
	movq	-48(%rbp), %xmm1                ## xmm1 = mem[0],zero
	pshufd	$68, %xmm1, %xmm1               ## xmm1 = xmm1[0,1,0,1]
	psubq	%xmm1, %xmm0
	movdqu	%xmm0, -88(%rbp)
	jmp	LBB0_8
LBB0_1:
	movq	%r14, %rdi
	callq	_svcerr_decode
	jmp	LBB0_11
LBB0_3:
	movq	_Q_EPERM@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_6:
	movq	_Q_NOQUOTA@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
LBB0_8:
	movq	_xdr_getquota_rslt@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-104(%rbp), %rdx
	movq	%r14, %rdi
	callq	_svc_sendreply
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:
	movq	%r14, %rdi
	callq	_svcerr_systemerr
LBB0_10:
	movl	(%r12), %esi
	leaq	-40(%rbp), %rdx
	movq	%r14, %rdi
	callq	_svc_freeargs
	testl	%eax, %eax
	je	LBB0_12
LBB0_11:
	addq	$128, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_syslog
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_xdr_getquota_args,8,3          ## @xdr_getquota_args
	.comm	_AUTH_UNIX,8,3                  ## @AUTH_UNIX
	.comm	_Q_EPERM,4,2                    ## @Q_EPERM
	.comm	_USRQUOTA,4,2                   ## @USRQUOTA
	.comm	_Q_NOQUOTA,4,2                  ## @Q_NOQUOTA
	.comm	_Q_OK,4,2                       ## @Q_OK
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_DEV_BSIZE,4,2                  ## @DEV_BSIZE
	.comm	_xdr_getquota_rslt,8,3          ## @xdr_getquota_rslt
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unable to free arguments"

	.no_dead_strip	_sendquota
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sendquota
_sendquota:                             ; @sendquota
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x20, x0
	sub	x0, x29, #40
	mov	w1, #8
	bl	_bzero
Lloh0:
	adrp	x21, _xdr_getquota_args@GOTPAGE
Lloh1:
	ldr	x21, [x21, _xdr_getquota_args@GOTPAGEOFF]
	ldr	w1, [x21]
	sub	x2, x29, #40
	mov	x0, x19
	bl	_svc_getargs
	cbz	w0, LBB0_4
; %bb.1:
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _AUTH_UNIX@GOTPAGE
Lloh3:
	ldr	x9, [x9, _AUTH_UNIX@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
Lloh5:
	adrp	x8, _USRQUOTA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _USRQUOTA@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldp	w2, w1, [x29, #-40]
	add	x3, sp, #16
	bl	_getfsquota
	cbz	w0, LBB0_6
; %bb.3:
	add	x20, sp, #8
	add	x0, sp, #8
	mov	x1, #0
	bl	_gettimeofday
Lloh8:
	adrp	x8, _Q_OK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _Q_OK@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _TRUE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _TRUE@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #108]
	bl	_flsll
	mov	w8, #1
	lsl	w8, w8, w0
Lloh14:
	adrp	x9, _DEV_BSIZE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _DEV_BSIZE@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	lsl	w9, w9, w0
	ldp	w10, w11, [sp, #16]
	sdiv	w10, w10, w8
	stp	w9, w10, [sp, #64]
	sdiv	w9, w11, w8
	ldr	w10, [sp, #24]
	sdiv	w8, w10, w8
	stp	w9, w8, [sp, #72]
	ldr	w8, [sp, #56]
	str	w8, [sp, #104]
	ldr	d0, [sp, #48]
	str	d0, [sp, #96]
	ldr	q0, [sp, #32]
	ld1r.2d	{ v1 }, [x20]
	sub.2d	v0, v0, v1
	str	q0, [sp, #80]
	b	LBB0_8
LBB0_4:
	mov	x0, x19
	bl	_svcerr_decode
	b	LBB0_11
LBB0_5:
Lloh17:
	adrp	x8, _Q_EPERM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _Q_EPERM@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh19:
	adrp	x8, _Q_NOQUOTA@GOTPAGE
Lloh20:
	ldr	x8, [x8, _Q_NOQUOTA@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	str	w8, [sp, #112]
LBB0_8:
Lloh21:
	adrp	x8, _xdr_getquota_rslt@GOTPAGE
Lloh22:
	ldr	x8, [x8, _xdr_getquota_rslt@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	add	x2, sp, #64
	mov	x0, x19
	bl	_svc_sendreply
	cbnz	w0, LBB0_10
; %bb.9:
	mov	x0, x19
	bl	_svcerr_systemerr
LBB0_10:
	ldr	w1, [x21]
	sub	x2, x29, #40
	mov	x0, x19
	bl	_svc_freeargs
	cbz	w0, LBB0_12
LBB0_11:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_12:
Lloh24:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
Lloh27:
	adrp	x1, l_.str@PAGE
Lloh28:
	add	x1, x1, l_.str@PAGEOFF
	bl	_syslog
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_xdr_getquota_args,8,3          ; @xdr_getquota_args
	.comm	_AUTH_UNIX,8,3                  ; @AUTH_UNIX
	.comm	_Q_EPERM,4,2                    ; @Q_EPERM
	.comm	_USRQUOTA,4,2                   ; @USRQUOTA
	.comm	_Q_NOQUOTA,4,2                  ; @Q_NOQUOTA
	.comm	_Q_OK,4,2                       ; @Q_OK
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_DEV_BSIZE,4,2                  ; @DEV_BSIZE
	.comm	_xdr_getquota_rslt,8,3          ; @xdr_getquota_rslt
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unable to free arguments"

	.no_dead_strip	_sendquota
.subsections_via_symbols
