	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function php_worker_init_script
LCPI0_0:
	.quad	0xbf847ae147ae147b              ## double -0.01
LCPI0_1:
	.quad	0x3fc999999999999a              ## double 0.20000000000000001
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_php_worker_init_script
	.p2align	4, 0x90
_php_worker_init_script:                ## @php_worker_init_script
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	cmpq	$0, 32(%rdi)
	movq	_phpq_finish@GOTPCREL(%rip), %rax
	jne	LBB0_5
## %bb.1:
	movsd	(%rbx), %xmm1                   ## xmm1 = mem[0],zero
	movq	_precise_now@GOTPCREL(%rip), %r14
	subsd	(%r14), %xmm1
	addsd	LCPI0_0(%rip), %xmm1
	movsd	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero
	ucomisd	%xmm1, %xmm0
	ja	LBB0_5
## %bb.2:
	movsd	%xmm1, -32(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	callq	_get_utime_monotonic
	movsd	(%r14), %xmm0                   ## xmm0 = mem[0],zero
	movsd	%xmm0, 8(%rbx)
	movl	24(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_vkprintf
	movq	_immediate_stats@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	$0, 8(%rax)
	xorl	%eax, %eax
	callq	_qmem_init
	xorl	%eax, %eax
	callq	_qresults_clean
	leaq	L_.str.1(%rip), %rdi
	callq	_get_script
	movq	%rax, %r14
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	leaq	L_.str.2(%rip), %rsi
	callq	_dl_assert
	movq	_php_script@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	testq	%rdi, %rdi
	jne	LBB0_4
## %bb.3:
	movq	_max_memory@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	$8388608, %esi                  ## imm = 0x800000
	callq	_php_script_create
	movq	%rax, %rdi
	movq	%rax, (%r15)
LBB0_4:
	movl	20(%rbx), %edx
	movq	%r14, %rsi
	callq	_php_script_init
	movsd	-32(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_php_script_set_timeout
	movq	_phpq_run@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_precise_now,8,3                ## @precise_now
	.comm	_phpq_finish,4,2                ## @phpq_finish
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"START php script [req_id = %016llx]\n"

	.comm	_immediate_stats,16,3           ## @immediate_stats
L_.str.1:                               ## @.str.1
	.asciz	"#0"

L_.str.2:                               ## @.str.2
	.asciz	"failed to get script"

	.comm	_php_script,8,3                 ## @php_script
	.comm	_max_memory,8,3                 ## @max_memory
	.comm	_phpq_run,4,2                   ## @phpq_run
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_php_worker_init_script         ; -- Begin function php_worker_init_script
	.p2align	2
_php_worker_init_script:                ; @php_worker_init_script
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-64]!             ; 16-byte Folded Spill
	.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
	.cfi_offset b8, -56
	.cfi_offset b9, -64
	mov	x19, x0
	ldr	x9, [x0, #32]
Lloh0:
	adrp	x8, _phpq_finish@GOTPAGE
Lloh1:
	ldr	x8, [x8, _phpq_finish@GOTPAGEOFF]
	cbnz	x9, LBB0_5
; %bb.1:
	ldr	d0, [x19]
Lloh2:
	adrp	x20, _precise_now@GOTPAGE
Lloh3:
	ldr	x20, [x20, _precise_now@GOTPAGEOFF]
	ldr	d1, [x20]
	fsub	d0, d0, d1
	mov	x9, #5243
	movk	x9, #18350, lsl #16
	movk	x9, #31457, lsl #32
	movk	x9, #49028, lsl #48
	fmov	d1, x9
	fadd	d8, d0, d1
	mov	x9, #-7378697629483820647
	movk	x9, #39322
	movk	x9, #16329, lsl #48
	fmov	d0, x9
	fcmp	d8, d0
	b.mi	LBB0_5
; %bb.2:
	bl	_get_utime_monotonic
	ldr	d0, [x20]
	str	d0, [x19, #8]
	ldr	w2, [x19, #24]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	w20, #1
	mov	w0, #1
	bl	_vkprintf
Lloh6:
	adrp	x8, _immediate_stats@GOTPAGE
Lloh7:
	ldr	x8, [x8, _immediate_stats@GOTPAGEOFF]
	str	w20, [x8]
	str	xzr, [x8, #8]
	bl	_qmem_init
	bl	_qresults_clean
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_get_script
	mov	x20, x0
	cmp	x0, #0
	cset	w0, ne
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dl_assert
Lloh12:
	adrp	x21, _php_script@GOTPAGE
Lloh13:
	ldr	x21, [x21, _php_script@GOTPAGEOFF]
	ldr	x0, [x21]
	cbnz	x0, LBB0_4
; %bb.3:
Lloh14:
	adrp	x8, _max_memory@GOTPAGE
Lloh15:
	ldr	x8, [x8, _max_memory@GOTPAGEOFF]
Lloh16:
	ldr	x0, [x8]
	mov	w1, #8388608
	bl	_php_script_create
	str	x0, [x21]
LBB0_4:
	ldr	w2, [x19, #20]
	mov	x1, x20
	bl	_php_script_init
	fmov	d0, d8
	bl	_php_script_set_timeout
Lloh17:
	adrp	x8, _phpq_run@GOTPAGE
Lloh18:
	ldr	x8, [x8, _phpq_run@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	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
	ldp	d9, d8, [sp], #64               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_precise_now,8,3                ; @precise_now
	.comm	_phpq_finish,4,2                ; @phpq_finish
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"START php script [req_id = %016llx]\n"

	.comm	_immediate_stats,16,3           ; @immediate_stats
l_.str.1:                               ; @.str.1
	.asciz	"#0"

l_.str.2:                               ; @.str.2
	.asciz	"failed to get script"

	.comm	_php_script,8,3                 ; @php_script
	.comm	_max_memory,8,3                 ; @max_memory
	.comm	_phpq_run,4,2                   ; @phpq_run
.subsections_via_symbols
