	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_outnet_tcp_cb                  ## -- Begin function outnet_tcp_cb
	.p2align	4, 0x90
_outnet_tcp_cb:                         ## @outnet_tcp_cb
	.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
	movq	%rcx, %r14
	movl	%edx, %r13d
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	8(%rsi), %rax
	movq	24(%rax), %r15
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_verbose
	movq	_NETEVENT_NOERROR@GOTPCREL(%rip), %rax
	cmpl	%r13d, (%rax)
	jne	LBB0_1
## %bb.2:
	movl	(%r12), %edi
	callq	_sldns_buffer_limit
	cmpl	$4, %eax
	jb	LBB0_4
## %bb.3:
	movl	(%r12), %edi
	callq	_sldns_buffer_begin
	movl	%eax, %edi
	callq	_LDNS_ID_WIRE
	cmpq	(%rbx), %rax
	je	LBB0_5
LBB0_4:
	movq	_VERB_QUERY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%rbx), %rdx
	movl	16(%rdx), %ecx
	addq	$20, %rdx
	leaq	L_.str.2(%rip), %rsi
	callq	_log_addr
	movq	_NETEVENT_CLOSED@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	jmp	LBB0_5
LBB0_1:
	movq	_VERB_QUERY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r13d, %edx
	xorl	%eax, %eax
	callq	_verbose
LBB0_5:
	movq	8(%rbx), %rax
	movq	8(%rax), %rdi
	callq	_fptr_whitelist_pending_tcp
	movl	%eax, %edi
	callq	_fptr_ok
	movq	8(%rbx), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%r13d, %edx
	movq	%r14, %rcx
	callq	*8(%rax)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_decommission_pending_tcp
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"outnettcp cb"

	.comm	_NETEVENT_NOERROR,4,2           ## @NETEVENT_NOERROR
	.comm	_VERB_QUERY,4,2                 ## @VERB_QUERY
L_.str.1:                               ## @.str.1
	.asciz	"outnettcp got tcp error %d"

L_.str.2:                               ## @.str.2
	.asciz	"outnettcp: bad ID in reply, from:"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_outnet_tcp_cb                  ; -- Begin function outnet_tcp_cb
	.p2align	2
_outnet_tcp_cb:                         ; @outnet_tcp_cb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x23, x2
	mov	x19, x1
	mov	x22, x0
	ldr	x8, [x1, #8]
	ldr	x21, [x8, #24]
Lloh0:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_verbose
Lloh5:
	adrp	x8, _NETEVENT_NOERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NETEVENT_NOERROR@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w8, w23
	b.ne	LBB0_4
; %bb.1:
	ldr	w0, [x22]
	bl	_sldns_buffer_limit
	cmp	w0, #4
	b.lo	LBB0_3
; %bb.2:
	ldr	w0, [x22]
	bl	_sldns_buffer_begin
	bl	_LDNS_ID_WIRE
	ldr	x8, [x19]
	cmp	x0, x8
	b.eq	LBB0_5
LBB0_3:
Lloh8:
	adrp	x8, _VERB_QUERY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _VERB_QUERY@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
	add	x2, x8, #20
	ldr	w3, [x8, #16]
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_log_addr
Lloh13:
	adrp	x8, _NETEVENT_CLOSED@GOTPAGE
Lloh14:
	ldr	x8, [x8, _NETEVENT_CLOSED@GOTPAGEOFF]
Lloh15:
	ldr	w23, [x8]
	b	LBB0_5
LBB0_4:
Lloh16:
	adrp	x8, _VERB_QUERY@GOTPAGE
Lloh17:
	ldr	x8, [x8, _VERB_QUERY@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	str	x23, [sp]
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_verbose
LBB0_5:
	ldr	x8, [x19, #8]
	ldr	x0, [x8, #8]
	bl	_fptr_whitelist_pending_tcp
	bl	_fptr_ok
	ldr	x8, [x19, #8]
	ldr	x9, [x8, #8]
	ldr	w1, [x8]
	mov	x0, x22
	mov	x2, x23
	mov	x3, x20
	blr	x9
	mov	x0, x21
	mov	x1, x19
	bl	_decommission_pending_tcp
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"outnettcp cb"

	.comm	_NETEVENT_NOERROR,4,2           ; @NETEVENT_NOERROR
	.comm	_VERB_QUERY,4,2                 ; @VERB_QUERY
l_.str.1:                               ; @.str.1
	.asciz	"outnettcp got tcp error %d"

l_.str.2:                               ; @.str.2
	.asciz	"outnettcp: bad ID in reply, from:"

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