	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_anchor_list_keytags            ## -- Begin function anchor_list_keytags
	.p2align	4, 0x90
_anchor_list_keytags:                   ## @anchor_list_keytags
	.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	%rdx, %r14
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	cmpq	$0, (%rdi)
	je	LBB0_7
## %bb.1:
	movq	24(%r15), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.3:
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	movq	%r12, %r13
	cmpq	%rax, %rbx
	jae	LBB0_9
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %r12
	cmpq	%r14, %r13
	je	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	24(%r15), %rdi
	movq	%rbx, %rsi
	callq	_ds_get_keytag
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx,%r13,4)
	incq	%r13
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	%r13, %r12
	jmp	LBB0_4
LBB0_7:
	xorl	%r12d, %r12d
	cmpq	$0, 8(%r15)
	movl	$0, %r13d
	je	LBB0_21
LBB0_9:
	cmpq	$0, 8(%r15)
	jne	LBB0_10
	jmp	LBB0_19
LBB0_8:
	xorl	%r12d, %r12d
	cmpq	$0, 8(%r15)
	jne	LBB0_10
	jmp	LBB0_19
LBB0_17:
	xorl	%r12d, %r12d
	cmpq	$0, 8(%r15)
	je	LBB0_19
LBB0_10:
	movq	16(%r15), %rax
	testq	%rax, %rax
	je	LBB0_19
## %bb.11:
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_19
## %bb.12:
	xorl	%ebx, %ebx
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_14 Depth=1
	incq	%rbx
	movq	%r13, %r12
	cmpq	%rax, %rbx
	jae	LBB0_20
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %r13
	cmpq	%r14, %r12
	je	LBB0_13
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	16(%r15), %rdi
	movq	%rbx, %rsi
	callq	_dnskey_calc_keytag
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx,%r12,4)
	incq	%r12
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	%r12, %r13
	jmp	LBB0_13
LBB0_19:
	movq	%r12, %r13
LBB0_20:
	movq	_keytag_compare@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movl	$4, %edx
	callq	_qsort
LBB0_21:
	movq	%r13, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_keytag_compare,4,2             ## @keytag_compare
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_anchor_list_keytags            ; -- Begin function anchor_list_keytags
	.p2align	2
_anchor_list_keytags:                   ; @anchor_list_keytags
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_7
; %bb.1:
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_9
; %bb.2:
	ldr	x23, [x8]
	ldr	x8, [x23]
	cbz	x8, LBB0_10
; %bb.3:
	mov	x22, #0
	mov	x25, #0
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #1
	mov	x25, x24
	cmp	x22, x8
	b.hs	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x24, x20
	cmp	x25, x20
	b.eq	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x21, #24]
	mov	x1, x22
	bl	_ds_get_keytag
	add	x24, x25, #1
	str	w0, [x19, x25, lsl #2]
	ldr	x8, [x23]
	b	LBB0_4
LBB0_7:
	mov	x24, #0
	mov	x22, #0
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_19
LBB0_8:
	ldr	x8, [x21, #8]
	cbnz	x8, LBB0_11
	b	LBB0_17
LBB0_9:
	mov	x24, #0
	ldr	x8, [x21, #8]
	cbnz	x8, LBB0_11
	b	LBB0_17
LBB0_10:
	mov	x24, #0
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_17
LBB0_11:
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_17
; %bb.12:
	ldr	x25, [x8]
	ldr	x8, [x25]
	cbz	x8, LBB0_17
; %bb.13:
	mov	x23, #0
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x23, x23, #1
	mov	x24, x22
	cmp	x23, x8
	b.hs	LBB0_18
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	mov	x22, x20
	cmp	x24, x20
	b.eq	LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x0, [x21, #16]
	mov	x1, x23
	bl	_dnskey_calc_keytag
	add	x22, x24, #1
	str	w0, [x19, x24, lsl #2]
	ldr	x8, [x25]
	b	LBB0_14
LBB0_17:
	mov	x22, x24
LBB0_18:
Lloh0:
	adrp	x8, _keytag_compare@GOTPAGE
Lloh1:
	ldr	x8, [x8, _keytag_compare@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x22
	mov	w2, #4
	bl	_qsort
LBB0_19:
	mov	x0, x22
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_keytag_compare,4,2             ; @keytag_compare
.subsections_via_symbols
