	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_autr_process_prime             ## -- Begin function autr_process_prime
	.p2align	4, 0x90
_autr_process_prime:                    ## @autr_process_prime
	.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	%r8, %r13
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r14
	movl	$0, -44(%rbp)
	xorl	%edi, %edi
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	cmpq	$0, 8(%rbx)
	setne	%dil
LBB0_2:
	callq	_log_assert
	movq	8(%rbx), %rax
	cmpq	$0, 24(%rax)
	je	LBB0_4
## %bb.3:
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%rbx), %r8d
	movl	20(%rbx), %edx
	movq	_LDNS_RR_TYPE_DNSKEY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rsi
	callq	_log_nametypeclass
	addq	$24, %rbx
	movq	%rbx, %rdi
	callq	_lock_basic_unlock
	xorl	%r12d, %r12d
	jmp	LBB0_28
LBB0_4:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %r12
	movq	(%r14), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 16(%rax)
	movq	_VERB_ALGO@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	16(%rbx), %r8d
	movl	20(%rbx), %edx
	movq	_LDNS_RR_TYPE_DNSKEY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.1(%rip), %rsi
	callq	_log_nametypeclass
	leaq	-44(%rbp), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_autr_holddown_exceed
	cmpl	$0, -44(%rbp)
	je	LBB0_6
## %bb.5:
	movl	(%r15), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_verbose
	movq	%rbx, %rdi
	callq	_autr_assemble
	testl	%eax, %eax
	je	LBB0_19
LBB0_6:
	testq	%r12, %r12
	je	LBB0_20
## %bb.7:
	movq	%r12, %r15
	leaq	-44(%rbp), %r8
	movq	%r14, %rdi
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	movq	%r13, %r9
	callq	_check_contains_revoked
	cmpl	$0, -44(%rbp)
	je	LBB0_11
## %bb.8:
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	callq	_verbose
	movq	%rbx, %rdi
	callq	_autr_assemble
	testl	%eax, %eax
	je	LBB0_19
## %bb.9:
	cmpl	$0, 4(%rbx)
	jne	LBB0_11
## %bb.10:
	cmpl	$0, (%rbx)
	je	LBB0_29
LBB0_11:
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	movq	%r13, %r8
	callq	_verify_dnskey
	testl	%eax, %eax
	je	LBB0_22
## %bb.12:
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	8(%rbx), %rcx
	movq	%rax, 8(%rcx)
	movq	$0, (%rcx)
	leaq	-44(%rbp), %r8
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	callq	_update_events
	testl	%eax, %eax
	je	LBB0_24
## %bb.13:
	leaq	-44(%rbp), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_do_statetable
	testl	%eax, %eax
	je	LBB0_25
## %bb.14:
	movq	%rbx, %rdi
	callq	_autr_cleanup_keys
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_set_next_probe
	xorl	%r12d, %r12d
	testl	%eax, %eax
	je	LBB0_28
## %bb.15:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_autr_write_file
	cmpl	$0, -44(%rbp)
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	je	LBB0_31
## %bb.16:
	leaq	L_.str.9(%rip), %rsi
	callq	_verbose
	movq	%rbx, %rdi
	callq	_autr_assemble
	testl	%eax, %eax
	je	LBB0_19
## %bb.17:
	movl	$1, %r12d
	cmpl	$0, 4(%rbx)
	jne	LBB0_28
## %bb.18:
	cmpl	$0, (%rbx)
	jne	LBB0_28
	jmp	LBB0_30
LBB0_19:
	leaq	L_.str.3(%rip), %rdi
LBB0_26:
	callq	_log_err
	jmp	LBB0_27
LBB0_20:
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
LBB0_21:
	callq	_verbose
LBB0_27:
	movl	$1, %r12d
LBB0_28:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	callq	_verbose
	movq	8(%rbx), %rax
	movl	$1, %r12d
	cmpq	$0, 8(%rax)
	je	LBB0_28
## %bb.23:
	incq	(%rax)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_autr_write_file
	jmp	LBB0_28
