	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_php_worker_finish              ## -- Begin function php_worker_finish
	.p2align	4, 0x90
_php_worker_finish:                     ## @php_worker_finish
	.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
	movq	%rdi, %rbx
	movl	16(%rdi), %edx
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	callq	_vkprintf
	movq	_lease_state@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_lst_on@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	_lst_finish@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
LBB0_2:
	movq	(%rbx), %rax
	movq	_rpc_lease_target@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	_precise_now@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	subsd	8(%rbx), %xmm0
	movq	_lease_stats_time@GOTPCREL(%rip), %rax
	addsd	(%rax), %xmm0
	movsd	%xmm0, (%rax)
	movq	_lease_stats_cnt@GOTPCREL(%rip), %rax
	incl	(%rax)
LBB0_4:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_php_worker_free                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"free php script [req_id = %016llx]\n"

	.comm	_lease_state,8,3                ## @lease_state
	.comm	_lst_on,8,3                     ## @lst_on
	.comm	_lst_finish,8,3                 ## @lst_finish
	.comm	_rpc_lease_target,8,3           ## @rpc_lease_target
	.comm	_precise_now,8,3                ## @precise_now
	.comm	_lease_stats_time,8,3           ## @lease_stats_time
	.comm	_lease_stats_cnt,4,2            ## @lease_stats_cnt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_php_worker_finish              ; -- Begin function php_worker_finish
	.p2align	2
_php_worker_finish:                     ; @php_worker_finish
	.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
	mov	x19, x0
	ldr	w2, [x0, #16]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	bl	_vkprintf
Lloh2:
	adrp	x8, _lease_state@GOTPAGE
Lloh3:
	ldr	x8, [x8, _lease_state@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _lst_on@GOTPAGE
Lloh6:
	ldr	x9, [x9, _lst_on@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
Lloh8:
	adrp	x10, _lst_finish@GOTPAGE
Lloh9:
	ldr	x10, [x10, _lst_finish@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x19]
Lloh11:
	adrp	x9, _rpc_lease_target@GOTPAGE
Lloh12:
	ldr	x9, [x9, _rpc_lease_target@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
Lloh14:
	adrp	x8, _precise_now@GOTPAGE
Lloh15:
	ldr	x8, [x8, _precise_now@GOTPAGEOFF]
Lloh16:
	ldr	d0, [x8]
	ldr	d1, [x19, #8]
	fsub	d0, d0, d1
Lloh17:
	adrp	x8, _lease_stats_time@GOTPAGE
Lloh18:
	ldr	x8, [x8, _lease_stats_time@GOTPAGEOFF]
	ldr	d1, [x8]
	fadd	d0, d1, d0
	str	d0, [x8]
Lloh19:
	adrp	x8, _lease_stats_cnt@GOTPAGE
Lloh20:
	ldr	x8, [x8, _lease_stats_cnt@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_php_worker_free
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"free php script [req_id = %016llx]\n"

	.comm	_lease_state,8,3                ; @lease_state
	.comm	_lst_on,8,3                     ; @lst_on
	.comm	_lst_finish,8,3                 ; @lst_finish
	.comm	_rpc_lease_target,8,3           ; @rpc_lease_target
	.comm	_precise_now,8,3                ; @precise_now
	.comm	_lease_stats_time,8,3           ; @lease_stats_time
	.comm	_lease_stats_cnt,4,2            ; @lease_stats_cnt
.subsections_via_symbols
