	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_context_deserialize_answer     ## -- Begin function context_deserialize_answer
	.p2align	4, 0x90
_context_deserialize_answer:            ## @context_deserialize_answer
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$48, %rdx
	jb	LBB0_1
## %bb.2:
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_sldns_read_uint32
	movq	_UB_LIBCMD_ANSWER@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_log_assert
	leaq	32(%r12), %rdi
	callq	_sldns_read_uint32
	movl	%eax, -44(%rbp)
	leaq	-44(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_rbtree_search
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %rbx
	leaq	64(%r12), %rdi
	callq	_sldns_read_uint32
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	%eax, (%r14)
	leaq	96(%r12), %rdi
	callq	_sldns_read_uint32
	movq	%rax, 24(%rbx)
	leaq	128(%r12), %rdi
	callq	_sldns_read_uint32
	movq	16(%rbx), %rcx
	movl	%eax, (%rcx)
	leaq	160(%r12), %rdi
	callq	_sldns_read_uint32
	movq	%rax, %r13
	leaq	48(%rax), %r14
	cmpq	$49, %r15
	jb	LBB0_10
## %bb.4:
	testq	%r13, %r13
	je	LBB0_10
## %bb.5:
	cmpq	%r15, %r14
	jbe	LBB0_8
## %bb.6:
	movq	16(%rbx), %rax
	movq	8(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_9
	jmp	LBB0_12
LBB0_1:
	xorl	%ebx, %ebx
LBB0_13:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	leaq	192(%r12), %rdi
	movq	%r13, %rsi
	callq	_memdup
	movq	16(%rbx), %rcx
	movq	%rax, 8(%rcx)
	testq	%rax, %rax
	je	LBB0_12
LBB0_9:
	movb	$0, -1(%r13,%rax)
LBB0_10:
	cmpq	%r15, %r14
	jae	LBB0_13
## %bb.11:
	subq	%r13, %r15
	addq	$-48, %r15
	movq	%r15, (%rbx)
	leaq	(%r12,%r13,4), %rdi
	addq	$192, %rdi
	movq	%r15, %rsi
	callq	_memdup
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	jne	LBB0_13
LBB0_12:
	movq	$0, (%rbx)
	movq	_UB_NOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_UB_LIBCMD_ANSWER,8,3           ## @UB_LIBCMD_ANSWER
	.comm	_UB_NOMEM,4,2                   ## @UB_NOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_context_deserialize_answer     ; -- Begin function context_deserialize_answer
	.p2align	2
_context_deserialize_answer:            ; @context_deserialize_answer
	.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
	cmp	x2, #48
	b.hs	LBB0_2
; %bb.1:
	mov	x22, #0
	b	LBB0_12
LBB0_2:
	mov	x19, x3
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
	mov	x0, x1
	bl	_sldns_read_uint32
Lloh0:
	adrp	x8, _UB_LIBCMD_ANSWER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UB_LIBCMD_ANSWER@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, eq
	bl	_log_assert
	add	x0, x20, #32
	bl	_sldns_read_uint32
	str	w0, [sp, #12]
	add	x1, sp, #12
	mov	x0, x22
	bl	_rbtree_search
	mov	x22, x0
	cbz	x0, LBB0_12
; %bb.3:
	add	x0, x20, #64
	bl	_sldns_read_uint32
	str	w0, [x19]
	add	x0, x20, #96
	bl	_sldns_read_uint32
	str	x0, [x22, #24]
	add	x0, x20, #128
	bl	_sldns_read_uint32
	ldr	x8, [x22, #16]
	str	w0, [x8]
	add	x0, x20, #160
	bl	_sldns_read_uint32
	mov	x23, x0
	add	x24, x0, #48
	cmp	x21, #49
	b.lo	LBB0_9
; %bb.4:
	cbz	x23, LBB0_9
; %bb.5:
	cmp	x24, x21
	b.ls	LBB0_7
; %bb.6:
	ldr	x8, [x22, #16]
	ldr	x0, [x8, #8]
	cbnz	x0, LBB0_8
	b	LBB0_11
LBB0_7:
	add	x0, x20, #192
	mov	x1, x23
	bl	_memdup
	ldr	x8, [x22, #16]
	str	x0, [x8, #8]
	cbz	x0, LBB0_11
LBB0_8:
	add	x8, x23, x0
	sturb	wzr, [x8, #-1]
LBB0_9:
	cmp	x24, x21
	b.hs	LBB0_12
; %bb.10:
	sub	x8, x21, x23
	sub	x1, x8, #48
	str	x1, [x22]
	add	x8, x20, x23, lsl #2
	add	x0, x8, #192
	bl	_memdup
	str	x0, [x22, #8]
	cbnz	x0, LBB0_12
LBB0_11:
	str	xzr, [x22]
Lloh3:
	adrp	x8, _UB_NOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _UB_NOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_12:
	mov	x0, x22
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_UB_LIBCMD_ANSWER,8,3           ; @UB_LIBCMD_ANSWER
	.comm	_UB_NOMEM,4,2                   ; @UB_NOMEM
.subsections_via_symbols
