	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function coalesce
_coalesce:                              ## @coalesce
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$2, %edx
	jl	LBB0_13
## %bb.1:
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	(%rsi), %r12
	movl	%edx, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	$1, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rbx
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	movq	%rbx, %r12
	cmpq	-48(%rbp), %r13                 ## 8-byte Folded Reload
	je	LBB0_13
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
                                        ##     Child Loop BB0_10 Depth 2
	movq	(%r15,%r13,8), %rbx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	*%r14
	testl	%eax, %eax
	jne	LBB0_12
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_LS_MAX_EVENTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movdqu	16(%rbx), %xmm0
	movdqu	16(%r12), %xmm1
	paddq	%xmm0, %xmm1
	movdqu	%xmm1, 16(%r12)
	movq	_g_recsize@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_LS_TIME@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rcx
	addq	%rcx, 8(%r12)
	movq	_LS_HIST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rax
	movq	(%r12), %rcx
	leaq	512(%rax), %rdx
	cmpq	%rdx, %rcx
	jae	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	512(%rcx), %rdx
	cmpq	%rdx, %rax
	jae	LBB0_7
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rax,%rdx,8), %rsi
	addq	%rsi, (%rcx,%rdx,8)
	movq	8(%rax,%rdx,8), %rsi
	addq	%rsi, 8(%rcx,%rdx,8)
	movq	16(%rax,%rdx,8), %rsi
	addq	%rsi, 16(%rcx,%rdx,8)
	movq	24(%rax,%rdx,8), %rsi
	addq	%rsi, 24(%rcx,%rdx,8)
	addq	$4, %rdx
	cmpq	$64, %rdx
	jne	LBB0_10
	jmp	LBB0_11
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	(%rax,%rdx,8), %xmm0
	movdqu	(%rcx,%rdx,8), %xmm1
	paddq	%xmm0, %xmm1
	movdqu	16(%rcx,%rdx,8), %xmm0
	movdqu	32(%rcx,%rdx,8), %xmm2
	movdqu	48(%rcx,%rdx,8), %xmm3
	movdqu	%xmm1, (%rcx,%rdx,8)
	movdqu	16(%rax,%rdx,8), %xmm1
	paddq	%xmm0, %xmm1
	movdqu	%xmm1, 16(%rcx,%rdx,8)
	movdqu	32(%rax,%rdx,8), %xmm0
	paddq	%xmm2, %xmm0
	movdqu	%xmm0, 32(%rcx,%rdx,8)
	movdqu	48(%rax,%rdx,8), %xmm0
	paddq	%xmm3, %xmm0
	movdqu	%xmm0, 48(%rcx,%rdx,8)
	addq	$8, %rdx
	cmpq	$64, %rdx
	jne	LBB0_8
	jmp	LBB0_11
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LS_MAX_EVENTS,4,2              ## @LS_MAX_EVENTS
	.comm	_g_recsize,8,3                  ## @g_recsize
	.comm	_LS_TIME,8,3                    ## @LS_TIME
	.comm	_LS_HIST,8,3                    ## @LS_HIST
	.no_dead_strip	_coalesce
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function coalesce
_coalesce:                              ; @coalesce
	.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
	cmp	w2, #2
	b.lt	LBB0_12
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	ldr	x21, [x1]
	mov	w23, w2
	mov	w24, #1
Lloh0:
	adrp	x25, _LS_MAX_EVENTS@GOTPAGE
Lloh1:
	ldr	x25, [x25, _LS_MAX_EVENTS@GOTPAGEOFF]
Lloh2:
	adrp	x26, _g_recsize@GOTPAGE
Lloh3:
	ldr	x26, [x26, _g_recsize@GOTPAGEOFF]
Lloh4:
	adrp	x27, _LS_TIME@GOTPAGE
Lloh5:
	ldr	x27, [x27, _LS_TIME@GOTPAGEOFF]
Lloh6:
	adrp	x28, _LS_HIST@GOTPAGE
Lloh7:
	ldr	x28, [x28, _LS_HIST@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x22, x21
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x24, x24, #1
	mov	x21, x22
	cmp	x24, x23
	b.eq	LBB0_12
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
                                        ;     Child Loop BB0_9 Depth 2
	ldr	x22, [x19, x24, lsl #3]
	mov	x0, x22
	mov	x1, x21
	blr	x20
	cbnz	w0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x25]
	str	w8, [x22, #32]
	ldr	q0, [x22, #16]
	ldr	q1, [x21, #16]
	add.2d	v0, v1, v0
	str	q0, [x21, #16]
	ldr	x8, [x26]
	ldr	x9, [x27]
	cmp	x8, x9
	b.lt	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x22, #8]
	ldr	x10, [x21, #8]
	add	x9, x10, x9
	str	x9, [x21, #8]
	ldr	x9, [x28]
	cmp	x8, x9
	b.lt	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x22]
	ldr	x9, [x21]
	add	x10, x9, #512
	add	x11, x8, #512
	cmp	x9, x11
	ccmp	x8, x10, #2, lo
	b.lo	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x10, #0
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	q0, [x8, x10]
	ldr	q1, [x9, x10]
	add.2d	v0, v1, v0
	str	q0, [x9, x10]
	add	x10, x10, #16
	cmp	x10, #512
	b.ne	LBB0_9
	b	LBB0_2
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x10, #0
LBB0_11:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x11, [x8, x10]
	ldr	x12, [x9, x10]
	add	x11, x12, x11
	str	x11, [x9, x10]
	add	x10, x10, #8
	cmp	x10, #512
	b.ne	LBB0_11
	b	LBB0_2
LBB0_12:
	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	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_LS_MAX_EVENTS,4,2              ; @LS_MAX_EVENTS
	.comm	_g_recsize,8,3                  ; @g_recsize
	.comm	_LS_TIME,8,3                    ; @LS_TIME
	.comm	_LS_HIST,8,3                    ; @LS_HIST
	.no_dead_strip	_coalesce
.subsections_via_symbols
