	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function njs_ext_console_time_end
_njs_ext_console_time_end:              ## @njs_ext_console_time_end
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	xorl	%eax, %eax
	callq	_njs_time
	movl	%eax, %r14d
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	$1, %edx
	callq	_njs_arg
	movl	%eax, %edi
	callq	_njs_value_is_undefined
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	movl	%r12d, %esi
	xorl	%edx, %edx
	callq	_njs_arg
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_njs_vm_external
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_njs_slow_path
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_NJS_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_njs_vm_error
	movq	_NJS_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_4:
	movq	(%rbx), %rax
	movq	_UINT64_MAX@GOTPCREL(%rip), %r12
	xorl	%edi, %edi
	cmpq	(%r12), %rax
	setne	%dil
	callq	_njs_fast_path
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	subl	(%rbx), %r14d
	movslq	%r14d, %rdx
	imulq	$1125899907, %rdx, %rsi         ## imm = 0x431BDE83
	movq	%rsi, %rax
	shrq	$63, %rax
	sarq	$50, %rsi
	addl	%eax, %esi
	imull	$1000000, %esi, %eax            ## imm = 0xF4240
	subl	%eax, %edx
	leaq	L_.str.1(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_njs_printf
	movq	(%r12), %rax
	movq	%rax, (%rbx)
	jmp	LBB0_7
LBB0_6:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_njs_printf
LBB0_7:
	movq	_njs_value_undefined@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	_NJS_OK@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"labels not implemented"

	.comm	_NJS_ERROR,4,2                  ## @NJS_ERROR
	.comm	_UINT64_MAX,8,3                 ## @UINT64_MAX
L_.str.1:                               ## @.str.1
	.asciz	"default: %uL.%06uLms\n"

L_.str.2:                               ## @.str.2
	.asciz	"Timer \"default\" doesn\342\200\231t exist.\n"

	.comm	_njs_value_undefined,4,2        ## @njs_value_undefined
	.comm	_NJS_OK,4,2                     ## @NJS_OK
	.no_dead_strip	_njs_ext_console_time_end
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function njs_ext_console_time_end
_njs_ext_console_time_end:              ; @njs_ext_console_time_end
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	bl	_njs_time
	mov	x20, x0
	mov	x0, x22
	mov	x1, x21
	mov	w2, #1
	bl	_njs_arg
	bl	_njs_value_is_undefined
	cbz	w0, LBB0_4
; %bb.1:
	mov	x0, x22
	mov	x1, x21
	mov	w2, #0
	bl	_njs_arg
	mov	x1, x0
	mov	x0, x19
	bl	_njs_vm_external
	mov	x21, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_njs_slow_path
	cbnz	x0, LBB0_5
; %bb.2:
	ldr	x8, [x21]
Lloh0:
	adrp	x22, _UINT64_MAX@GOTPAGE
Lloh1:
	ldr	x22, [x22, _UINT64_MAX@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
	cset	w0, ne
	bl	_njs_fast_path
	cbz	x0, LBB0_6
; %bb.3:
	ldr	w8, [x21]
	sub	w8, w20, w8
	mov	w9, #56963
	movk	w9, #17179, lsl #16
	smull	x9, w8, w9
	lsr	x10, x9, #63
	asr	x9, x9, #50
	add	w9, w9, w10
	mov	w10, #16960
	movk	w10, #15, lsl #16
	msub	w8, w9, w10, w8
	stp	x9, x8, [sp]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_njs_printf
	ldr	x8, [x22]
	str	x8, [x21]
	b	LBB0_7
LBB0_4:
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_njs_vm_error
LBB0_5:
Lloh6:
	adrp	x8, _NJS_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NJS_ERROR@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
Lloh8:
	adrp	x0, l_.str.2@PAGE
Lloh9:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_njs_printf
LBB0_7:
Lloh10:
	adrp	x8, _njs_value_undefined@GOTPAGE
Lloh11:
	ldr	x8, [x8, _njs_value_undefined@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x19]
Lloh13:
	adrp	x8, _NJS_OK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _NJS_OK@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"labels not implemented"

	.comm	_NJS_ERROR,4,2                  ; @NJS_ERROR
	.comm	_UINT64_MAX,8,3                 ; @UINT64_MAX
l_.str.1:                               ; @.str.1
	.asciz	"default: %uL.%06uLms\n"

l_.str.2:                               ; @.str.2
	.asciz	"Timer \"default\" doesn\342\200\231t exist.\n"

	.comm	_njs_value_undefined,4,2        ; @njs_value_undefined
	.comm	_NJS_OK,4,2                     ; @NJS_OK
	.no_dead_strip	_njs_ext_console_time_end
.subsections_via_symbols
