	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function insert_can_owner
_insert_can_owner:                      ## @insert_can_owner
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r12
	movq	%rsi, %r13
	movq	%rdi, %r15
	movl	24(%rdx), %r14d
	movq	8(%rsi), %rdi
	callq	_dname_signame_label_count
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_sldns_buffer_current
	movq	%rax, (%r12)
	cmpl	%r14d, %ebx
	jne	LBB0_2
## %bb.1:
	movq	(%r13), %rdx
	movq	8(%r13), %rsi
	movq	%r15, %rdi
	callq	_sldns_buffer_write
	movq	(%r12), %rdi
	callq	_query_dname_tolower
	movq	(%r13), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	jmp	LBB0_8
LBB0_2:
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	setg	%al
	movzbl	%al, %edi
	callq	_log_assert
	subl	%r14d, %ebx
	jle	LBB0_8
## %bb.3:
	movq	8(%r13), %rax
	movq	%rax, -64(%rbp)
	movq	(%r13), %rax
	movq	%rax, -48(%rbp)
	testl	%ebx, %ebx
	jle	LBB0_7
## %bb.4:
	leaq	-64(%rbp), %r13
	leaq	-48(%rbp), %r14
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_dname_remove_label
	decl	%ebx
	jne	LBB0_5
## %bb.6:
	movq	-48(%rbp), %rax
LBB0_7:
	addq	$2, %rax
	movq	%rax, (%r15)
	leaq	L_.str(%rip), %rsi
	movl	$2, %edx
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_sldns_buffer_write
	movq	-64(%rbp), %rsi
	movq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_sldns_buffer_write
	movq	(%r12), %rdi
	callq	_query_dname_tolower
LBB0_8:
	addq	$40, %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	"\001*"

	.no_dead_strip	_insert_can_owner
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function insert_can_owner
_insert_can_owner:                      ; @insert_can_owner
	.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, x4
	mov	x19, x3
	mov	x22, x1
	mov	x21, x0
	ldr	w24, [x2, #24]
	ldr	x0, [x1, #8]
	bl	_dname_signame_label_count
	mov	x23, x0
	mov	x0, x21
	bl	_sldns_buffer_current
	str	x0, [x19]
	cmp	w23, w24
	b.ne	LBB0_2
; %bb.1:
	ldp	x2, x1, [x22]
	mov	x0, x21
	bl	_sldns_buffer_write
	ldr	x0, [x19]
	bl	_query_dname_tolower
	ldr	x8, [x22]
	str	x8, [x20]
	b	LBB0_7
LBB0_2:
	cset	w0, gt
	bl	_log_assert
	subs	w23, w23, w24
	b.le	LBB0_7
; %bb.3:
	ldp	x8, x9, [x22]
	stp	x8, x9, [sp]
	cmp	w23, #1
	b.lt	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	mov	x1, sp
	bl	_dname_remove_label
	subs	w23, w23, #1
	b.ne	LBB0_4
; %bb.5:
	ldr	x8, [sp]
LBB0_6:
	add	x8, x8, #2
	str	x8, [x20]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	w2, #2
	bl	_sldns_buffer_write
	ldp	x2, x1, [sp]
	mov	x0, x21
	bl	_sldns_buffer_write
	ldr	x0, [x19]
	bl	_query_dname_tolower
LBB0_7:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\001*"

	.no_dead_strip	_insert_can_owner
.subsections_via_symbols
