	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_query_state               ## -- Begin function init_query_state
	.p2align	4, 0x90
_init_query_state:                      ## @init_query_state
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movq	%rsi, %r12
	movl	%edi, %r13d
	leaq	_init_query_state(%rip), %rdi
	callq	_TRACE_IN
	movl	$1, %edi
	movl	$88, %esi
	callq	_calloc
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	movl	%r13d, (%rbx)
	movq	_EVFILT_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 84(%rbx)
	movq	%r12, 8(%rbx)
	movl	%r15d, 80(%rbx)
	movl	%r14d, 76(%rbx)
	movq	$-1, 16(%rbx)
	leaq	68(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	callq	_asprintf
	cmpl	$-1, %eax
	je	LBB0_1
## %bb.2:
	movl	68(%rbx), %edi
	callq	_strlen
	movl	%eax, 72(%rbx)
	leaq	64(%rbx), %rdi
	movq	_CET_UNDEFINED@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_init_comm_element
	leaq	60(%rbx), %rdi
	movl	(%r14), %esi
	callq	_init_comm_element
	movq	_on_query_startup@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%rbx)
	movq	_on_query_destroy@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%rbx)
	movq	_query_socket_write@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	movq	_query_socket_read@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%rbx)
	movq	%rbx, %rdi
	addq	$40, %rdi
	callq	_get_time_func
	movq	_s_configuration@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	$0, 24(%rbx)
	leaq	_init_query_state(%rip), %rdi
	callq	_TRACE_OUT
	jmp	LBB0_3
LBB0_1:
	movq	%rbx, %rdi
	callq	_free
	xorl	%ebx, %ebx
LBB0_3:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EVFILT_READ,4,2                ## @EVFILT_READ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d_%d_"

	.comm	_CET_UNDEFINED,4,2              ## @CET_UNDEFINED
	.comm	_on_query_startup,4,2           ## @on_query_startup
	.comm	_on_query_destroy,4,2           ## @on_query_destroy
	.comm	_query_socket_write,4,2         ## @query_socket_write
	.comm	_query_socket_read,4,2          ## @query_socket_read
	.comm	_s_configuration,8,3            ## @s_configuration
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_query_state               ; -- Begin function init_query_state
	.p2align	2
_init_query_state:                      ; @init_query_state
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x0, _init_query_state@PAGE
Lloh1:
	add	x0, x0, _init_query_state@PAGEOFF
	bl	_TRACE_IN
	mov	w0, #1
	mov	w1, #88
	bl	_calloc
	mov	x19, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	str	w23, [x19]
Lloh2:
	adrp	x8, _EVFILT_READ@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EVFILT_READ@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	stp	w21, w8, [x19, #80]
	str	x22, [x19, #8]
	str	w20, [x19, #76]
	movi.2d	v0, #0xffffffffffffffff
	str	d0, [x19, #16]
	add	x0, x19, #68
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	mov	x3, x20
	bl	_asprintf
	cmn	w0, #1
	b.eq	LBB0_2
; %bb.1:
	ldr	w0, [x19, #68]
	bl	_strlen
	str	w0, [x19, #72]
	add	x0, x19, #64
Lloh7:
	adrp	x20, _CET_UNDEFINED@GOTPAGE
Lloh8:
	ldr	x20, [x20, _CET_UNDEFINED@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_init_comm_element
	add	x0, x19, #60
	ldr	w1, [x20]
	bl	_init_comm_element
Lloh9:
	adrp	x8, _on_query_startup@GOTPAGE
Lloh10:
	ldr	x8, [x8, _on_query_startup@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _on_query_destroy@GOTPAGE
Lloh13:
	ldr	x9, [x9, _on_query_destroy@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #52]
Lloh15:
	adrp	x8, _query_socket_write@GOTPAGE
Lloh16:
	ldr	x8, [x8, _query_socket_write@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _query_socket_read@GOTPAGE
Lloh19:
	ldr	x9, [x9, _query_socket_read@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #44]
	add	x0, x19, #40
	bl	_get_time_func
Lloh21:
	adrp	x8, _s_configuration@GOTPAGE
Lloh22:
	ldr	x8, [x8, _s_configuration@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	ldr	w8, [x8]
	str	w8, [x19, #32]
	str	xzr, [x19, #24]
Lloh24:
	adrp	x0, _init_query_state@PAGE
Lloh25:
	add	x0, x0, _init_query_state@PAGEOFF
	bl	_TRACE_OUT
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_free
	mov	x19, #0
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EVFILT_READ,4,2                ; @EVFILT_READ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d_%d_"

	.comm	_CET_UNDEFINED,4,2              ; @CET_UNDEFINED
	.comm	_on_query_startup,4,2           ; @on_query_startup
	.comm	_on_query_destroy,4,2           ; @on_query_destroy
	.comm	_query_socket_write,4,2         ; @query_socket_write
	.comm	_query_socket_read,4,2          ; @query_socket_read
	.comm	_s_configuration,8,3            ; @s_configuration
.subsections_via_symbols
