	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hist_entry__period_snprintf    ## -- Begin function hist_entry__period_snprintf
	.p2align	4, 0x90
_hist_entry__period_snprintf:           ## @hist_entry__period_snprintf
	.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
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %rbx
	movq	_symbol_conf@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rdx
	cmpq	$0, 8(%rax)
	je	LBB0_3
## %bb.1:
	cmpl	$0, (%rsi)
	je	LBB0_2
LBB0_3:
	movq	_PERF_HPP__MAX_INDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rdx, %rax
	testl	%ecx, %ecx
	jle	LBB0_15
## %bb.4:
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	leaq	L_.str.1(%rip), %rdx
	cmovneq	%rax, %rdx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movl	$1, %r14d
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%rax,%r12), %rcx
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	*%rcx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_advance_hpp
	movq	_PERF_HPP__MAX_INDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r13d, %r14d
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	incq	%r15
	movslq	%ecx, %rax
	addq	$24, %r12
	cmpq	%rax, %r15
	jge	LBB0_14
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	_perf_hpp__format@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, 16(%rax,%r12)
	je	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	xorl	%r13d, %r13d
	testl	%r14d, %r14d
	jne	LBB0_9
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rbx), %rdi
	movl	8(%rbx), %esi
	leaq	L_.str(%rip), %rdx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	callq	_scnprintf
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_advance_hpp
	movl	%r14d, %r13d
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	_perf_hpp__format@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rax,%r12), %rcx
	testq	%rcx, %rcx
	jne	LBB0_12
	jmp	LBB0_11
LBB0_14:
	movq	(%rbx), %rax
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
LBB0_15:
	subl	%edx, %eax
	jmp	LBB0_16
LBB0_2:
	xorl	%eax, %eax
LBB0_16:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_symbol_conf,16,3               ## @symbol_conf
	.comm	_PERF_HPP__MAX_INDEX,4,2        ## @PERF_HPP__MAX_INDEX
	.comm	_perf_hpp__format,8,3           ## @perf_hpp__format
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

L_.str.1:                               ## @.str.1
	.asciz	"  "

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hist_entry__period_snprintf    ; -- Begin function hist_entry__period_snprintf
	.p2align	2
_hist_entry__period_snprintf:           ; @hist_entry__period_snprintf
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _symbol_conf@GOTPAGE
Lloh1:
	ldr	x8, [x8, _symbol_conf@GOTPAGEOFF]
	ldr	x10, [x0]
	ldp	x25, x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w8, [x21]
	cbz	w8, LBB0_15
LBB0_2:
Lloh2:
	adrp	x26, _PERF_HPP__MAX_INDEX@GOTPAGE
Lloh3:
	ldr	x26, [x26, _PERF_HPP__MAX_INDEX@GOTPAGEOFF]
	ldr	w8, [x26]
	mov	x9, x10
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.3:
	str	x10, [sp, #8]                   ; 8-byte Folded Spill
	mov	x27, #0
	mov	x28, #0
Lloh4:
	adrp	x9, l_.str.1@PAGE
Lloh5:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	x25, #0
	csel	x22, x25, x9, ne
	mov	w24, #1
Lloh6:
	adrp	x23, _perf_hpp__format@GOTPAGE
Lloh7:
	ldr	x23, [x23, _perf_hpp__format@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x8, x9, x27
	ldr	x8, [x8, #8]
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x20
	mov	x1, x21
	blr	x8
	mov	x1, x0
	mov	x0, x20
	bl	_advance_hpp
	ldr	w8, [x26]
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x28, x28, #1
	add	x27, x27, #24
	cmp	x28, w8, sxtw
	b.ge	LBB0_13
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x23]
	add	x9, x9, x27
	ldr	w9, [x9, #16]
	cbz	w9, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	cbz	x25, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	cbz	w24, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	w24, #0
	ldr	x9, [x23]
	cbnz	w19, LBB0_12
	b	LBB0_4
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [x20]
	ldr	w1, [x20, #8]
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	mov	x3, x22
	bl	_scnprintf
	mov	x1, x0
	mov	x0, x20
	bl	_advance_hpp
	ldr	x9, [x23]
	cbz	w19, LBB0_4
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x9, x27]
	cbnz	x8, LBB0_5
	b	LBB0_4
LBB0_13:
	ldr	x9, [x20]
	ldr	x10, [sp, #8]                   ; 8-byte Folded Reload
LBB0_14:
	sub	w0, w9, w10
	b	LBB0_16
LBB0_15:
	mov	w0, #0
LBB0_16:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_symbol_conf,16,3               ; @symbol_conf
	.comm	_PERF_HPP__MAX_INDEX,4,2        ; @PERF_HPP__MAX_INDEX
	.comm	_perf_hpp__format,8,3           ; @perf_hpp__format
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

l_.str.1:                               ; @.str.1
	.asciz	"  "

.subsections_via_symbols
