	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_response_type_from_cache       ## -- Begin function response_type_from_cache
	.p2align	4, 0x90
_response_type_from_cache:              ## @response_type_from_cache
	.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
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movl	16(%rax), %edi
	callq	_FLAGS_GET_RCODE
	movq	_LDNS_RCODE_NXDOMAIN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_14
## %bb.1:
	movq	(%r13), %rax
	movq	_LDNS_RR_TYPE_ANY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_14
## %bb.2:
	movq	(%r14), %rax
	cmpq	$0, (%rax)
	jle	LBB0_14
## %bb.3:
	movq	24(%r13), %rcx
	movq	%rcx, -48(%rbp)
	movq	8(%r13), %rcx
	movq	%rcx, -56(%rbp)
	cmpq	$0, (%rax)
	je	LBB0_14
## %bb.4:
	xorl	%r15d, %r15d
	movq	_LDNS_RR_TYPE_CNAME@GOTPCREL(%rip), %r12
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	incq	%r15
	movq	(%r14), %rax
	cmpq	(%rax), %r15
	jae	LBB0_12
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rax), %rax
	movq	(%rax,%r15,8), %rbx
	movl	4(%rbx), %edi
	callq	_ntohs
	cmpq	(%r13), %rax
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	8(%rbx), %edi
	callq	_ntohs
	cmpq	16(%r13), %rax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-48(%rbp), %rdi
	movl	(%rbx), %esi
	callq	_query_dname_compare
	testq	%rax, %rax
	je	LBB0_14
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	4(%rbx), %edi
	callq	_ntohs
	cmpq	(%r12), %rax
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-48(%rbp), %rdi
	movl	(%rbx), %esi
	callq	_query_dname_compare
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	leaq	-48(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	callq	_get_cname_target
	jmp	LBB0_11
LBB0_12:
	movq	-48(%rbp), %rax
	cmpq	24(%r13), %rax
	je	LBB0_14
## %bb.13:
	movq	_RESPONSE_TYPE_CNAME@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_14:
	movq	_RESPONSE_TYPE_ANSWER@GOTPCREL(%rip), %rax
LBB0_15:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RCODE_NXDOMAIN,8,3        ## @LDNS_RCODE_NXDOMAIN
	.comm	_RESPONSE_TYPE_ANSWER,4,2       ## @RESPONSE_TYPE_ANSWER
	.comm	_LDNS_RR_TYPE_ANY,8,3           ## @LDNS_RR_TYPE_ANY
	.comm	_LDNS_RR_TYPE_CNAME,8,3         ## @LDNS_RR_TYPE_CNAME
	.comm	_RESPONSE_TYPE_CNAME,4,2        ## @RESPONSE_TYPE_CNAME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_response_type_from_cache       ; -- Begin function response_type_from_cache
	.p2align	2
_response_type_from_cache:              ; @response_type_from_cache
	.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	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
	ldr	w0, [x8, #16]
	bl	_FLAGS_GET_RCODE
Lloh0:
	adrp	x8, _LDNS_RCODE_NXDOMAIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LDNS_RCODE_NXDOMAIN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_15
; %bb.1:
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _LDNS_RR_TYPE_ANY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LDNS_RR_TYPE_ANY@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_15
; %bb.2:
	ldr	x8, [x20]
	ldr	x9, [x8]
	cmp	x9, #1
	b.lt	LBB0_15
; %bb.3:
	ldr	x10, [x19, #24]
	ldr	x9, [x19, #8]
	stp	x9, x10, [sp]
	ldr	x9, [x8]
	cbz	x9, LBB0_15
; %bb.4:
	mov	x23, #0
Lloh6:
	adrp	x22, _RESPONSE_TYPE_ANSWER@GOTPAGE
Lloh7:
	ldr	x22, [x22, _RESPONSE_TYPE_ANSWER@GOTPAGEOFF]
Lloh8:
	adrp	x24, _LDNS_RR_TYPE_CNAME@GOTPAGE
Lloh9:
	ldr	x24, [x24, _LDNS_RR_TYPE_CNAME@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x23, x23, #1
	ldr	x8, [x20]
	ldr	x9, [x8]
	cmp	x23, x9
	b.hs	LBB0_12
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8, #8]
	ldr	x21, [x8, x23, lsl #3]
	ldr	w0, [x21, #4]
	bl	_ntohs
	ldr	x8, [x19]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x21, #8]
	bl	_ntohs
	ldr	x8, [x19, #16]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [sp, #8]
	ldr	w1, [x21]
	bl	_query_dname_compare
	cbz	x0, LBB0_14
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x21, #4]
	bl	_ntohs
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [sp, #8]
	ldr	w1, [x21]
	bl	_query_dname_compare
	cbnz	x0, LBB0_5
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x1, sp, #8
	mov	x2, sp
	mov	x0, x21
	bl	_get_cname_target
	b	LBB0_5
LBB0_12:
	ldr	x8, [sp, #8]
	ldr	x9, [x19, #24]
	cmp	x8, x9
	b.eq	LBB0_15
; %bb.13:
Lloh10:
	adrp	x22, _RESPONSE_TYPE_CNAME@GOTPAGE
Lloh11:
	ldr	x22, [x22, _RESPONSE_TYPE_CNAME@GOTPAGEOFF]
LBB0_14:
	ldr	w0, [x22]
	b	LBB0_16
LBB0_15:
Lloh12:
	adrp	x8, _RESPONSE_TYPE_ANSWER@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RESPONSE_TYPE_ANSWER@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
LBB0_16:
	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
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RCODE_NXDOMAIN,8,3        ; @LDNS_RCODE_NXDOMAIN
	.comm	_RESPONSE_TYPE_ANSWER,4,2       ; @RESPONSE_TYPE_ANSWER
	.comm	_LDNS_RR_TYPE_ANY,8,3           ; @LDNS_RR_TYPE_ANY
	.comm	_LDNS_RR_TYPE_CNAME,8,3         ; @LDNS_RR_TYPE_CNAME
	.comm	_RESPONSE_TYPE_CNAME,4,2        ; @RESPONSE_TYPE_CNAME
.subsections_via_symbols
