	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function domain_limit_findcreate
_domain_limit_findcreate:               ## @domain_limit_findcreate
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r15
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_sldns_str2wire_dname
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_dname_count_labels
	movl	%eax, %r12d
	movq	-48(%rbp), %rdx
	movq	_LDNS_RR_CLASS_IN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r8d
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%eax, %ecx
	callq	_name_tree_find
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rax, %r13
	movq	%r14, %rdi
	callq	_free
	jmp	LBB0_9
LBB0_1:
	leaq	L_.str(%rip), %rdi
	xorl	%r13d, %r13d
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_log_err
	jmp	LBB0_9
LBB0_4:
	movl	$1, %edi
	movl	$40, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %r13
	movq	%rax, %rsi
	addq	$8, %rsi
	movq	%rsi, 32(%rax)
	movq	%r14, 24(%rax)
	movq	-48(%rbp), %rcx
	movq	%rcx, 8(%rax)
	movl	%r12d, 16(%rax)
	movl	(%rbx), %eax
	movl	%eax, 20(%r13)
	movq	$-1, (%r13)
	movl	(%rbx), %r9d
	movq	%r15, %rdi
	movq	%r14, %rdx
	movl	%r12d, %r8d
	callq	_name_tree_insert
	testl	%eax, %eax
	jne	LBB0_9
## %bb.7:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_log_err
	movq	%r14, %rdi
	callq	_free
	movq	%r13, %rdi
	jmp	LBB0_8
LBB0_5:
	movq	%r14, %rdi
LBB0_8:
	callq	_free
	xorl	%r13d, %r13d
LBB0_9:
	movq	%r13, %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	"could not parse %s"

	.comm	_LDNS_RR_CLASS_IN,4,2           ## @LDNS_RR_CLASS_IN
L_.str.1:                               ## @.str.1
	.asciz	"duplicate element in domainlimit tree"

	.no_dead_strip	_domain_limit_findcreate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function domain_limit_findcreate
_domain_limit_findcreate:               ; @domain_limit_findcreate
	.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	x20, x1
	mov	x21, x0
	add	x1, sp, #8
	mov	x0, x20
	bl	_sldns_str2wire_dname
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	bl	_dname_count_labels
	mov	x22, x0
	ldr	x2, [sp, #8]
Lloh0:
	adrp	x23, _LDNS_RR_CLASS_IN@GOTPAGE
Lloh1:
	ldr	x23, [x23, _LDNS_RR_CLASS_IN@GOTPAGEOFF]
	ldr	w4, [x23]
	mov	x0, x21
	mov	x1, x19
	mov	x3, x22
	bl	_name_tree_find
	cbz	x0, LBB0_7
; %bb.2:
	mov	x20, x0
LBB0_3:
	mov	x0, x19
	bl	_free
	b	LBB0_6
LBB0_4:
	str	x20, [sp]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_log_err
LBB0_5:
	mov	x20, #0
LBB0_6:
	mov	x0, x20
	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_7:
	mov	w0, #1
	mov	w1, #40
	bl	_calloc
	mov	x20, x0
	cbz	x0, LBB0_3
; %bb.8:
	ldr	x3, [sp, #8]
	mov	x1, x20
	str	x3, [x1, #8]!
	stp	x19, x1, [x20, #24]
	ldr	w8, [x23]
	stp	w22, w8, [x20, #16]
	movi.2d	v0, #0xffffffffffffffff
	str	d0, [x20]
	ldr	w5, [x23]
	mov	x0, x21
	mov	x2, x19
	mov	x4, x22
	bl	_name_tree_insert
	cbnz	w0, LBB0_6
; %bb.9:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_log_err
	mov	x0, x19
	bl	_free
	mov	x0, x20
	bl	_free
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not parse %s"

	.comm	_LDNS_RR_CLASS_IN,4,2           ; @LDNS_RR_CLASS_IN
l_.str.1:                               ; @.str.1
	.asciz	"duplicate element in domainlimit tree"

	.no_dead_strip	_domain_limit_findcreate
.subsections_via_symbols
