	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function autr_tp_create
_autr_tp_create:                        ## @autr_tp_create
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %r14
	movl	$1, %edi
	movl	$56, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_13
## %bb.1:
	movq	%rax, %rbx
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_memdup
	movq	%rax, 24(%rbx)
	testq	%rax, %rax
	je	LBB0_12
## %bb.2:
	movq	%r12, (%rbx)
	movq	%rax, %rdi
	callq	_dname_count_labels
	movl	%eax, 52(%rbx)
	movq	%rbx, 40(%rbx)
	movl	%r15d, 48(%rbx)
	movl	$1, %edi
	movl	$56, %esi
	callq	_calloc
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	leaq	40(%rbx), %r15
	movq	%rbx, 32(%rax)
	movq	%r14, %rdi
	callq	_lock_basic_lock
	movq	8(%r14), %rdi
	movq	%r15, %rsi
	callq	_rbtree_insert
	testl	%eax, %eax
	je	LBB0_8
## %bb.4:
	movq	16(%r14), %rdi
	movq	8(%rbx), %rsi
	addq	$32, %rsi
	callq	_rbtree_insert
	testl	%eax, %eax
	je	LBB0_9
## %bb.5:
	movq	%r14, %rdi
	callq	_lock_basic_unlock
	movq	%rbx, %r14
	addq	$16, %r14
	movq	%r14, %rdi
	callq	_lock_basic_init
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$56, %edx
	callq	_lock_protect
	movq	8(%rbx), %rsi
	movq	%r14, %rdi
	movl	$56, %edx
	callq	_lock_protect
	jmp	LBB0_14
LBB0_7:
	movq	24(%rbx), %rdi
	jmp	LBB0_11
LBB0_8:
	movq	%r14, %rdi
	callq	_lock_basic_unlock
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_10
LBB0_9:
	movq	8(%r14), %rdi
	movq	%rbx, %rsi
	callq	_rbtree_delete
	movq	%r14, %rdi
	callq	_lock_basic_unlock
	leaq	L_.str.1(%rip), %rdi
LBB0_10:
	callq	_log_err
	movq	24(%rbx), %rdi
	callq	_free
	movq	8(%rbx), %rdi
LBB0_11:
	callq	_free
LBB0_12:
	movq	%rbx, %rdi
	callq	_free
LBB0_13:
	xorl	%ebx, %ebx
LBB0_14:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"trust anchor presented twice"

L_.str.1:                               ## @.str.1
	.asciz	"trust anchor in probetree twice"

	.no_dead_strip	_autr_tp_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function autr_tp_create
_autr_tp_create:                        ; @autr_tp_create
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x20, x0
	mov	w0, #1
	mov	w1, #56
	bl	_calloc
	mov	x19, x0
	cbz	x0, LBB0_12
; %bb.1:
	mov	x0, x23
	mov	x1, x22
	bl	_memdup
	str	x0, [x19, #24]
	cbz	x0, LBB0_11
; %bb.2:
	str	x22, [x19]
	bl	_dname_count_labels
	str	x19, [x19, #40]
	stp	w21, w0, [x19, #48]
	mov	w0, #1
	mov	w1, #56
	bl	_calloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_6
; %bb.3:
	add	x21, x19, #40
	str	x19, [x0, #32]
	mov	x0, x20
	bl	_lock_basic_lock
	ldr	x0, [x20, #8]
	mov	x1, x21
	bl	_rbtree_insert
	cbz	w0, LBB0_7
; %bb.4:
	ldr	x0, [x20, #16]
	ldr	x8, [x19, #8]
	add	x1, x8, #32
	bl	_rbtree_insert
	cbz	w0, LBB0_8
; %bb.5:
	mov	x0, x20
	bl	_lock_basic_unlock
	add	x20, x19, #16
	mov	x0, x20
	bl	_lock_basic_init
	mov	x0, x20
	mov	x1, x19
	mov	w2, #56
	bl	_lock_protect
	ldr	x1, [x19, #8]
	mov	x0, x20
	mov	w2, #56
	bl	_lock_protect
	b	LBB0_12
LBB0_6:
	ldr	x0, [x19, #24]
	b	LBB0_10
LBB0_7:
	mov	x0, x20
	bl	_lock_basic_unlock
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_9
LBB0_8:
	ldr	x0, [x20, #8]
	mov	x1, x19
	bl	_rbtree_delete
	mov	x0, x20
	bl	_lock_basic_unlock
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_9:
	bl	_log_err
	ldr	x0, [x19, #24]
	bl	_free
	ldr	x0, [x19, #8]
LBB0_10:
	bl	_free
LBB0_11:
	mov	x0, x19
	bl	_free
	mov	x19, #0
LBB0_12:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"trust anchor presented twice"

l_.str.1:                               ; @.str.1
	.asciz	"trust anchor in probetree twice"

	.no_dead_strip	_autr_tp_create
.subsections_via_symbols
