	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpcx_func_wakeup               ## -- Begin function rpcx_func_wakeup
	.p2align	4, 0x90
_rpcx_func_wakeup:                      ## @rpcx_func_wakeup
	.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, %rbx
	callq	_RPCS_DATA
	movq	(%rbx), %rcx
	movq	_conn_expect_query@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rcx
	sete	%dl
	movq	_conn_wait_net@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rcx
	movq	%rax, %r14
	sete	%al
	orb	%dl, %al
	movzbl	%al, %edi
	callq	_assert
	movq	(%r12), %rax
	movq	%rax, (%rbx)
	movq	(%r14), %rdi
	callq	_php_worker_main
	cmpl	$1, %eax
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_rpcx_at_query_end
	jmp	LBB0_6
LBB0_2:
	cmpq	$0, 8(%rbx)
	js	LBB0_3
## %bb.4:
	movq	(%rbx), %rax
	xorl	%edi, %edi
	cmpq	(%r15), %rax
	sete	%dil
	jmp	LBB0_5
LBB0_3:
	xorl	%edi, %edi
LBB0_5:
	callq	_assert
LBB0_6:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_conn_expect_query,8,3          ## @conn_expect_query
	.comm	_conn_wait_net,8,3              ## @conn_wait_net
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpcx_func_wakeup               ; -- Begin function rpcx_func_wakeup
	.p2align	2
_rpcx_func_wakeup:                      ; @rpcx_func_wakeup
	.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
	mov	x19, x0
	bl	_RPCS_DATA
	mov	x20, x0
	ldr	x8, [x19]
Lloh0:
	adrp	x22, _conn_expect_query@GOTPAGE
Lloh1:
	ldr	x22, [x22, _conn_expect_query@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
Lloh2:
	adrp	x21, _conn_wait_net@GOTPAGE
Lloh3:
	ldr	x21, [x21, _conn_wait_net@GOTPAGEOFF]
	ldr	x9, [x21]
	ccmp	x8, x9, #4, ne
	cset	w0, eq
	bl	_assert
	ldr	x8, [x22]
	str	x8, [x19]
	ldr	x0, [x20]
	bl	_php_worker_main
	cmp	w0, #1
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_rpcx_at_query_end
	b	LBB0_6
LBB0_2:
	ldr	x8, [x19, #8]
	tbnz	x8, #63, LBB0_4
; %bb.3:
	ldr	x8, [x19]
	ldr	x9, [x21]
	cmp	x8, x9
	cset	w0, eq
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	bl	_assert
LBB0_6:
	mov	w0, #0
	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
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_conn_expect_query,8,3          ; @conn_expect_query
	.comm	_conn_wait_net,8,3              ; @conn_wait_net
.subsections_via_symbols
