	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_pkt_rr                    ## -- Begin function ldns_pkt_rr
	.p2align	4, 0x90
_ldns_pkt_rr:                           ## @ldns_pkt_rr
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $esi killed $esi def $rsi
	addl	$-128, %esi
	cmpl	$5, %esi
	ja	LBB0_1
## %bb.2:
	movq	%rdx, %r14
	movq	%rdi, %rbx
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_3:
	movq	%rbx, %rdi
	callq	_ldns_pkt_question
	jmp	LBB0_4
LBB0_1:
	xorl	%r15d, %r15d
	jmp	LBB0_12
LBB0_6:
	movq	%rbx, %rdi
	callq	_ldns_pkt_authority
	jmp	LBB0_4
LBB0_8:
	movq	%rbx, %rdi
	callq	_ldns_pkt_question
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_ldns_rr_list_contains_rr
	movl	$1, %r15d
	testl	%eax, %eax
	jne	LBB0_12
LBB0_9:
	movq	%rbx, %rdi
	callq	_ldns_pkt_answer
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_ldns_rr_list_contains_rr
	movl	$1, %r15d
	testl	%eax, %eax
	jne	LBB0_12
## %bb.10:
	movq	%rbx, %rdi
	callq	_ldns_pkt_authority
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_ldns_rr_list_contains_rr
	testl	%eax, %eax
	jne	LBB0_12
## %bb.11:
	movq	%rbx, %rdi
	callq	_ldns_pkt_additional
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_ldns_rr_list_contains_rr
	xorl	%r15d, %r15d
	testl	%eax, %eax
	setne	%r15b
LBB0_12:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%rbx, %rdi
	callq	_ldns_pkt_answer
	jmp	LBB0_4
LBB0_7:
	movq	%rbx, %rdi
	callq	_ldns_pkt_additional
LBB0_4:
	movl	%eax, %edi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ldns_rr_list_contains_rr       ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_6
	.long	L0_0_set_9
	.long	L0_0_set_8
	.long	L0_0_set_5
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_pkt_rr                    ; -- Begin function ldns_pkt_rr
	.p2align	2
_ldns_pkt_rr:                           ; @ldns_pkt_rr
	.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
	sub	w8, w1, #128
	cmp	w8, #5
	b.hi	LBB0_3
; %bb.1:
	mov	x19, x2
	mov	x20, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	x0, x20
	bl	_ldns_pkt_question
	b	LBB0_12
LBB0_3:
	mov	w0, #0
	b	LBB0_9
LBB0_4:
	mov	x0, x20
	bl	_ldns_pkt_authority
	b	LBB0_12
LBB0_5:
	mov	x0, x20
	bl	_ldns_pkt_question
	mov	x1, x19
	bl	_ldns_rr_list_contains_rr
	cbnz	w0, LBB0_8
LBB0_6:
	mov	x0, x20
	bl	_ldns_pkt_answer
	mov	x1, x19
	bl	_ldns_rr_list_contains_rr
	cbnz	w0, LBB0_8
; %bb.7:
	mov	x0, x20
	bl	_ldns_pkt_authority
	mov	x1, x19
	bl	_ldns_rr_list_contains_rr
	cbz	w0, LBB0_13
LBB0_8:
	mov	w0, #1
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_10:
	mov	x0, x20
	bl	_ldns_pkt_answer
	b	LBB0_12
LBB0_11:
	mov	x0, x20
	bl	_ldns_pkt_additional
LBB0_12:
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ldns_rr_list_contains_rr
LBB0_13:
	mov	x0, x20
	bl	_ldns_pkt_additional
	mov	x1, x19
	bl	_ldns_rr_list_contains_rr
	cmp	w0, #0
	cset	w0, ne
	b	LBB0_9
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
                                        ; -- End function
.subsections_via_symbols
