	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dns_cache_store_msg            ## -- Begin function dns_cache_store_msg
	.p2align	4, 0x90
_dns_cache_store_msg:                   ## @dns_cache_store_msg
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -52(%rbp)                 ## 4-byte Spill
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r13
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	movq	32(%rbp), %r12
	movl	24(%rbp), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	16(%rbp), %r15
	movq	(%rcx), %rbx
	movq	8(%rcx), %r9
	testq	%r9, %r9
	je	LBB0_7
## %bb.1:
	movq	16(%r13), %rcx
	movq	24(%r13), %r8
	cmpq	$1, %r9
	jne	LBB0_3
## %bb.2:
	xorl	%esi, %esi
	jmp	LBB0_5
LBB0_3:
	movq	%r9, %rdi
	andq	$-2, %rdi
	leaq	24(%r8), %rax
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rsi,8), %rdx
	movq	%rdx, -16(%rax)
	movq	(%rcx,%rsi,8), %rdx
	movl	(%rdx), %edx
	movl	%edx, -24(%rax)
	movq	8(%rcx,%rsi,8), %rdx
	movq	%rdx, (%rax)
	movq	8(%rcx,%rsi,8), %rdx
	movl	(%rdx), %edx
	movl	%edx, -8(%rax)
	addq	$2, %rsi
	addq	$32, %rax
	cmpq	%rsi, %rdi
	jne	LBB0_4
LBB0_5:
	testb	$1, %r9b
	je	LBB0_7
## %bb.6:
	movq	(%rcx,%rsi,8), %rax
	movq	%rsi, %rdx
	shlq	$4, %rdx
	movq	%rax, 8(%r8,%rdx)
	movq	(%rcx,%rsi,8), %rax
	movl	(%rax), %eax
	movl	%eax, (%r8,%rdx)
LBB0_7:
	movq	8(%r14), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_reply_info_set_ttls
	movq	8(%r14), %rax
	movl	(%rax), %edx
	movq	%r12, (%rsp)
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	-52(%rbp), %r8d                 ## 4-byte Reload
	movq	%r15, %r9
	callq	_store_rrsets
	testq	%rbx, %rbx
	jne	LBB0_9
## %bb.8:
	movq	_DNSCACHE_STORE_ZEROTTL@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	je	LBB0_11
LBB0_9:
	movq	%r13, %rdi
	callq	_reply_info_sortref
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edx
	callq	_query_info_entrysetup
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	movl	(%r14), %r8d
	movl	4(%r14), %edi
	movl	%ebx, %esi
	movq	%rax, %rdx
	movq	%r13, %rcx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_slabhash_insert                ## TAILCALL
LBB0_12:
	leaq	L_.str.1(%rip), %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_log_err                        ## TAILCALL
LBB0_11:
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_verbose
	movq	%r13, %rdi
	callq	_free
	movq	%r14, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_msg_del_servfail               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DNSCACHE_STORE_ZEROTTL,4,2     ## @DNSCACHE_STORE_ZEROTTL
	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TTL 0: dropped msg from cache"

L_.str.1:                               ## @.str.1
	.asciz	"store_msg: malloc failed"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dns_cache_store_msg            ; -- Begin function dns_cache_store_msg
	.p2align	2
_dns_cache_store_msg:                   ; @dns_cache_store_msg
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x7
	mov	x24, x6
	mov	x25, x5
	mov	x26, x4
	mov	x19, x3
	mov	x23, x2
	mov	x22, x1
	mov	x20, x0
	ldr	x27, [x29, #16]
	ldp	x28, x8, [x3]
	cbz	x8, LBB0_3
; %bb.1:
	ldp	x9, x10, [x19, #16]
	add	x10, x10, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x9]
	str	x11, [x10]
	ldr	x11, [x9], #8
	ldr	w11, [x11]
	stur	w11, [x10, #-8]
	add	x10, x10, #16
	subs	x8, x8, #1
	b.ne	LBB0_2
LBB0_3:
	ldr	x8, [x20, #8]
	ldr	w1, [x8]
	mov	x0, x19
	bl	_reply_info_set_ttls
	ldr	x8, [x20, #8]
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	x3, x26
	mov	x4, x25
	mov	x5, x24
	mov	x6, x27
	bl	_store_rrsets
	cbnz	x28, LBB0_5
; %bb.4:
Lloh0:
	adrp	x8, _DNSCACHE_STORE_ZEROTTL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DNSCACHE_STORE_ZEROTTL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_8
LBB0_5:
	mov	x0, x19
	bl	_reply_info_sortref
	mov	x0, x22
	mov	x1, x19
	mov	x2, x23
	bl	_query_info_entrysetup
	cbz	x0, LBB0_7
; %bb.6:
	mov	x2, x0
	ldp	w4, w0, [x20]
	mov	x1, x23
	mov	x3, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_slabhash_insert
LBB0_7:
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_log_err
LBB0_8:
Lloh5:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_verbose
	mov	x0, x19
	bl	_free
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_msg_del_servfail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_DNSCACHE_STORE_ZEROTTL,4,2     ; @DNSCACHE_STORE_ZEROTTL
	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TTL 0: dropped msg from cache"

l_.str.1:                               ; @.str.1
	.asciz	"store_msg: malloc failed"

.subsections_via_symbols
