	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_php_worker_try_start           ## -- Begin function php_worker_try_start
	.p2align	4, 0x90
_php_worker_try_start:                  ## @php_worker_try_start
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	cmpq	$0, 24(%rdi)
	je	LBB0_2
## %bb.1:
	movq	_phpq_finish@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	jmp	LBB0_6
LBB0_2:
	movq	_php_worker_run_flag@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_4
## %bb.3:
	movl	20(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	callq	_vkprintf
	movl	$40, %edi
	callq	_zmalloc
	movq	%rax, %r14
	movq	$0, 32(%rax)
	movq	_pending_http_queue@GOTPCREL(%rip), %rax
	movq	%rax, 24(%r14)
	xorl	%edi, %edi
	cmpq	$0, 8(%rbx)
	setne	%dil
	callq	_assert
	movq	8(%rbx), %rax
	movq	%rax, 16(%r14)
	movq	_pending_cq_func@GOTPCREL(%rip), %rax
	movq	%rax, 8(%r14)
	movl	16(%rbx), %eax
	movl	%eax, (%r14)
	movq	%r14, %rdi
	callq	_insert_conn_query
	movq	_conn_wait_net@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%rbx), %rcx
	movl	%eax, (%rcx)
	movl	$1, (%rbx)
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movl	$1, (%rax)
	movq	_phpq_init_script@GOTPCREL(%rip), %rax
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_phpq_finish,4,2                ## @phpq_finish
	.comm	_php_worker_run_flag,4,2        ## @php_worker_run_flag
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"php script [req_id = %016llx] is waiting\n"

	.comm	_pending_http_queue,4,2         ## @pending_http_queue
	.comm	_pending_cq_func,4,2            ## @pending_cq_func
	.comm	_conn_wait_net,4,2              ## @conn_wait_net
	.comm	_phpq_init_script,4,2           ## @phpq_init_script
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_php_worker_try_start           ; -- Begin function php_worker_try_start
	.p2align	2
_php_worker_try_start:                  ; @php_worker_try_start
	.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	x8, [x0, #24]
	cbz	x8, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _phpq_finish@GOTPAGE
Lloh1:
	ldr	x8, [x8, _phpq_finish@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	str	w8, [x19, #4]
	b	LBB0_5
LBB0_3:
Lloh2:
	adrp	x8, _php_worker_run_flag@GOTPAGE
Lloh3:
	ldr	x8, [x8, _php_worker_run_flag@GOTPAGEOFF]
	ldr	w9, [x8]
	cbz	w9, LBB0_6
; %bb.4:
	ldr	w2, [x19, #20]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	bl	_vkprintf
	mov	w0, #40
	bl	_zmalloc
	mov	x20, x0
Lloh6:
	adrp	x8, _pending_http_queue@GOTPAGE
Lloh7:
	ldr	x8, [x8, _pending_http_queue@GOTPAGEOFF]
	stp	x8, xzr, [x0, #24]
	ldr	x8, [x19, #8]
	cmp	x8, #0
	cset	w0, ne
	bl	_assert
	ldr	x8, [x19, #8]
Lloh8:
	adrp	x9, _pending_cq_func@GOTPAGE
Lloh9:
	ldr	x9, [x9, _pending_cq_func@GOTPAGEOFF]
	stp	x9, x8, [x20, #8]
	ldr	w8, [x19, #16]
	str	w8, [x20]
	mov	x0, x20
	bl	_insert_conn_query
Lloh10:
	adrp	x8, _conn_wait_net@GOTPAGE
Lloh11:
	ldr	x8, [x8, _conn_wait_net@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	ldr	x9, [x19, #8]
	str	w8, [x9]
	mov	w8, #1
	str	w8, [x19]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	w9, #1
	str	w9, [x8]
Lloh13:
	adrp	x8, _phpq_init_script@GOTPAGE
Lloh14:
	ldr	x8, [x8, _phpq_init_script@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_phpq_finish,4,2                ; @phpq_finish
	.comm	_php_worker_run_flag,4,2        ; @php_worker_run_flag
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"php script [req_id = %016llx] is waiting\n"

	.comm	_pending_http_queue,4,2         ; @pending_http_queue
	.comm	_pending_cq_func,4,2            ; @pending_cq_func
	.comm	_conn_wait_net,4,2              ; @conn_wait_net
	.comm	_phpq_init_script,4,2           ; @phpq_init_script
.subsections_via_symbols
