	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_context_finalize               ## -- Begin function context_finalize
	.p2align	4, 0x90
_context_finalize:                      ## @context_finalize
	.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	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	16(%rax), %r14
	movl	20(%r14), %eax
	movq	_verbosity@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	cmpq	$0, 32(%rdi)
	je	LBB0_2
## %bb.1:
	movl	24(%rbx), %edi
	callq	_log_file
	jmp	LBB0_3
LBB0_2:
	movl	12(%r14), %esi
	movl	16(%r14), %edi
	xorl	%edx, %edx
	callq	_log_init
LBB0_3:
	movq	%r14, %rdi
	callq	_config_apply
	leaq	20(%rbx), %rdi
	movl	8(%r14), %esi
	movq	8(%rbx), %rdx
	callq	_modstack_setup
	movq	_UB_INITFAIL@GOTPCREL(%rip), %r12
	testl	%eax, %eax
	je	LBB0_13
## %bb.4:
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%rbx), %rsi
	callq	_log_edns_known_options
	xorl	%eax, %eax
	callq	_local_zones_create
	movl	%eax, 16(%rbx)
	movq	_UB_NOMEM@GOTPCREL(%rip), %r15
	testl	%eax, %eax
	je	LBB0_12
## %bb.5:
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_local_zones_apply_cfg
	testl	%eax, %eax
	je	LBB0_13
## %bb.6:
	movq	8(%rbx), %rax
	movl	28(%rax), %edi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_auth_zones_apply_cfg
	testl	%eax, %eax
	je	LBB0_13
## %bb.7:
	movq	8(%rbx), %rax
	movl	24(%rax), %edi
	movl	(%r14), %esi
	movl	4(%r14), %edx
	callq	_slabhash_is_size
	movq	8(%rbx), %rcx
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:
	movl	24(%rcx), %edi
	callq	_slabhash_delete
	movl	(%r14), %edx
	movl	4(%r14), %edi
	movq	_HASH_DEFAULT_STARTARRAY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_msgreply_sizefunc@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_query_info_compare@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_query_entry_delete@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_reply_info_delete@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	pushq	$0
	pushq	%rax
	callq	_slabhash_create
	addq	$16, %rsp
	movq	8(%rbx), %rcx
	movl	%eax, 24(%rcx)
	testl	%eax, %eax
	je	LBB0_12
LBB0_9:
	movq	16(%rcx), %rsi
	movl	4(%rcx), %edi
	movl	8(%rcx), %edx
	callq	_rrset_cache_adjust
	movq	8(%rbx), %rcx
	movl	%eax, 4(%rcx)
	testl	%eax, %eax
	je	LBB0_12
## %bb.10:
	movl	(%rcx), %edi
	movq	%r14, %rsi
	callq	_infra_adjust
	movq	8(%rbx), %rcx
	movl	%eax, (%rcx)
	movq	%r15, %r12
	testl	%eax, %eax
	je	LBB0_13
## %bb.11:
	movl	$1, (%rbx)
	movq	_UB_NOERROR@GOTPCREL(%rip), %r12
	jmp	LBB0_13
LBB0_12:
	movq	%r15, %r12
LBB0_13:
	movl	(%r12), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_verbosity,4,2                  ## @verbosity
	.comm	_UB_INITFAIL,4,2                ## @UB_INITFAIL
	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
	.comm	_UB_NOMEM,4,2                   ## @UB_NOMEM
	.comm	_HASH_DEFAULT_STARTARRAY,4,2    ## @HASH_DEFAULT_STARTARRAY
	.comm	_msgreply_sizefunc,4,2          ## @msgreply_sizefunc
	.comm	_query_info_compare,4,2         ## @query_info_compare
	.comm	_query_entry_delete,4,2         ## @query_entry_delete
	.comm	_reply_info_delete,4,2          ## @reply_info_delete
	.comm	_UB_NOERROR,4,2                 ## @UB_NOERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_context_finalize               ; -- Begin function context_finalize
	.p2align	2
