	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function histogram
LCPI0_0:
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_histogram:                             ## @histogram
	.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	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	fldt	16(%rbp)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movsd	%xmm0, -56(%rbp)
	fld	%st(0)
	fstpt	-68(%rbp)                       ## 10-byte Folded Spill
	fmull	-56(%rbp)
	movl	%edi, %r15d
	fisttpl	-48(%rbp)
	xorps	%xmm0, %xmm0
	cvtsi2sdl	-48(%rbp), %xmm0
	addsd	LCPI0_0(%rip), %xmm0
	cvttsd2si	%xmm0, %ebx
	movl	%ebx, %edi
	movl	%r15d, %esi
	callq	_MIN
	movl	%eax, %r14d
	cmpl	%r15d, %ebx
	jle	LBB0_1
## %bb.6:
	fldt	-68(%rbp)                       ## 10-byte Folded Reload
	fstpt	(%rsp)
	leaq	L_.str(%rip), %rdx
	leaq	-42(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_snprintf
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rax, %rbx
	cmpl	%ebx, %r14d
	je	LBB0_9
## %bb.7:
	subl	%r14d, %ebx
	movq	_wnd@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	movl	$88, %esi
	callq	_waddch
	incl	%ebx
	jne	LBB0_8
LBB0_9:
	movq	_wnd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-42(%rbp), %rsi
	callq	_waddstr
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_5
## %bb.10:
	addq	$72, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	testl	%r14d, %r14d
	je	LBB0_4
## %bb.2:
	movq	_wnd@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	movl	$88, %esi
	callq	_waddch
	decl	%r14d
	jne	LBB0_3
LBB0_4:
	movq	_wnd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_5
## %bb.11:
	addq	$72, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wclrtoeol                      ## TAILCALL
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%5.2Lf"

	.comm	_wnd,4,2                        ## @wnd
	.no_dead_strip	_histogram
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function histogram
_histogram:                             ; @histogram
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	d9, d8, [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 b8, -56
	.cfi_offset b9, -64
	mov	x20, x0
	fmov	d8, d0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	fmul	d0, d0, d1
	fcvtzs	w8, d0
	scvtf	d0, w8
	fmov	d1, #0.50000000
	fadd	d0, d0, d1
	fcvtzs	w21, d0
	mov	x0, x21
	mov	x1, x20
	bl	_MIN
	mov	x19, x0
	cmp	w21, w20
	b.le	LBB0_6
; %bb.1:
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #14
	mov	w1, #10
	fmov	d0, d8
	bl	_snprintf
	add	x0, sp, #14
	bl	_strlen
	cmp	w19, w0
	b.eq	LBB0_4
; %bb.2:
	sub	w19, w0, w19
Lloh5:
	adrp	x20, _wnd@GOTPAGE
Lloh6:
	ldr	x20, [x20, _wnd@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	mov	w1, #88
	bl	_waddch
	adds	w19, w19, #1
	b.lo	LBB0_3
LBB0_4:
Lloh7:
	adrp	x8, _wnd@GOTPAGE
Lloh8:
	ldr	x8, [x8, _wnd@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	add	x1, sp, #14
	bl	_waddstr
	ldr	x8, [sp, #24]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.5:
	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	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_6:
	cbz	w19, LBB0_9
; %bb.7:
Lloh13:
	adrp	x20, _wnd@GOTPAGE
Lloh14:
	ldr	x20, [x20, _wnd@GOTPAGEOFF]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	sub	w19, w19, #1
	ldr	w0, [x20]
	mov	w1, #88
	bl	_waddch
	cbnz	w19, LBB0_8
LBB0_9:
Lloh15:
	adrp	x8, _wnd@GOTPAGE
Lloh16:
	ldr	x8, [x8, _wnd@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldr	x8, [sp, #24]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	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	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_wclrtoeol
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%5.2Lf"

	.comm	_wnd,4,2                        ; @wnd
	.no_dead_strip	_histogram
.subsections_via_symbols
