	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function change_rrsig_rrset
_change_rrsig_rrset:                    ## @change_rrsig_rrset
	.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
	movl	%r9d, %r12d
                                        ## kill: def $r8d killed $r8d def $r8
	movq	%rcx, %r14
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movl	72(%rdi), %ecx
	movl	80(%rdi), %esi
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rdi
	movq	%r14, %rdx
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_pkt_hash_rrset
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	(%rbx), %rax
	movq	_LDNS_RR_TYPE_RRSIG@GOTPCREL(%rip), %r15
	xorl	%edi, %edi
	cmpq	(%r15), %rax
	sete	%dil
	callq	_log_assert
	xorl	%edi, %edi
	cmpq	%r14, (%r15)
	setne	%dil
	callq	_log_assert
	testl	%r12d, %r12d
	je	LBB0_13
## %bb.1:
	movq	24(%rbp), %r12
	movl	80(%rbx), %esi
	movl	72(%rbx), %r8d
	movl	76(%rbx), %edx
	subq	$8, %rsp
	movq	%r13, %rdi
	movq	%r14, %rcx
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	pushq	%r12
	movl	16(%rbp), %r15d
	pushq	%r15
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	callq	_new_rrset
	addq	$32, %rsp
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %r14
	cmpl	$128, %r15d
	je	LBB0_7
## %bb.4:
	cmpl	$130, %r15d
	je	LBB0_8
## %bb.5:
	cmpl	$129, %r15d
	jne	LBB0_9
## %bb.6:
	incl	24(%r13)
	jmp	LBB0_10
