	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function serviced_tcp_initiate
_serviced_tcp_initiate:                 ## @serviced_tcp_initiate
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	_VERB_ALGO@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	(%rbx), %rax
	movq	_serviced_query_TCP_EDNS@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_verbose
	movq	(%rbx), %rax
	xorl	%edx, %edx
	cmpq	(%r12), %rax
	sete	%dl
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_serviced_encode
	movq	16(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_TCP_AUTH_QUERY_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_serviced_tcp_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%rbx, %r8
	callq	_pending_tcp_query
	movl	%eax, 8(%rbx)
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	(%r15), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_verbose
	movq	_NETEVENT_CLOSED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_serviced_callbacks             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"initiate TCP query %s"

	.comm	_serviced_query_TCP_EDNS,8,3    ## @serviced_query_TCP_EDNS
L_.str.1:                               ## @.str.1
	.asciz	"EDNS"

L_.str.2:                               ## @.str.2
	.space	1

	.comm	_TCP_AUTH_QUERY_TIMEOUT,4,2     ## @TCP_AUTH_QUERY_TIMEOUT
	.comm	_serviced_tcp_callback,4,2      ## @serviced_tcp_callback
L_.str.3:                               ## @.str.3
	.asciz	"serviced_tcp_initiate: failed to send tcp query"

	.comm	_NETEVENT_CLOSED,4,2            ## @NETEVENT_CLOSED
	.no_dead_strip	_serviced_tcp_initiate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function serviced_tcp_initiate
_serviced_tcp_initiate:                 ; @serviced_tcp_initiate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _VERB_ALGO@GOTPAGE
Lloh1:
	ldr	x21, [x21, _VERB_ALGO@GOTPAGEOFF]
	ldr	w0, [x21]
	ldr	x8, [x19]
Lloh2:
	adrp	x22, _serviced_query_TCP_EDNS@GOTPAGE
Lloh3:
	ldr	x22, [x22, _serviced_query_TCP_EDNS@GOTPAGEOFF]
	ldr	x9, [x22]
Lloh4:
	adrp	x10, l_.str.2@PAGE
Lloh5:
	add	x10, x10, l_.str.2@PAGEOFF
Lloh6:
	adrp	x11, l_.str.1@PAGE
Lloh7:
	add	x11, x11, l_.str.1@PAGEOFF
	cmp	x8, x9
	csel	x8, x11, x10, eq
	str	x8, [sp]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_verbose
	ldr	x8, [x19]
	ldr	x9, [x22]
	cmp	x8, x9
	cset	w2, eq
	mov	x0, x19
	mov	x1, x20
	bl	_serviced_encode
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	ldr	w8, [x8]
	str	w8, [x19, #24]
Lloh10:
	adrp	x8, _TCP_AUTH_QUERY_TIMEOUT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TCP_AUTH_QUERY_TIMEOUT@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
Lloh13:
	adrp	x8, _serviced_tcp_callback@GOTPAGE
Lloh14:
	ldr	x8, [x8, _serviced_tcp_callback@GOTPAGEOFF]
Lloh15:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x4, x19
	bl	_pending_tcp_query
	str	w0, [x19, #8]
	cbz	w0, LBB0_2
; %bb.1:
	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
	add	sp, sp, #64
	ret
LBB0_2:
	ldr	w0, [x21]
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_verbose
Lloh18:
	adrp	x8, _NETEVENT_CLOSED@GOTPAGE
Lloh19:
	ldr	x8, [x8, _NETEVENT_CLOSED@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, #0
	mov	x3, #0
	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
	add	sp, sp, #64
	b	_serviced_callbacks
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"initiate TCP query %s"

	.comm	_serviced_query_TCP_EDNS,8,3    ; @serviced_query_TCP_EDNS
l_.str.1:                               ; @.str.1
	.asciz	"EDNS"

l_.str.2:                               ; @.str.2
	.space	1

	.comm	_TCP_AUTH_QUERY_TIMEOUT,4,2     ; @TCP_AUTH_QUERY_TIMEOUT
	.comm	_serviced_tcp_callback,4,2      ; @serviced_tcp_callback
l_.str.3:                               ; @.str.3
	.asciz	"serviced_tcp_initiate: failed to send tcp query"

	.comm	_NETEVENT_CLOSED,4,2            ; @NETEVENT_CLOSED
	.no_dead_strip	_serviced_tcp_initiate
.subsections_via_symbols
