	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_InstrEndLoop                   ## -- Begin function InstrEndLoop
	.p2align	4, 0x90
_InstrEndLoop:                          ## @InstrEndLoop
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpl	$0, (%rdi)
	je	LBB0_4
## %bb.1:
	movq	%rdi, %rbx
	movl	44(%rdi), %edi
	callq	_INSTR_TIME_IS_ZERO
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
LBB0_3:
	movl	40(%rbx), %edi
	callq	_INSTR_TIME_GET_DOUBLE
	movl	24(%rbx), %eax
	movl	32(%rbx), %ecx
	addl	%ecx, 52(%rbx)
	addsd	8(%rbx), %xmm0
	movsd	%xmm0, 8(%rbx)
	addl	%eax, 48(%rbx)
	incl	16(%rbx)
	movl	$0, (%rbx)
	movl	44(%rbx), %edi
	callq	_INSTR_TIME_SET_ZERO
	movl	40(%rbx), %edi
	callq	_INSTR_TIME_SET_ZERO
	xorpd	%xmm0, %xmm0
	movupd	%xmm0, 24(%rbx)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"InstrEndLoop called on running node"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_InstrEndLoop                   ; -- Begin function InstrEndLoop
	.p2align	2
_InstrEndLoop:                          ; @InstrEndLoop
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x0]
	cbz	w8, LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	w0, [x0, #44]
	bl	_INSTR_TIME_IS_ZERO
	cbnz	w0, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
LBB0_3:
	ldr	w0, [x19, #40]
	bl	_INSTR_TIME_GET_DOUBLE
	ldr	w8, [x19, #32]
	ldp	w10, w9, [x19, #48]
	add	w8, w9, w8
	ldr	w9, [x19, #24]
	ldr	w0, [x19, #44]
	add	w9, w10, w9
	ldr	d1, [x19, #8]
	fadd	d0, d0, d1
	str	d0, [x19, #8]
	stp	w9, w8, [x19, #48]
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
	str	wzr, [x19]
	bl	_INSTR_TIME_SET_ZERO
	ldr	w0, [x19, #40]
	bl	_INSTR_TIME_SET_ZERO
	stp	xzr, xzr, [x19, #24]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"InstrEndLoop called on running node"

.subsections_via_symbols
