	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_outnet_udp_cb                  ## -- Begin function outnet_udp_cb
	.p2align	4, 0x90
_outnet_udp_cb:                         ## @outnet_udp_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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movl	%edx, %ebx
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	_VERB_ALGO@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_verbose
	movq	_NETEVENT_NOERROR@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_1
## %bb.2:
	movl	(%r13), %edi
	callq	_sldns_buffer_limit
	movq	_LDNS_HEADER_SIZE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_4
## %bb.3:
	movq	_VERB_QUERY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_verbose
	jmp	LBB0_14
LBB0_1:
	movq	_VERB_QUERY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_verbose
LBB0_14:
	xorl	%eax, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r15, %rdi
	callq	_log_assert
	movl	(%r13), %edi
	callq	_sldns_buffer_begin
	movl	%eax, %edi
	callq	_LDNS_ID_WIRE
	movl	%eax, -88(%rbp)
	leaq	-44(%rbp), %rdi
	leaq	4(%r15), %rbx
	movl	(%r15), %edx
	movq	%rbx, %rsi
	callq	_memcpy
	movl	(%r15), %eax
	movl	%eax, -48(%rbp)
	movl	(%r14), %edi
	movl	-88(%rbp), %edx
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_verbose
	movl	(%r14), %edi
	movl	(%r15), %ecx
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdx
	callq	_log_addr
	movl	(%r14), %edi
	movq	16(%r12), %rax
	movl	(%rax), %edx
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_verbose
	movq	16(%r12), %rdi
	leaq	-88(%rbp), %rsi
	callq	_rbtree_search
	movq	%r12, %rbx
	testq	%rax, %rax
	je	LBB0_5
## %bb.9:
	movq	%rax, %r12
	movl	(%r14), %edi
	leaq	L_.str.9(%rip), %rsi
	xorl	%eax, %eax
	callq	_verbose
	movl	(%r14), %edi
	movl	(%r13), %edx
	leaq	L_.str.10(%rip), %rsi
	callq	_log_buf
	movq	8(%r12), %rax
	cmpq	%r13, (%rax)
	je	LBB0_11
## %bb.10:
	movq	_VERB_QUERY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.11(%rip), %rsi
	xorl	%eax, %eax
	callq	_verbose
	jmp	LBB0_6
LBB0_5:
	movq	_VERB_QUERY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_verbose
	movl	(%r14), %edi
	movl	(%r13), %edx
	leaq	L_.str.7(%rip), %rsi
	callq	_log_buf
