	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dname_get_shared_topdomain     ## -- Begin function dname_get_shared_topdomain
	.p2align	4, 0x90
_dname_get_shared_topdomain:            ## @dname_get_shared_topdomain
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	%rdi, -40(%rbp)
	movq	_LDNS_MAX_DOMAINLEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_dname_count_labels
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_dname_count_labels
	leaq	-28(%rbp), %r8
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	%r14, %rdx
	movl	%eax, %ecx
	callq	_dname_lab_cmp
	subl	-28(%rbp), %ebx
	leaq	-40(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	movl	%ebx, %edx
	callq	_dname_remove_labels
	movq	-40(%rbp), %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_MAX_DOMAINLEN,8,3         ## @LDNS_MAX_DOMAINLEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dname_get_shared_topdomain     ; -- Begin function dname_get_shared_topdomain
	.p2align	2
_dname_get_shared_topdomain:            ; @dname_get_shared_topdomain
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x1
	mov	x20, x0
	str	x0, [sp, #24]
Lloh0:
	adrp	x8, _LDNS_MAX_DOMAINLEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LDNS_MAX_DOMAINLEN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	bl	_dname_count_labels
	mov	x21, x0
	mov	x0, x19
	bl	_dname_count_labels
	mov	x3, x0
	add	x4, sp, #20
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_dname_lab_cmp
	ldr	w8, [sp, #20]
	sub	w2, w21, w8
	add	x0, sp, #24
	add	x1, sp, #8
	bl	_dname_remove_labels
	ldr	x0, [sp, #24]
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_MAX_DOMAINLEN,8,3         ; @LDNS_MAX_DOMAINLEN
.subsections_via_symbols
