	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Z_LogZoneHeap                  ## -- Begin function Z_LogZoneHeap
	.p2align	4, 0x90
_Z_LogZoneHeap:                         ## @Z_LogZoneHeap
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	movl	$4104, %eax                     ## imm = 0x1008
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_logfile@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	je	LBB0_8
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %r15
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_FS_Initialized
	testl	%eax, %eax
	je	LBB0_8
## %bb.2:
	leaq	L_.str(%rip), %rdx
	leaq	-4144(%rbp), %r12
	movq	%r12, %rdi
	movl	$4096, %esi                     ## imm = 0x1000
	movq	%r14, %rcx
	xorl	%eax, %eax
	callq	_Com_sprintf
	movq	%r12, %rdi
	callq	_strlen
	movl	(%r13), %edx
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_FS_Write
	movq	32(%r15), %rax
	movq	32(%rax), %rcx
	movl	$0, %r9d
	cmpq	%r15, %rcx
	je	LBB0_7
## %bb.3:
	xorl	%r9d, %r9d
	xorl	%ebx, %ebx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	32(%rdx), %rcx
	movq	%rdx, %rax
	cmpq	%r15, %rcx
	je	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, %rdx
	cmpq	$0, 24(%rax)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	addl	(%rax), %ebx
	incl	%r9d
	jmp	LBB0_6
LBB0_7:
	leal	(,%r9,8), %eax
	leal	(%rax,%rax,4), %r12d
	leaq	L_.str.1(%rip), %rdx
	leaq	-4144(%rbp), %r15
	movq	%r15, %rdi
	movl	$4096, %esi                     ## imm = 0x1000
	movl	%ebx, %ecx
	movq	%r14, %r8
                                        ## kill: def $r9d killed $r9d killed $r9
	xorl	%eax, %eax
	callq	_Com_sprintf
	movq	%r15, %rdi
	callq	_strlen
	movl	(%r13), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_FS_Write
	subl	%r12d, %ebx
	leaq	L_.str.2(%rip), %rdx
	movq	%r15, %rdi
	movl	$4096, %esi                     ## imm = 0x1000
	movl	%ebx, %ecx
	movq	%r14, %r8
	xorl	%eax, %eax
	callq	_Com_sprintf
	movq	%r15, %rdi
	callq	_strlen
	movl	(%r13), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_FS_Write
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	addq	$4104, %rsp                     ## imm = 0x1008
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_logfile,4,2                    ## @logfile
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\r\n================\r\n%s log\r\n================\r\n"

L_.str.1:                               ## @.str.1
	.asciz	"%d %s memory in %d blocks\r\n"

L_.str.2:                               ## @.str.2
	.asciz	"%d %s memory overhead\r\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Z_LogZoneHeap                  ; -- Begin function Z_LogZoneHeap
	.p2align	2
_Z_LogZoneHeap:                         ; @Z_LogZoneHeap
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	w9, #4128
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #1, lsl #12             ; =4096
	sub	sp, sp, #32
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh5:
	adrp	x21, _logfile@GOTPAGE
Lloh6:
	ldr	x21, [x21, _logfile@GOTPAGEOFF]
	ldr	w8, [x21]
	cbz	w8, LBB0_9
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	bl	_FS_Initialized
	cbz	w0, LBB0_9
; %bb.2:
	str	x19, [sp]
Lloh7:
	adrp	x2, l_.str@PAGE
Lloh8:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #24
	mov	w1, #4096
	bl	_Com_sprintf
	add	x0, sp, #24
	bl	_strlen
	mov	x1, x0
	ldr	w2, [x21]
	add	x0, sp, #24
	bl	_FS_Write
	ldr	x8, [x20, #32]
	ldr	x9, [x8, #32]
	cmp	x9, x20
	b.eq	LBB0_7
; %bb.3:
	mov	w22, #0
	mov	w23, #0
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x10, #32]
	mov	x8, x10
	cmp	x9, x20
	b.eq	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x10, x9
	ldr	x9, [x8, #24]
	cbz	x9, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x8]
	add	w23, w23, w8
	add	w22, w22, #1
	b	LBB0_4
LBB0_7:
	mov	w23, #0
	mov	w22, #0
LBB0_8:
	mov	w20, #-40
	stp	x19, x22, [sp, #8]
	str	x23, [sp]
Lloh9:
	adrp	x2, l_.str.1@PAGE
Lloh10:
	add	x2, x2, l_.str.1@PAGEOFF
	add	x0, sp, #24
	mov	w1, #4096
	bl	_Com_sprintf
	add	x0, sp, #24
	bl	_strlen
	mov	x1, x0
	ldr	w2, [x21]
	add	x0, sp, #24
	bl	_FS_Write
	madd	w8, w22, w20, w23
	stp	x8, x19, [sp]
Lloh11:
	adrp	x2, l_.str.2@PAGE
Lloh12:
	add	x2, x2, l_.str.2@PAGEOFF
	add	x0, sp, #24
	mov	w1, #4096
	bl	_Com_sprintf
	add	x0, sp, #24
	bl	_strlen
	mov	x1, x0
	ldr	w2, [x21]
	add	x0, sp, #24
	bl	_FS_Write
LBB0_9:
	ldur	x8, [x29, #-56]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	add	sp, sp, #1, lsl #12             ; =4096
	add	sp, sp, #32
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_logfile,4,2                    ; @logfile
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\r\n================\r\n%s log\r\n================\r\n"

l_.str.1:                               ; @.str.1
	.asciz	"%d %s memory in %d blocks\r\n"

l_.str.2:                               ; @.str.2
	.asciz	"%d %s memory overhead\r\n"

.subsections_via_symbols
