	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_php_worker_run_rpc_answer_query ## -- Begin function php_worker_run_rpc_answer_query
	.p2align	4, 0x90
_php_worker_run_rpc_answer_query:       ## @php_worker_run_rpc_answer_query
	.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
	movq	(%rdi), %rax
	movq	_rpc_worker@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.1:
	movq	%rdi, %rbx
	movq	16(%rdi), %r12
	movq	8(%rsi), %r14
	movl	(%rsi), %r15d
	movl	8(%rdi), %ecx
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	movl	%r15d, %edx
	callq	_vkprintf
	cmpl	$0, 8(%r14)
	jne	LBB0_2
## %bb.3:
	movq	_RPC_REQ_RESULT@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_RPC_REQ_ERROR@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %esi
	movl	8(%rbx), %edx
	movq	%r12, %rdi
	movq	%r14, %rcx
	movl	%r15d, %r8d
	callq	_send_rpc_query
LBB0_5:
	movq	_php_script@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_php_script_query_readed
	movl	(%rbx), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_php_script_query_answered      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_rpc_worker,8,3                 ## @rpc_worker
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"going to send %d bytes as an answer [req_id = %016llx]\n"

	.comm	_RPC_REQ_RESULT,4,2             ## @RPC_REQ_RESULT
	.comm	_RPC_REQ_ERROR,4,2              ## @RPC_REQ_ERROR
	.comm	_php_script,4,2                 ## @php_script
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_php_worker_run_rpc_answer_query ; -- Begin function php_worker_run_rpc_answer_query
	.p2align	2
_php_worker_run_rpc_answer_query:       ; @php_worker_run_rpc_answer_query
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _rpc_worker@GOTPAGE
Lloh1:
	ldr	x9, [x9, _rpc_worker@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	x20, [x0, #16]
	ldr	x21, [x1, #8]
	ldr	w22, [x1]
	ldr	w3, [x0, #8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	mov	x2, x22
	bl	_vkprintf
	ldr	w8, [x21, #8]
Lloh5:
	adrp	x9, _RPC_REQ_RESULT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RPC_REQ_RESULT@GOTPAGEOFF]
Lloh7:
	adrp	x10, _RPC_REQ_ERROR@GOTPAGE
Lloh8:
	ldr	x10, [x10, _RPC_REQ_ERROR@GOTPAGEOFF]
	cmp	w8, #0
	csel	x8, x9, x10, eq
	ldr	w1, [x8]
	ldr	w2, [x19, #8]
	mov	x0, x20
	mov	x3, x21
	mov	x4, x22
	bl	_send_rpc_query
LBB0_2:
Lloh9:
	adrp	x19, _php_script@GOTPAGE
Lloh10:
	ldr	x19, [x19, _php_script@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_php_script_query_readed
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_php_script_query_answered
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_rpc_worker,8,3                 ; @rpc_worker
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"going to send %d bytes as an answer [req_id = %016llx]\n"

	.comm	_RPC_REQ_RESULT,4,2             ; @RPC_REQ_RESULT
	.comm	_RPC_REQ_ERROR,4,2              ; @RPC_REQ_ERROR
	.comm	_php_script,4,2                 ; @php_script
.subsections_via_symbols