LBB0_6:
	incl	40(%rbx)
	movq	(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_14
## %bb.7:
	movq	8(%rbx), %rax
	incq	%rax
	movq	%rax, 8(%rbx)
	cmpq	%rsi, %rax
	jl	LBB0_14
## %bb.8:
	leaq	L_.str.8(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_log_warn
	movq	32(%rbx), %rdi
	callq	_fptr_whitelist_alloc_cleanup
	movl	%eax, %edi
	callq	_fptr_ok
	movl	24(%rbx), %edi
	callq	*32(%rbx)
	movq	$0, 8(%rbx)
	jmp	LBB0_14
LBB0_11:
	movl	36(%r12), %edi
	callq	_comm_timer_disable
	movl	(%r14), %edi
	leaq	L_.str.12(%rip), %rsi
	xorl	%eax, %eax
	callq	_verbose
	movq	16(%rbx), %rdi
	movl	32(%r12), %esi
	callq	_rbtree_delete
	movq	24(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.12:
	callq	_fptr_whitelist_pending_udp
	movl	%eax, %edi
	callq	_fptr_ok
	movq	8(%r12), %rax
	movq	(%rax), %rdi
	movl	16(%r12), %esi
	movq	_NETEVENT_NOERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rcx
	callq	*24(%r12)
LBB0_13:
	movq	8(%r12), %rsi
	movq	%rbx, %rdi
	callq	_portcomm_loweruse
	xorl	%edi, %edi
	movq	%r12, %rsi
	callq	_pending_delete
	movq	%rbx, %rdi
	callq	_outnet_send_wait_udp
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"answer cb"

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

	.comm	_LDNS_HEADER_SIZE,8,3           ## @LDNS_HEADER_SIZE
L_.str.2:                               ## @.str.2
	.asciz	"outnetudp udp too short"

L_.str.3:                               ## @.str.3
	.asciz	"Incoming reply id = %4.4x"

L_.str.4:                               ## @.str.4
	.asciz	"Incoming reply addr ="

L_.str.5:                               ## @.str.5
	.asciz	"lookup size is %d entries"

L_.str.6:                               ## @.str.6
	.asciz	"received unwanted or unsolicited udp reply dropped."

L_.str.7:                               ## @.str.7
	.asciz	"dropped message"

L_.str.8:                               ## @.str.8
	.asciz	"unwanted reply total reached threshold (%u) you may be under attack. defensive action: clearing the cache"

L_.str.9:                               ## @.str.9
	.asciz	"received udp reply."

L_.str.10:                              ## @.str.10
	.asciz	"udp message"

L_.str.11:                              ## @.str.11
	.asciz	"received reply id,addr on wrong port. dropped."

L_.str.12:                              ## @.str.12
	.asciz	"outnet handle udp reply"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_outnet_udp_cb                  ; -- Begin function outnet_udp_cb
	.p2align	2
_outnet_udp_cb:                         ; @outnet_udp_cb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x22, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x24, _VERB_ALGO@GOTPAGE
Lloh1:
	ldr	x24, [x24, _VERB_ALGO@GOTPAGEOFF]
	ldr	w0, [x24]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_verbose
Lloh4:
	adrp	x23, _NETEVENT_NOERROR@GOTPAGE
Lloh5:
	ldr	x23, [x23, _NETEVENT_NOERROR@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, w22
	b.ne	LBB0_3
; %bb.1:
	ldr	w0, [x21]
	bl	_sldns_buffer_limit
Lloh6:
	adrp	x8, _LDNS_HEADER_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LDNS_HEADER_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ge	LBB0_6
; %bb.2:
Lloh9:
	adrp	x8, _VERB_QUERY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _VERB_QUERY@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_4
LBB0_3:
Lloh14:
	adrp	x8, _VERB_QUERY@GOTPAGE
Lloh15:
	ldr	x8, [x8, _VERB_QUERY@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	str	x22, [sp]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_4:
	bl	_verbose
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_6:
	mov	x0, x20
	bl	_log_assert
	ldr	w0, [x21]
	bl	_sldns_buffer_begin
	bl	_LDNS_ID_WIRE
	str	w0, [sp, #16]
	add	x8, sp, #16
	add	x0, x8, #44
	add	x22, x20, #4
	ldr	w2, [x20]
	mov	x1, x22
	bl	_memcpy
	ldr	w8, [x20]
	str	w8, [sp, #56]
	ldr	w0, [x24]
	ldr	w8, [sp, #16]
	str	x8, [sp]
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_verbose
	ldr	w0, [x24]
	ldr	w3, [x20]
Lloh21:
	adrp	x1, l_.str.4@PAGE
Lloh22:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x2, x22
	bl	_log_addr
	ldr	w0, [x24]
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	str	x8, [sp]
Lloh23:
	adrp	x1, l_.str.5@PAGE
Lloh24:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_verbose
	ldr	x0, [x19, #16]
	add	x1, sp, #16
	bl	_rbtree_search
	cbz	x0, LBB0_9
; %bb.7:
	mov	x22, x0
	ldr	w0, [x24]
Lloh25:
	adrp	x1, l_.str.9@PAGE
Lloh26:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_verbose
	ldr	w0, [x24]
	ldr	w2, [x21]
Lloh27:
	adrp	x1, l_.str.10@PAGE
Lloh28:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_log_buf
	ldr	x8, [x22, #8]
	ldr	x8, [x8]
	cmp	x8, x21
	b.eq	LBB0_13
; %bb.8:
Lloh29:
	adrp	x8, _VERB_QUERY@GOTPAGE
Lloh30:
	ldr	x8, [x8, _VERB_QUERY@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
Lloh32:
	adrp	x1, l_.str.11@PAGE
Lloh33:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_verbose
	b	LBB0_10
LBB0_9:
Lloh34:
	adrp	x8, _VERB_QUERY@GOTPAGE
Lloh35:
	ldr	x8, [x8, _VERB_QUERY@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
Lloh37:
	adrp	x1, l_.str.6@PAGE
Lloh38:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_verbose
	ldr	w0, [x24]
	ldr	w2, [x21]
Lloh39:
	adrp	x1, l_.str.7@PAGE
Lloh40:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_log_buf
LBB0_10:
	ldr	w8, [x19, #40]
	add	w8, w8, #1
	str	w8, [x19, #40]
	ldr	x1, [x19]
	cbz	x1, LBB0_5
; %bb.11:
	ldr	x8, [x19, #8]
	add	x8, x8, #1
	str	x8, [x19, #8]
	cmp	x8, x1
	b.lt	LBB0_5
; %bb.12:
Lloh41:
	adrp	x0, l_.str.8@PAGE
Lloh42:
	add	x0, x0, l_.str.8@PAGEOFF
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_log_warn
	ldr	x0, [x19, #32]
	bl	_fptr_whitelist_alloc_cleanup
	bl	_fptr_ok
	ldr	x8, [x19, #32]
	ldr	w0, [x19, #24]
	blr	x8
	str	xzr, [x19, #8]
	b	LBB0_5
LBB0_13:
	ldr	w0, [x22, #36]
	bl	_comm_timer_disable
	ldr	w0, [x24]
Lloh43:
	adrp	x1, l_.str.12@PAGE
Lloh44:
	add	x1, x1, l_.str.12@PAGEOFF
	bl	_verbose
	ldr	x0, [x19, #16]
	ldr	w1, [x22, #32]
	bl	_rbtree_delete
	ldr	x0, [x22, #24]
	cbz	x0, LBB0_15
; %bb.14:
	bl	_fptr_whitelist_pending_udp
	bl	_fptr_ok
	ldr	x8, [x22, #24]
	ldr	x9, [x22, #8]
	ldr	x0, [x9]
	ldr	w1, [x22, #16]
	ldr	w2, [x23]
	mov	x3, x20
	blr	x8
LBB0_15:
	ldr	x1, [x22, #8]
	mov	x0, x19
	bl	_portcomm_loweruse
	mov	x0, #0
	mov	x1, x22
	bl	_pending_delete
	mov	x0, x19
	bl	_outnet_send_wait_udp
	b	LBB0_5
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"answer cb"

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

	.comm	_LDNS_HEADER_SIZE,8,3           ; @LDNS_HEADER_SIZE
l_.str.2:                               ; @.str.2
	.asciz	"outnetudp udp too short"

l_.str.3:                               ; @.str.3
	.asciz	"Incoming reply id = %4.4x"

l_.str.4:                               ; @.str.4
	.asciz	"Incoming reply addr ="

l_.str.5:                               ; @.str.5
	.asciz	"lookup size is %d entries"

l_.str.6:                               ; @.str.6
	.asciz	"received unwanted or unsolicited udp reply dropped."

l_.str.7:                               ; @.str.7
	.asciz	"dropped message"

l_.str.8:                               ; @.str.8
	.asciz	"unwanted reply total reached threshold (%u) you may be under attack. defensive action: clearing the cache"

l_.str.9:                               ; @.str.9
	.asciz	"received udp reply."

l_.str.10:                              ; @.str.10
	.asciz	"udp message"

l_.str.11:                              ; @.str.11
	.asciz	"received reply id,addr on wrong port. dropped."

l_.str.12:                              ; @.str.12
	.asciz	"outnet handle udp reply"

.subsections_via_symbols
