	.file	"extr_rpc-proxy-kitten-php.c_kitten_php_forward.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"forward: CC = %p\n"
.LC1:
	.string	"Forwarding: connect = %d\n"
	.text
	.p2align 4
	.globl	kitten_php_forward
	.type	kitten_php_forward, @function
kitten_php_forward:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rdx, QWORD PTR CC[rip]
	mov	edi, 2
	lea	rsi, .LC0[rip]
	call	vkprintf@PLT
	xor	eax, eax
	call	tl_fetch_error@PLT
	test	rax, rax
	jne	.L3
	mov	rax, QWORD PTR CQ[rip]
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR [rax], 0
	jg	.L11
	mov	edi, 1
	call	kitten_php_get_connection@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L3
	mov	rdx, QWORD PTR [rax]
	lea	rsi, .LC1[rip]
	mov	edi, 2
	call	vkprintf@PLT
	mov	rax, QWORD PTR CQ[rip]
	mov	rax, QWORD PTR [rax]
	mov	edi, DWORD PTR 8[rax]
	call	get_free_rpc_qid@PLT
	mov	rdi, rbp
	mov	ecx, 1
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	mov	rdx, rax
	mov	rax, QWORD PTR CC[rip]
	mov	esi, DWORD PTR [rax]
	jmp	kphp_query_forward_conn@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	xor	esi, esi
	xor	edi, edi
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	kitten_php_delay@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	eax, -1
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	kitten_php_forward, .-kitten_php_forward
	.comm	CQ,8,8
	.comm	CC,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_rpc-proxy-kitten-php.c_kitten_php_forward.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"forward: CC = %p\012\000"
	.align	2
.LC1:
	.ascii	"Forwarding: connect = %d\012\000"
	.text
	.align	2
	.global	kitten_php_forward
	.syntax unified
	.arm
	.fpu softvfp
	.type	kitten_php_forward, %function
kitten_php_forward:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r5, .L12
	ldr	r1, .L12+4
	ldr	r2, [r5]
	sub	sp, sp, #8
	mov	r0, #2
	bl	vkprintf
	bl	tl_fetch_error
	subs	r1, r0, #0
	bne	.L5
	ldr	r4, .L12+8
	ldr	r3, [r4]
	ldr	r3, [r3]
	ldr	r3, [r3]
	cmp	r3, #0
	bgt	.L11
	mov	r0, #1
	bl	kitten_php_get_connection
	subs	r6, r0, #0
	beq	.L5
	ldr	r2, [r6]
	ldr	r1, .L12+12
	mov	r0, #2
	bl	vkprintf
	ldr	r3, [r4]
	ldr	r3, [r3]
	ldr	r0, [r3, #4]
	bl	get_free_rpc_qid
	mov	ip, #1
	mov	r3, r1
	ldr	r1, [r5]
	mov	r2, r0
	ldr	r1, [r1]
	mov	r0, r6
	str	ip, [sp]
	bl	kphp_query_forward_conn
.L1:
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L11:
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, lr}
	b	kitten_php_delay
.L5:
	mvn	r0, #0
	b	.L1
.L13:
	.align	2
.L12:
	.word	CC
	.word	.LC0
	.word	CQ
	.word	.LC1
	.size	kitten_php_forward, .-kitten_php_forward
	.comm	CQ,4,4
	.comm	CC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
