	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_contains_revoked
_check_contains_revoked:                ## @check_contains_revoked
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rcx, %rbx
	movq	%rdx, %r13
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rcx), %r12
	movl	(%rcx), %edi
	callq	_ntohs
	movq	_LDNS_RR_TYPE_DNSKEY@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_log_assert
	cmpq	$0, (%r12)
	je	LBB0_14
## %bb.1:
	xorl	%r15d, %r15d
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str(%rip), %rdi
	callq	_log_err
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	cmpq	(%r12), %r15
	jae	LBB0_14
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	$0, -48(%rbp)
	movl	(%rbx), %edi
	callq	_ntohs
	movq	8(%r12), %rcx
	movq	16(%r12), %rdx
	movq	(%rdx,%r15,8), %rsi
	addq	$2, %rsi
	movq	(%rcx,%r15,8), %rdx
	addq	$-2, %rdx
	movq	%rax, %rdi
	callq	_rr_is_dnskey_sep
	testl	%eax, %eax
	je	LBB0_13
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %edi
	callq	_ntohs
	movq	8(%r12), %rcx
	movq	16(%r12), %rdx
	movq	(%rdx,%r15,8), %rsi
	addq	$2, %rsi
	movq	(%rcx,%r15,8), %rdx
	addq	$-2, %rdx
	movq	%rax, %rdi
	callq	_rr_is_dnskey_revoked
	testl	%eax, %eax
	je	LBB0_13
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %edi
	callq	_ntohs
	movq	8(%r12), %rcx
	movq	16(%r12), %rdx
	movq	(%rdx,%r15,8), %rdx
	addq	$2, %rdx
	movq	(%rcx,%r15,8), %rcx
	addq	$-2, %rcx
	movq	%r13, %rdi
	movq	%rax, %rsi
	leaq	-48(%rbp), %r8
	callq	_find_key
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, -48(%rbp)
	je	LBB0_13
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	movq	%r15, %rcx
	movq	%r14, %r8
	callq	_rr_is_selfsigned_revoked
	testq	%rax, %rax
	je	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_dnskey_calc_keytag
	movl	%eax, %r13d
	addl	$-128, %r13d
	movq	-48(%rbp), %rax
	movl	12(%rax), %edi
	movl	4(%rax), %edx
	movl	8(%rax), %esi
	callq	_sldns_wirerr_get_rdata
	movl	%eax, %r14d
	movq	-48(%rbp), %rax
	movl	12(%rax), %edi
	movl	4(%rax), %edx
	movl	8(%rax), %esi
	callq	_sldns_wirerr_get_rdatalen
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_sldns_calc_keytag_raw
	movb	$1, %cl
	cmpl	%eax, %r13d
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_dnskey_calc_keytag
	movl	%eax, %r13d
	movq	-48(%rbp), %rax
	movl	12(%rax), %edi
	movl	4(%rax), %edx
	movl	8(%rax), %esi
	callq	_sldns_wirerr_get_rdata
	movl	%eax, %r14d
	movq	-48(%rbp), %rax
	movl	12(%rax), %edi
	movl	4(%rax), %edx
	movl	8(%rax), %esi
	callq	_sldns_wirerr_get_rdatalen
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_sldns_calc_keytag_raw
	cmpl	%eax, %r13d
	sete	%cl
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movzbl	%cl, %edi
	callq	_log_assert
	movq	-48(%rbp), %rdi
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	callq	_verbose_key
	movq	-48(%rbp), %rdi
	cmpl	$0, (%rdi)
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %esi
	callq	_seen_revoked_trustanchor
	movq	-48(%rbp), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_do_revoked
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_13
LBB0_14:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RR_TYPE_DNSKEY,8,3        ## @LDNS_RR_TYPE_DNSKEY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"malloc failure"

	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
