	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tomoyo_read_memory_counter     ## -- Begin function tomoyo_read_memory_counter
	.p2align	4, 0x90
_tomoyo_read_memory_counter:            ## @tomoyo_read_memory_counter
	.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	$80, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	cmpl	$0, (%rdi)
	jne	LBB0_8
## %bb.1:
	movq	%rdi, %rbx
	movq	_tomoyo_allocated_memory_for_savename@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_tomoyo_allocated_memory_for_elements@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_tomoyo_dynamic_memory_size@GOTPCREL(%rip), %rdi
	callq	_atomic_read
	movl	%eax, %r12d
	leaq	-112(%rbp), %rdi
	xorl	%esi, %esi
	movl	$64, %edx
	callq	_memset
	movq	_tomoyo_quota_for_savename@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdx
	leaq	-112(%rbp), %rdi
	movl	$63, %esi
	callq	_snprintf
	jmp	LBB0_4
LBB0_3:
	movb	$0, -112(%rbp)
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
	leaq	-112(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_tomoyo_io_printf
	movq	_tomoyo_quota_for_elements@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	je	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rdx
	leaq	-112(%rbp), %rdi
	movl	$63, %esi
	callq	_snprintf
	jmp	LBB0_7
LBB0_6:
	movb	$0, -112(%rbp)
LBB0_7:
	leaq	L_.str.2(%rip), %rsi
	leaq	-112(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_tomoyo_io_printf
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_tomoyo_io_printf
	addl	%r15d, %r14d
	addl	%r12d, %r14d
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_tomoyo_io_printf
	movl	$1, (%rbx)
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	xorl	%eax, %eax
	addq	$80, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_tomoyo_allocated_memory_for_savename,4,2 ## @tomoyo_allocated_memory_for_savename
	.comm	_tomoyo_allocated_memory_for_elements,4,2 ## @tomoyo_allocated_memory_for_elements
	.comm	_tomoyo_dynamic_memory_size,4,2 ## @tomoyo_dynamic_memory_size
	.comm	_tomoyo_quota_for_savename,4,2  ## @tomoyo_quota_for_savename
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"   (Quota: %10u)"

L_.str.1:                               ## @.str.1
	.asciz	"Shared:  %10u%s\n"

	.comm	_tomoyo_quota_for_elements,4,2  ## @tomoyo_quota_for_elements
L_.str.2:                               ## @.str.2
	.asciz	"Private: %10u%s\n"

L_.str.3:                               ## @.str.3
	.asciz	"Dynamic: %10u\n"

L_.str.4:                               ## @.str.4
	.asciz	"Total:   %10u\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tomoyo_read_memory_counter     ; -- Begin function tomoyo_read_memory_counter
	.p2align	2
_tomoyo_read_memory_counter:            ; @tomoyo_read_memory_counter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	ldr	w8, [x0]
	cbnz	w8, LBB0_8
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x8, _tomoyo_allocated_memory_for_savename@GOTPAGE
Lloh4:
	ldr	x8, [x8, _tomoyo_allocated_memory_for_savename@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
Lloh6:
	adrp	x8, _tomoyo_allocated_memory_for_elements@GOTPAGE
Lloh7:
	ldr	x8, [x8, _tomoyo_allocated_memory_for_elements@GOTPAGEOFF]
Lloh8:
	ldr	w21, [x8]
Lloh9:
	adrp	x0, _tomoyo_dynamic_memory_size@GOTPAGE
Lloh10:
	ldr	x0, [x0, _tomoyo_dynamic_memory_size@GOTPAGEOFF]
	bl	_atomic_read
	mov	x22, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #64
	bl	_memset
Lloh11:
	adrp	x8, _tomoyo_quota_for_savename@GOTPAGE
Lloh12:
	ldr	x8, [x8, _tomoyo_quota_for_savename@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	cbz	w3, LBB0_3
; %bb.2:
Lloh14:
	adrp	x2, l_.str@PAGE
Lloh15:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	w1, #63
	bl	_snprintf
	b	LBB0_4
LBB0_3:
	strb	wzr, [sp, #8]
LBB0_4:
	add	x8, sp, #8
	str	x8, [sp]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_tomoyo_io_printf
Lloh18:
	adrp	x8, _tomoyo_quota_for_elements@GOTPAGE
Lloh19:
	ldr	x8, [x8, _tomoyo_quota_for_elements@GOTPAGEOFF]
Lloh20:
	ldr	w3, [x8]
	cbz	w3, LBB0_6
; %bb.5:
Lloh21:
	adrp	x2, l_.str@PAGE
Lloh22:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	w1, #63
	bl	_snprintf
	b	LBB0_7
LBB0_6:
	strb	wzr, [sp, #8]
LBB0_7:
	add	x8, sp, #8
	str	x8, [sp]
Lloh23:
	adrp	x1, l_.str.2@PAGE
Lloh24:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_tomoyo_io_printf
Lloh25:
	adrp	x1, l_.str.3@PAGE
Lloh26:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	bl	_tomoyo_io_printf
	add	w8, w21, w20
	add	w2, w8, w22
Lloh27:
	adrp	x1, l_.str.4@PAGE
Lloh28:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_tomoyo_io_printf
	mov	w8, #1
	str	w8, [x19]
LBB0_8:
	ldur	x8, [x29, #-40]
Lloh29:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh30:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	mov	w0, #0
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_tomoyo_allocated_memory_for_savename,4,2 ; @tomoyo_allocated_memory_for_savename
	.comm	_tomoyo_allocated_memory_for_elements,4,2 ; @tomoyo_allocated_memory_for_elements
	.comm	_tomoyo_dynamic_memory_size,4,2 ; @tomoyo_dynamic_memory_size
	.comm	_tomoyo_quota_for_savename,4,2  ; @tomoyo_quota_for_savename
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"   (Quota: %10u)"

l_.str.1:                               ; @.str.1
	.asciz	"Shared:  %10u%s\n"

	.comm	_tomoyo_quota_for_elements,4,2  ; @tomoyo_quota_for_elements
l_.str.2:                               ; @.str.2
	.asciz	"Private: %10u%s\n"

l_.str.3:                               ; @.str.3
	.asciz	"Dynamic: %10u\n"

l_.str.4:                               ; @.str.4
	.asciz	"Total:   %10u\n"

.subsections_via_symbols