_context_finalize:                      ; @context_finalize
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x20, [x8, #16]
	ldr	w8, [x20, #20]
Lloh0:
	adrp	x9, _verbosity@GOTPAGE
Lloh1:
	ldr	x9, [x9, _verbosity@GOTPAGEOFF]
Lloh2:
	str	w8, [x9]
	ldr	x8, [x0, #32]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x19, #24]
	bl	_log_file
	b	LBB0_3
LBB0_2:
	ldp	w1, w0, [x20, #12]
	mov	x2, #0
	bl	_log_init
LBB0_3:
	mov	x0, x20
	bl	_config_apply
	add	x0, x19, #20
	ldr	w1, [x20, #8]
	ldr	x2, [x19, #8]
	bl	_modstack_setup
	cbz	w0, LBB0_12
; %bb.4:
Lloh3:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	x1, [x19, #8]
	bl	_log_edns_known_options
	bl	_local_zones_create
	str	w0, [x19, #16]
	cbz	w0, LBB0_13
; %bb.5:
	mov	x1, x20
	bl	_local_zones_apply_cfg
	cbz	w0, LBB0_12
; %bb.6:
	ldr	x8, [x19, #8]
	ldr	w0, [x8, #28]
	mov	x1, x20
	mov	w2, #1
	bl	_auth_zones_apply_cfg
	cbz	w0, LBB0_12
; %bb.7:
	ldr	x8, [x19, #8]
	ldr	w0, [x8, #24]
	ldp	w1, w2, [x20]
	bl	_slabhash_is_size
	ldr	x8, [x19, #8]
	cbnz	w0, LBB0_9
; %bb.8:
	ldr	w0, [x8, #24]
	bl	_slabhash_delete
Lloh6:
	adrp	x8, _HASH_DEFAULT_STARTARRAY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HASH_DEFAULT_STARTARRAY@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldp	w2, w0, [x20]
Lloh9:
	adrp	x8, _msgreply_sizefunc@GOTPAGE
Lloh10:
	ldr	x8, [x8, _msgreply_sizefunc@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
Lloh12:
	adrp	x8, _query_info_compare@GOTPAGE
Lloh13:
	ldr	x8, [x8, _query_info_compare@GOTPAGEOFF]
Lloh14:
	ldr	w4, [x8]
Lloh15:
	adrp	x8, _query_entry_delete@GOTPAGE
Lloh16:
	ldr	x8, [x8, _query_entry_delete@GOTPAGEOFF]
Lloh17:
	ldr	w5, [x8]
Lloh18:
	adrp	x8, _reply_info_delete@GOTPAGE
Lloh19:
	ldr	x8, [x8, _reply_info_delete@GOTPAGEOFF]
Lloh20:
	ldr	w6, [x8]
	mov	x7, #0
	bl	_slabhash_create
	ldr	x8, [x19, #8]
	str	w0, [x8, #24]
	cbz	w0, LBB0_13
LBB0_9:
	ldr	x1, [x8, #16]
	ldp	w0, w2, [x8, #4]
	bl	_rrset_cache_adjust
	ldr	x8, [x19, #8]
	str	w0, [x8, #4]
	cbz	w0, LBB0_13
; %bb.10:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_infra_adjust
	ldr	x8, [x19, #8]
	str	w0, [x8]
	cbz	w0, LBB0_13
; %bb.11:
	mov	w8, #1
	str	w8, [x19]
Lloh21:
	adrp	x8, _UB_NOERROR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _UB_NOERROR@GOTPAGEOFF]
	b	LBB0_14
LBB0_12:
Lloh23:
	adrp	x8, _UB_INITFAIL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _UB_INITFAIL@GOTPAGEOFF]
	b	LBB0_14
LBB0_13:
Lloh25:
	adrp	x8, _UB_NOMEM@GOTPAGE
Lloh26:
	ldr	x8, [x8, _UB_NOMEM@GOTPAGEOFF]
LBB0_14:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_verbosity,4,2                  ; @verbosity
	.comm	_UB_INITFAIL,4,2                ; @UB_INITFAIL
	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
	.comm	_UB_NOMEM,4,2                   ; @UB_NOMEM
	.comm	_HASH_DEFAULT_STARTARRAY,4,2    ; @HASH_DEFAULT_STARTARRAY
	.comm	_msgreply_sizefunc,4,2          ; @msgreply_sizefunc
	.comm	_query_info_compare,4,2         ; @query_info_compare
	.comm	_query_entry_delete,4,2         ; @query_entry_delete
	.comm	_reply_info_delete,4,2          ; @reply_info_delete
	.comm	_UB_NOERROR,4,2                 ; @UB_NOERROR
.subsections_via_symbols
