	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hist_entry__fprintf
_hist_entry__fprintf:                   ## @hist_entry__fprintf
	.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	$536, %rsp                      ## imm = 0x218
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-560(%rbp), %r12
	movq	_symbol_conf@GOTPCREL(%rip), %rax
	xorl	%edx, %edx
	cmpl	$0, 8(%rax)
	movq	%r12, -576(%rbp)
	sete	%dl
	leaq	-513(%rsi), %rax
	cmpq	$-512, %rax                     ## imm = 0xFE00
	movl	$512, %ebx                      ## imm = 0x200
	cmovaeq	%rsi, %rbx
	movq	%rbx, -568(%rbp)
	leaq	-576(%rbp), %rdi
	movq	%r13, %rsi
	callq	_hist_entry__period_snprintf
	cltq
	leaq	(%rax,%rbp), %rsi
	addq	$-560, %rsi                     ## imm = 0xFDD0
	subq	%rax, %rbx
	movq	%r13, %rdi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	callq	_hist_entry__sort_snprintf
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movq	%r12, %rdx
	callq	_fprintf
	movl	%eax, %ebx
	movq	_symbol_conf@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_hist_entry__callchain_fprintf
	addl	%eax, %ebx
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	movl	%ebx, %eax
	addq	$536, %rsp                      ## imm = 0x218
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_symbol_conf,16,3               ## @symbol_conf
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s\n"

	.no_dead_strip	_hist_entry__fprintf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hist_entry__fprintf
_hist_entry__fprintf:                   ; @hist_entry__fprintf
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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 w27, -72
	.cfi_offset w28, -80
	sub	sp, sp, #544
	mov	x19, x3
	mov	x20, x2
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	add	x22, sp, #24
Lloh3:
	adrp	x23, _symbol_conf@GOTPAGE
Lloh4:
	ldr	x23, [x23, _symbol_conf@GOTPAGEOFF]
	ldr	w8, [x23, #8]
	cmp	w8, #0
	cset	w2, eq
	sub	x8, x1, #513
	cmn	x8, #512
	mov	w8, #512
	csel	x24, x8, x1, lo
	stp	x22, x24, [sp, #8]
	add	x0, sp, #8
	mov	x1, x21
	bl	_hist_entry__period_snprintf
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	add	x1, x22, x8
	sub	x2, x24, x8
	mov	x0, x21
	mov	x3, x20
	bl	_hist_entry__sort_snprintf
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #24
	mov	x0, x19
	bl	_fprintf
	mov	x22, x0
	ldr	x8, [x23]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_hist_entry__callchain_fprintf
	add	w22, w22, w0
LBB0_2:
	ldur	x8, [x29, #-72]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x22
	add	sp, sp, #544
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_symbol_conf,16,3               ; @symbol_conf
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s\n"

	.no_dead_strip	_hist_entry__fprintf
.subsections_via_symbols
