	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function hts_func_wakeup
LCPI0_0:
	.quad	0x3f847ae147ae147b              ## double 0.01
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_hts_func_wakeup
	.p2align	4, 0x90
_hts_func_wakeup:                       ## @hts_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, %r14
	callq	_HTS_DATA
	movq	(%r14), %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, %rbx
	sete	%al
	orb	%dl, %al
	movzbl	%al, %edi
	callq	_assert
	movq	(%r12), %rax
	movq	%rax, (%r14)
	movq	(%rbx), %rbx
	cvtsi2sdq	(%rbx), %xmm0
	movq	_precise_now@GOTPCREL(%rip), %rax
	cvtsi2sdq	(%rax), %xmm1
	addsd	LCPI0_0(%rip), %xmm1
	ucomisd	%xmm0, %xmm1
	jbe	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_php_worker_terminate
LBB0_2:
	movq	%rbx, %rdi
	callq	_php_worker_main
	cmpl	$1, %eax
	jne	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_hts_at_query_end
	jmp	LBB0_8
LBB0_4:
	cmpq	$0, 8(%r14)
	js	LBB0_5
## %bb.6:
	movq	(%r14), %rax
	xorl	%edi, %edi
	cmpq	(%r15), %rax
	sete	%dil
	jmp	LBB0_7
LBB0_5:
	xorl	%edi, %edi
LBB0_7:
	callq	_assert
LBB0_8:
	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
	.comm	_precise_now,8,3                ## @precise_now
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"timeout in http connection wakeup"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hts_func_wakeup                ; -- Begin function hts_func_wakeup
	.p2align	2
_hts_func_wakeup:                       ; @hts_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	_HTS_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	x20, [x20]
	ldr	d0, [x20]
	scvtf	d0, d0
Lloh4:
	adrp	x8, _precise_now@GOTPAGE
Lloh5:
	ldr	x8, [x8, _precise_now@GOTPAGEOFF]
Lloh6:
	ldr	d1, [x8]
	scvtf	d1, d1
	mov	x8, #5243
	movk	x8, #18350, lsl #16
	movk	x8, #31457, lsl #32
	movk	x8, #16260, lsl #48
	fmov	d2, x8
	fadd	d1, d1, d2
	fcmp	d1, d0
	b.le	LBB0_2
; %bb.1:
Lloh7:
	adrp	x2, l_.str@PAGE
Lloh8:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	w1, #0
	bl	_php_worker_terminate
LBB0_2:
	mov	x0, x20
	bl	_php_worker_main
	cmp	w0, #1
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x19
	mov	w1, #1
	bl	_hts_at_query_end
	b	LBB0_8
LBB0_4:
	ldr	x8, [x19, #8]
	tbnz	x8, #63, LBB0_6
; %bb.5:
	ldr	x8, [x19]
	ldr	x9, [x21]
	cmp	x8, x9
	cset	w0, eq
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	bl	_assert
LBB0_8:
	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 AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_conn_expect_query,8,3          ; @conn_expect_query
	.comm	_conn_wait_net,8,3              ; @conn_wait_net
	.comm	_precise_now,8,3                ; @precise_now
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"timeout in http connection wakeup"

.subsections_via_symbols