L_.str.1:                               ## @.str.1
	.asciz	"is self-signed revoked"

	.no_dead_strip	_check_contains_revoked
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_contains_revoked
_check_contains_revoked:                ; @check_contains_revoked
	.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	x19, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
	ldr	x26, [x3, #8]
	ldr	w0, [x3]
	bl	_ntohs
Lloh0:
	adrp	x8, _LDNS_RR_TYPE_DNSKEY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LDNS_RR_TYPE_DNSKEY@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, eq
	bl	_log_assert
	ldr	x8, [x26]
	cbz	x8, LBB0_15
; %bb.1:
	mov	x25, #0
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_log_err
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x25, x25, #1
	ldr	x8, [x26]
	cmp	x25, x8
	b.hs	LBB0_15
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	str	xzr, [sp, #8]
	ldr	w0, [x21]
	bl	_ntohs
	lsl	x27, x25, #3
	ldp	x9, x8, [x26, #8]
	ldr	x8, [x8, x27]
	add	x1, x8, #2
	ldr	x8, [x9, x27]
	sub	x2, x8, #2
	bl	_rr_is_dnskey_sep
	cbz	w0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x21]
	bl	_ntohs
	ldp	x9, x8, [x26, #8]
	ldr	x8, [x8, x27]
	add	x1, x8, #2
	ldr	x8, [x9, x27]
	sub	x2, x8, #2
	bl	_rr_is_dnskey_revoked
	cbz	w0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x21]
	bl	_ntohs
	mov	x1, x0
	ldp	x9, x8, [x26, #8]
	ldr	x8, [x8, x27]
	add	x2, x8, #2
	ldr	x8, [x9, x27]
	sub	x3, x8, #2
	add	x4, sp, #8
	mov	x0, x22
	bl	_find_key
	cbz	w0, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x24
	mov	x1, x23
	mov	x2, x21
	mov	x3, x25
	mov	x4, x19
	bl	_rr_is_selfsigned_revoked
	cbz	x0, LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	mov	x1, x25
	bl	_dnskey_calc_keytag
	sub	w27, w0, #128
	ldr	x8, [sp, #8]
	ldp	w1, w0, [x8, #8]
	ldr	w2, [x8, #4]
	bl	_sldns_wirerr_get_rdata
	mov	x28, x0
	ldr	x8, [sp, #8]
	ldp	w1, w0, [x8, #8]
	ldr	w2, [x8, #4]
	bl	_sldns_wirerr_get_rdatalen
	mov	x1, x0
	mov	x0, x28
	bl	_sldns_calc_keytag_raw
	cmp	w27, w0
	b.ne	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #1
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	mov	x1, x25
	bl	_dnskey_calc_keytag
	mov	x28, x0
	ldr	x8, [sp, #8]
	ldp	w1, w0, [x8, #8]
	ldr	w2, [x8, #4]
	bl	_sldns_wirerr_get_rdata
	mov	x27, x0
	ldr	x8, [sp, #8]
	ldp	w1, w0, [x8, #8]
	ldr	w2, [x8, #4]
	bl	_sldns_wirerr_get_rdatalen
	mov	x1, x0
	mov	x0, x27
	bl	_sldns_calc_keytag_raw
	cmp	w28, w0
	cset	w0, eq
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_log_assert
	ldr	x0, [sp, #8]
Lloh5:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_verbose_key
	ldr	x0, [sp, #8]
	ldr	w8, [x0]
	cbnz	w8, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #1
	str	w8, [x20]
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w1, #1
	bl	_seen_revoked_trustanchor
	ldr	x1, [sp, #8]
	mov	x0, x24
	mov	x2, x20
	bl	_do_revoked
	b	LBB0_3
LBB0_15:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_TYPE_DNSKEY,8,3        ; @LDNS_RR_TYPE_DNSKEY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"malloc failure"

	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
l_.str.1:                               ; @.str.1
	.asciz	"is self-signed revoked"

	.no_dead_strip	_check_contains_revoked
.subsections_via_symbols