LBB0_13:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_msgparse_bucket_remove
	movq	8(%r13), %rax
	movq	_PARSE_TABLE_SIZE@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	decq	%rcx
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movslq	%esi, %rdx
	andq	%rcx, %rdx
	movq	(%rax,%rdx,8), %rcx
	movq	%rcx, 64(%rbx)
	movq	%rbx, (%rax,%rdx,8)
	movl	%esi, 8(%rbx)
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	16(%rbp), %edx
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_change_section
	movq	%r14, (%rbx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, 60(%rbx)
	movl	48(%rbx), %eax
	addl	%eax, 56(%rbx)
	movq	$0, 48(%rbx)
	movq	24(%rbx), %rax
	movq	32(%rbx), %rcx
	leaq	40(%rbx), %rdx
	testq	%rcx, %rcx
	cmovneq	%rcx, %rdx
	movq	%rax, (%rdx)
	movq	16(%rbx), %rax
	movq	%rax, 32(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rbx)
	jmp	LBB0_14
LBB0_2:
	xorl	%ebx, %ebx
	jmp	LBB0_14
LBB0_7:
	incl	20(%r13)
	jmp	LBB0_10
LBB0_8:
	incl	16(%r13)
	jmp	LBB0_10
LBB0_9:
	xorl	%edi, %edi
	callq	_log_assert
LBB0_10:
	movq	(%r13), %rax
	movl	$1, %r8d
	movq	_LDNS_RR_TYPE_RRSIG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_12
## %bb.11:
	movq	_LDNS_RR_TYPE_ANY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%al
	cmpl	$129, %r15d
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %r8d
LBB0_12:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	callq	_moveover_rrsigs
	xorl	%ecx, %ecx
	testl	%eax, %eax
	cmoveq	%rcx, %r14
	movq	%r14, %rbx
LBB0_14:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RR_TYPE_RRSIG,8,3         ## @LDNS_RR_TYPE_RRSIG
	.comm	_LDNS_RR_TYPE_ANY,8,3           ## @LDNS_RR_TYPE_ANY
	.comm	_PARSE_TABLE_SIZE,4,2           ## @PARSE_TABLE_SIZE
	.no_dead_strip	_change_rrsig_rrset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function change_rrsig_rrset
_change_rrsig_rrset:                    ; @change_rrsig_rrset
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x20, x6
	mov	x27, x5
	mov	x24, x4
	mov	x25, x3
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
	ldr	w1, [x0, #80]
	ldr	w3, [x0, #72]
	mov	x0, x2
	mov	x2, x25
	bl	_pkt_hash_rrset
	mov	x26, x0
	ldr	x8, [x19]
Lloh0:
	adrp	x28, _LDNS_RR_TYPE_RRSIG@GOTPAGE
Lloh1:
	ldr	x28, [x28, _LDNS_RR_TYPE_RRSIG@GOTPAGEOFF]
	ldr	x9, [x28]
	cmp	x8, x9
	cset	w0, eq
	bl	_log_assert
	ldr	x8, [x28]
	cmp	x8, x25
	cset	w0, ne
	bl	_log_assert
	cbz	w27, LBB0_6
; %bb.1:
	ldp	w2, w1, [x19, #76]
	ldr	w4, [x19, #72]
	str	x21, [sp]
	mov	x0, x23
	mov	x3, x25
	mov	x5, x26
	mov	x6, x24
	mov	x7, x20
	bl	_new_rrset
	cbz	x0, LBB0_7
; %bb.2:
	mov	x24, x0
	cmp	w20, #128
	b.eq	LBB0_8
; %bb.3:
	cmp	w20, #130
	b.eq	LBB0_9
; %bb.4:
	cmp	w20, #129
	b.ne	LBB0_10
; %bb.5:
	ldr	w8, [x23, #24]
	add	w8, w8, #1
	str	w8, [x23, #24]
	b	LBB0_11
LBB0_6:
	mov	x0, x23
	mov	x1, x19
	bl	_msgparse_bucket_remove
	ldr	x8, [x23, #8]
Lloh2:
	adrp	x9, _PARSE_TABLE_SIZE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PARSE_TABLE_SIZE@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	sub	w9, w9, #1
	and	w9, w9, w26
	sbfiz	x9, x9, #3, #32
	ldr	x10, [x8, x9]
	str	x10, [x19, #64]
	str	x19, [x8, x9]
	str	w26, [x19, #8]
	mov	x0, x23
	mov	x1, x19
	mov	x2, x20
	bl	_change_section
	str	x25, [x19]
	ldr	w8, [x19, #48]
	ldr	w9, [x19, #56]
	add	w8, w9, w8
	stp	w8, w24, [x19, #56]
	str	xzr, [x19, #48]
	ldr	x8, [x19, #32]
	add	x9, x19, #40
	cmp	x8, #0
	csel	x8, x9, x8, eq
	ldp	x10, x9, [x19, #16]
	str	x9, [x8]
	stp	xzr, x10, [x19, #24]
	str	xzr, [x19, #16]
	b	LBB0_15
LBB0_7:
	mov	x19, #0
	b	LBB0_15
LBB0_8:
	ldr	w8, [x23, #20]
	add	w8, w8, #1
	str	w8, [x23, #20]
	b	LBB0_11
LBB0_9:
	ldr	w8, [x23, #16]
	add	w8, w8, #1
	str	w8, [x23, #16]
	b	LBB0_11
LBB0_10:
	mov	w0, #0
	bl	_log_assert
LBB0_11:
	ldr	x8, [x23]
	ldr	x9, [x28]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.12:
	mov	w4, #1
	b	LBB0_14
LBB0_13:
Lloh5:
	adrp	x9, _LDNS_RR_TYPE_ANY@GOTPAGE
Lloh6:
	ldr	x9, [x9, _LDNS_RR_TYPE_ANY@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	w20, #129
	ccmp	x8, x9, #0, ne
	cset	w4, eq
LBB0_14:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	mov	x3, x24
	bl	_moveover_rrsigs
	cmp	w0, #0
	csel	x19, xzr, x24, eq
LBB0_15:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_TYPE_RRSIG,8,3         ; @LDNS_RR_TYPE_RRSIG
	.comm	_LDNS_RR_TYPE_ANY,8,3           ; @LDNS_RR_TYPE_ANY
	.comm	_PARSE_TABLE_SIZE,4,2           ; @PARSE_TABLE_SIZE
	.no_dead_strip	_change_rrsig_rrset
.subsections_via_symbols
