	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function serviced_tcp_send
_serviced_tcp_send:                     ## @serviced_tcp_send
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	40(%rdi), %rax
	movl	16(%rax), %edi
	leaq	64(%rbx), %rsi
	movl	60(%rbx), %edx
	movl	56(%rbx), %ecx
	movl	52(%rbx), %r8d
	movq	8(%rax), %rax
	movl	(%rax), %r9d
	subq	$8, %rsp
	leaq	-20(%rbp), %rax
	leaq	-28(%rbp), %r10
	leaq	-24(%rbp), %r11
	pushq	%rax
	pushq	%r10
	pushq	%r11
	callq	_infra_host
	addq	$32, %rsp
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	-20(%rbp), %eax
	movl	%eax, (%rbx)
	cmpl	$-1, -24(%rbp)
	movq	_serviced_query_TCP_EDNS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, %rcx
	jne	LBB0_4
## %bb.3:
	movq	_serviced_query_TCP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
LBB0_4:
	movq	%rcx, 8(%rbx)
	xorl	%edx, %edx
	cmpq	%rax, %rcx
	sete	%dl
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_serviced_encode
	movq	40(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	cmpq	$0, 32(%rbx)
	jne	LBB0_6
## %bb.5:
	cmpq	$0, 24(%rbx)
	je	LBB0_8
LBB0_6:
	movl	-20(%rbp), %edx
	movq	_UNKNOWN_SERVER_NICENESS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edx
	jl	LBB0_9
## %bb.7:
	movq	_TCP_AUTH_QUERY_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	cmovlel	%eax, %edx
	jmp	LBB0_9
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_8:
	movq	_TCP_AUTH_QUERY_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_9:
	movq	_serviced_tcp_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%rbx, %r8
	callq	_pending_tcp_query
	movq	%rax, %rcx
	movq	%rax, 16(%rbx)
	xorl	%eax, %eax
	testq	%rcx, %rcx
	setne	%al
LBB0_10:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_serviced_query_TCP_EDNS,8,3    ## @serviced_query_TCP_EDNS
	.comm	_serviced_query_TCP,8,3         ## @serviced_query_TCP
	.comm	_UNKNOWN_SERVER_NICENESS,4,2    ## @UNKNOWN_SERVER_NICENESS
	.comm	_TCP_AUTH_QUERY_TIMEOUT,4,2     ## @TCP_AUTH_QUERY_TIMEOUT
	.comm	_serviced_tcp_callback,4,2      ## @serviced_tcp_callback
	.no_dead_strip	_serviced_tcp_send
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function serviced_tcp_send
_serviced_tcp_send:                     ; @serviced_tcp_send
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #40]
	ldr	w0, [x8, #16]
	add	x1, x19, #64
	ldp	w3, w2, [x19, #56]
	ldr	w4, [x19, #52]
	ldr	x8, [x8, #8]
	ldr	w5, [x8]
	add	x8, sp, #24
	str	x8, [sp]
	sub	x6, x29, #20
	add	x7, sp, #20
	bl	_infra_host
	cbz	w0, LBB0_7
; %bb.1:
	ldr	w8, [sp, #24]
	str	w8, [x19]
	ldur	w8, [x29, #-20]
Lloh0:
	adrp	x9, _serviced_query_TCP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _serviced_query_TCP@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _serviced_query_TCP_EDNS@GOTPAGE
Lloh4:
	ldr	x10, [x10, _serviced_query_TCP_EDNS@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmn	w8, #1
	csel	x8, x9, x10, eq
	str	x8, [x19, #8]
	cmp	x8, x10
	cset	w2, eq
	mov	x0, x19
	mov	x1, x20
	bl	_serviced_encode
	ldp	x9, x8, [x19, #32]
	ldr	x8, [x8]
	ldr	w8, [x8]
	str	w8, [x19, #48]
	cbnz	x9, LBB0_3
; %bb.2:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_5
LBB0_3:
	ldr	w2, [sp, #24]
Lloh6:
	adrp	x8, _UNKNOWN_SERVER_NICENESS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _UNKNOWN_SERVER_NICENESS@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w2, w8
	b.lt	LBB0_6
; %bb.4:
Lloh9:
	adrp	x8, _TCP_AUTH_QUERY_TIMEOUT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TCP_AUTH_QUERY_TIMEOUT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w2, w8
	csel	w2, w2, w8, gt
	b	LBB0_6
LBB0_5:
Lloh12:
	adrp	x8, _TCP_AUTH_QUERY_TIMEOUT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TCP_AUTH_QUERY_TIMEOUT@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
LBB0_6:
Lloh15:
	adrp	x8, _serviced_tcp_callback@GOTPAGE
Lloh16:
	ldr	x8, [x8, _serviced_tcp_callback@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x4, x19
	bl	_pending_tcp_query
	str	x0, [x19, #16]
	cmp	x0, #0
	cset	w0, ne
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_serviced_query_TCP_EDNS,8,3    ; @serviced_query_TCP_EDNS
	.comm	_serviced_query_TCP,8,3         ; @serviced_query_TCP
	.comm	_UNKNOWN_SERVER_NICENESS,4,2    ; @UNKNOWN_SERVER_NICENESS
	.comm	_TCP_AUTH_QUERY_TIMEOUT,4,2     ; @TCP_AUTH_QUERY_TIMEOUT
	.comm	_serviced_tcp_callback,4,2      ; @serviced_tcp_callback
	.no_dead_strip	_serviced_tcp_send
.subsections_via_symbols
