	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmcstat_initialize_logging     ## -- Begin function pmcstat_initialize_logging
	.p2align	4, 0x90
_pmcstat_initialize_logging:            ## @pmcstat_initialize_logging
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edx
	callq	_setenv
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EX_OSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_err
LBB0_2:
	xorl	%eax, %eax
	callq	_pmcstat_string_initialize
	movq	_PMCSTAT_NHASH@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_5
## %bb.3:
	xorl	%ebx, %ebx
	movq	_pmcstat_image_hash@GOTPCREL(%rip), %r13
	movq	_pmcstat_process_hash@GOTPCREL(%rip), %r14
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rdi
	addq	%rbx, %rdi
	callq	_LIST_INIT
	movq	(%r14), %rdi
	addq	%rbx, %rdi
	callq	_LIST_INIT
	incq	%r12
	movslq	(%r15), %rax
	addq	$4, %rbx
	cmpq	%rax, %r12
	jl	LBB0_4
LBB0_5:
	movq	_PMCSTAT_ALLOCATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$-1, %edi
	callq	_pmcstat_process_lookup
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movq	_EX_OSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_err
LBB0_7:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%r15, (%rax)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	$0, (%rax)
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movq	8(%rbx), %rax
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	(%r14,%rax,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.8:
	xorl	%eax, %eax
	callq	*%rcx
LBB0_9:
	movq	16(%rbx), %rax
	movq	(%r14,%rax,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.11:
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rcx                           ## TAILCALL
LBB0_10:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LD_TRACE_LOADED_OBJECTS_FMT1"

L_.str.1:                               ## @.str.1
	.asciz	"%o \"%p\" %x\n"

	.comm	_EX_OSERR,4,2                   ## @EX_OSERR
L_.str.2:                               ## @.str.2
	.asciz	"ERROR: Cannot setenv"

	.comm	_PMCSTAT_NHASH,4,2              ## @PMCSTAT_NHASH
	.comm	_pmcstat_image_hash,8,3         ## @pmcstat_image_hash
	.comm	_pmcstat_process_hash,8,3       ## @pmcstat_process_hash
	.comm	_PMCSTAT_ALLOCATE,4,2           ## @PMCSTAT_ALLOCATE
L_.str.3:                               ## @.str.3
	.asciz	"ERROR: Cannot initialize logging"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmcstat_initialize_logging     ; -- Begin function pmcstat_initialize_logging
	.p2align	2
_pmcstat_initialize_logging:            ; @pmcstat_initialize_logging
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x4
	mov	x22, x3
	mov	x19, x2
	mov	x20, x1
	mov	x23, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #1
	bl	_setenv
Lloh4:
	adrp	x8, _EX_OSERR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EX_OSERR@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_err
LBB0_2:
	bl	_pmcstat_string_initialize
Lloh8:
	adrp	x24, _PMCSTAT_NHASH@GOTPAGE
Lloh9:
	ldr	x24, [x24, _PMCSTAT_NHASH@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x26, #0
	mov	x27, #0
Lloh10:
	adrp	x28, _pmcstat_image_hash@GOTPAGE
Lloh11:
	ldr	x28, [x28, _pmcstat_image_hash@GOTPAGEOFF]
Lloh12:
	adrp	x25, _pmcstat_process_hash@GOTPAGE
Lloh13:
	ldr	x25, [x25, _pmcstat_process_hash@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x28]
	add	x0, x8, x26
	bl	_LIST_INIT
	ldr	x8, [x25]
	add	x0, x8, x26
	bl	_LIST_INIT
	add	x27, x27, #1
	ldrsw	x8, [x24]
	add	x26, x26, #4
	cmp	x27, x8
	b.lt	LBB0_4
LBB0_5:
Lloh14:
	adrp	x8, _PMCSTAT_ALLOCATE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PMCSTAT_ALLOCATE@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	w0, #-1
	bl	_pmcstat_process_lookup
	mov	x24, x0
	cbnz	x0, LBB0_7
; %bb.6:
Lloh17:
	adrp	x8, _EX_OSERR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EX_OSERR@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x1, l_.str.3@PAGE
Lloh21:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_err
LBB0_7:
	str	x24, [x23]
	str	wzr, [x22]
	ldr	w8, [x20]
	str	w8, [x21]
	ldr	x8, [x20, #8]
	ldr	x8, [x19, x8, lsl #3]
	cbz	x8, LBB0_9
; %bb.8:
	blr	x8
LBB0_9:
	ldr	x8, [x20, #16]
	ldr	x0, [x19, x8, lsl #3]
	cbz	x0, LBB0_11
; %bb.10:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	br	x0
LBB0_11:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LD_TRACE_LOADED_OBJECTS_FMT1"

l_.str.1:                               ; @.str.1
	.asciz	"%o \"%p\" %x\n"

	.comm	_EX_OSERR,4,2                   ; @EX_OSERR
l_.str.2:                               ; @.str.2
	.asciz	"ERROR: Cannot setenv"

	.comm	_PMCSTAT_NHASH,4,2              ; @PMCSTAT_NHASH
	.comm	_pmcstat_image_hash,8,3         ; @pmcstat_image_hash
	.comm	_pmcstat_process_hash,8,3       ; @pmcstat_process_hash
	.comm	_PMCSTAT_ALLOCATE,4,2           ; @PMCSTAT_ALLOCATE
l_.str.3:                               ; @.str.3
	.asciz	"ERROR: Cannot initialize logging"

.subsections_via_symbols
