	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpc_fun_kitten_php_start_stop  ## -- Begin function rpc_fun_kitten_php_start_stop
	.p2align	4, 0x90
_rpc_fun_kitten_php_start_stop:         ## @rpc_fun_kitten_php_start_stop
	.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
	movl	(%rsi), %ebx
	movq	_RPC_READY@GOTPCREL(%rip), %r15
	cmpl	%ebx, (%r15)
	je	LBB0_2
## %bb.1:
	movq	_RPC_STOP_READY@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_4
LBB0_2:
	movq	_CQ@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rcx
	movq	_tl_type_conn@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.3:
	movq	8(%rax), %r14
	movl	$12, %edi
	callq	_tl_fetch_skip
	cmpl	%ebx, (%r15)
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	xorl	%eax, %eax
	callq	_vkprintf
	movl	%ebx, %edi
	movq	%r14, %rsi
	callq	_kitten_php_ready
	movl	%eax, %r14d
	movq	_tl@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_kitten_php_current_count
	leaq	L_.str.3(%rip), %rsi
	movl	$2, %edi
	movl	%r14d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_vkprintf
LBB0_4:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RPC_READY,4,2                  ## @RPC_READY
	.comm	_RPC_STOP_READY,4,2             ## @RPC_STOP_READY
	.comm	_CQ,8,3                         ## @CQ
	.comm	_tl_type_conn,8,3               ## @tl_type_conn
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Kitten php %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"connected"

L_.str.2:                               ## @.str.2
	.asciz	"disconnected"

L_.str.3:                               ## @.str.3
	.asciz	"Kitten_php_ready: res = %d, fetch_error = %s, new_size = %d\n"

	.comm	_tl,4,2                         ## @tl
	.comm	_RPC_FUN_NEXT,4,2               ## @RPC_FUN_NEXT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpc_fun_kitten_php_start_stop  ; -- Begin function rpc_fun_kitten_php_start_stop
	.p2align	2
_rpc_fun_kitten_php_start_stop:         ; @rpc_fun_kitten_php_start_stop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	w19, [x1]
Lloh0:
	adrp	x21, _RPC_READY@GOTPAGE
Lloh1:
	ldr	x21, [x21, _RPC_READY@GOTPAGEOFF]
	ldr	w8, [x21]
Lloh2:
	adrp	x9, _RPC_STOP_READY@GOTPAGE
Lloh3:
	ldr	x9, [x9, _RPC_STOP_READY@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w8, w19
	ccmp	w9, w19, #4, ne
	b.ne	LBB0_3
; %bb.1:
Lloh5:
	adrp	x8, _CQ@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CQ@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x9, [x8]
Lloh8:
	adrp	x10, _tl_type_conn@GOTPAGE
Lloh9:
	ldr	x10, [x10, _tl_type_conn@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_3
; %bb.2:
	ldr	x20, [x8, #8]
	mov	w0, #12
	bl	_tl_fetch_skip
	ldr	w8, [x21]
Lloh11:
	adrp	x9, l_.str.2@PAGE
Lloh12:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh13:
	adrp	x10, l_.str.1@PAGE
Lloh14:
	add	x10, x10, l_.str.1@PAGEOFF
	cmp	w8, w19
	csel	x8, x10, x9, eq
	str	x8, [sp]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	bl	_vkprintf
	mov	x0, x19
	mov	x1, x20
	bl	_kitten_php_ready
	mov	x19, x0
Lloh17:
	adrp	x8, _tl@GOTPAGE
Lloh18:
	ldr	x8, [x8, _tl@GOTPAGEOFF]
Lloh19:
	ldr	w20, [x8]
	bl	_kitten_php_current_count
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x20, x0, [sp, #8]
	str	x19, [sp]
Lloh20:
	adrp	x1, l_.str.3@PAGE
Lloh21:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #2
	bl	_vkprintf
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_RPC_READY,4,2                  ; @RPC_READY
	.comm	_RPC_STOP_READY,4,2             ; @RPC_STOP_READY
	.comm	_CQ,8,3                         ; @CQ
	.comm	_tl_type_conn,8,3               ; @tl_type_conn
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Kitten php %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"connected"

l_.str.2:                               ; @.str.2
	.asciz	"disconnected"

l_.str.3:                               ; @.str.3
	.asciz	"Kitten_php_ready: res = %d, fetch_error = %s, new_size = %d\n"

	.comm	_tl,4,2                         ; @tl
	.comm	_RPC_FUN_NEXT,4,2               ; @RPC_FUN_NEXT
.subsections_via_symbols