LBB0_24:
	leaq	L_.str.7(%rip), %rdi
	jmp	LBB0_26
LBB0_25:
	leaq	L_.str.8(%rip), %rdi
	jmp	LBB0_26
LBB0_29:
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	8(%rbx), %rcx
	movq	%rax, 8(%rcx)
LBB0_30:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_autr_tp_remove
	xorl	%r12d, %r12d
	jmp	LBB0_28
LBB0_31:
	leaq	L_.str.10(%rip), %rsi
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"autotrust not processed, trust point revoked"

	.comm	_LDNS_RR_TYPE_DNSKEY,4,2        ## @LDNS_RR_TYPE_DNSKEY
L_.str.1:                               ## @.str.1
	.asciz	"autotrust process for"

L_.str.2:                               ## @.str.2
	.asciz	"autotrust: morekeys, reassemble"

L_.str.3:                               ## @.str.3
	.asciz	"malloc failure assembling autotrust keys"

L_.str.4:                               ## @.str.4
	.asciz	"autotrust: no dnskey rrset"

L_.str.5:                               ## @.str.5
	.asciz	"autotrust: revokedkeys, reassemble"

L_.str.6:                               ## @.str.6
	.asciz	"autotrust: dnskey did not verify."

L_.str.7:                               ## @.str.7
	.asciz	"malloc failure in autotrust update_events. trust point unchanged."

L_.str.8:                               ## @.str.8
	.asciz	"malloc failure in autotrust do_statetable. trust point unchanged."

L_.str.9:                               ## @.str.9
	.asciz	"autotrust: changed, reassemble"

L_.str.10:                              ## @.str.10
	.asciz	"autotrust: no changes"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_autr_process_prime             ; -- Begin function autr_process_prime
	.p2align	2
_autr_process_prime:                    ; @autr_process_prime
	.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	x23, x4
	mov	x21, x3
	mov	x19, x2
	mov	x22, x1
	mov	x20, x0
	str	wzr, [sp, #12]
	cbz	x2, LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
	cmp	x8, #0
	cset	w0, ne
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	bl	_log_assert
	ldr	x8, [x19, #8]
	ldr	x9, [x8, #24]
	cbz	x9, LBB0_5
; %bb.4:
Lloh0:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _LDNS_RR_TYPE_DNSKEY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LDNS_RR_TYPE_DNSKEY@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	ldp	w4, w2, [x19, #16]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_log_nametypeclass
	add	x0, x19, #24
	bl	_lock_basic_unlock
	mov	w0, #0
	b	LBB0_27
LBB0_5:
	ldr	x9, [x20]
	ldr	x9, [x9]
	str	x9, [x8, #16]
Lloh8:
	adrp	x24, _VERB_ALGO@GOTPAGE
Lloh9:
	ldr	x24, [x24, _VERB_ALGO@GOTPAGEOFF]
	ldr	w0, [x24]
Lloh10:
	adrp	x8, _LDNS_RR_TYPE_DNSKEY@GOTPAGE
Lloh11:
	ldr	x8, [x8, _LDNS_RR_TYPE_DNSKEY@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x8]
	ldp	w4, w2, [x19, #16]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_log_nametypeclass
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x19
	bl	_autr_holddown_exceed
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_7
; %bb.6:
	ldr	w0, [x24]
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_verbose
	mov	x0, x19
	bl	_autr_assemble
	cbz	w0, LBB0_20
LBB0_7:
	cbz	x21, LBB0_22
; %bb.8:
	add	x4, sp, #12
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	mov	x3, x21
	mov	x5, x23
	bl	_check_contains_revoked
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_12
; %bb.9:
	ldr	w0, [x24]
Lloh17:
	adrp	x1, l_.str.5@PAGE
Lloh18:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_verbose
	mov	x0, x19
	bl	_autr_assemble
	cbz	w0, LBB0_20
; %bb.10:
	ldr	w8, [x19, #4]
	cbnz	w8, LBB0_12
; %bb.11:
	ldr	w8, [x19]
	cbz	w8, LBB0_30
LBB0_12:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	mov	x3, x21
	mov	x4, x23
	bl	_verify_dnskey
	cbz	w0, LBB0_24
; %bb.13:
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x9, [x19, #8]
	stp	xzr, x8, [x9]
	add	x4, sp, #12
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	mov	x3, x21
	bl	_update_events
	cbz	w0, LBB0_28
; %bb.14:
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x19
	bl	_do_statetable
	cbz	w0, LBB0_29
; %bb.15:
	mov	x0, x19
	bl	_autr_cleanup_keys
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_set_next_probe
	cbz	w0, LBB0_27
; %bb.16:
	mov	x0, x20
	mov	x1, x19
	bl	_autr_write_file
	ldr	w8, [sp, #12]
	ldr	w0, [x24]
	cbz	w8, LBB0_32
; %bb.17:
Lloh19:
	adrp	x1, l_.str.9@PAGE
Lloh20:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_verbose
	mov	x0, x19
	bl	_autr_assemble
	cbz	w0, LBB0_20
; %bb.18:
	ldr	w8, [x19, #4]
	cbnz	w8, LBB0_26
; %bb.19:
	ldr	w8, [x19]
	cbnz	w8, LBB0_26
	b	LBB0_31
LBB0_20:
Lloh21:
	adrp	x0, l_.str.3@PAGE
Lloh22:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_21:
	bl	_log_err
	b	LBB0_26
LBB0_22:
	ldr	w0, [x24]
Lloh23:
	adrp	x1, l_.str.4@PAGE
Lloh24:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_23:
	bl	_verbose
	b	LBB0_26
LBB0_24:
	ldr	w0, [x24]
Lloh25:
	adrp	x1, l_.str.6@PAGE
Lloh26:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_verbose
	ldr	x8, [x19, #8]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_26
; %bb.25:
	ldr	x9, [x8]
	add	x9, x9, #1
	str	x9, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_autr_write_file
LBB0_26:
	mov	w0, #1
LBB0_27:
	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
LBB0_28:
Lloh27:
	adrp	x0, l_.str.7@PAGE
Lloh28:
	add	x0, x0, l_.str.7@PAGEOFF
	b	LBB0_21
LBB0_29:
Lloh29:
	adrp	x0, l_.str.8@PAGE
Lloh30:
	add	x0, x0, l_.str.8@PAGEOFF
	b	LBB0_21
LBB0_30:
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x9, [x19, #8]
	str	x8, [x9, #8]
LBB0_31:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_autr_tp_remove
	mov	w0, #0
	b	LBB0_27
LBB0_32:
Lloh31:
	adrp	x1, l_.str.10@PAGE
Lloh32:
	add	x1, x1, l_.str.10@PAGEOFF
	b	LBB0_23
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"autotrust not processed, trust point revoked"

	.comm	_LDNS_RR_TYPE_DNSKEY,4,2        ; @LDNS_RR_TYPE_DNSKEY
l_.str.1:                               ; @.str.1
	.asciz	"autotrust process for"

l_.str.2:                               ; @.str.2
	.asciz	"autotrust: morekeys, reassemble"

l_.str.3:                               ; @.str.3
	.asciz	"malloc failure assembling autotrust keys"

l_.str.4:                               ; @.str.4
	.asciz	"autotrust: no dnskey rrset"

l_.str.5:                               ; @.str.5
	.asciz	"autotrust: revokedkeys, reassemble"

l_.str.6:                               ; @.str.6
	.asciz	"autotrust: dnskey did not verify."

l_.str.7:                               ; @.str.7
	.asciz	"malloc failure in autotrust update_events. trust point unchanged."

l_.str.8:                               ; @.str.8
	.asciz	"malloc failure in autotrust do_statetable. trust point unchanged."

l_.str.9:                               ; @.str.9
	.asciz	"autotrust: changed, reassemble"

l_.str.10:                              ; @.str.10
	.asciz	"autotrust: no changes"

.subsections_via_symbols
