	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rrinternal_get_owner
_rrinternal_get_owner:                  ## @rrinternal_get_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	%r9, %rbx
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	32(%rbp), %r13
	movq	24(%rbp), %r14
	movq	16(%rbp), %r15
	movq	40(%rbp), %rcx
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rsi
	callq	_sldns_bget_token
	cmpl	$-1, %eax
	je	LBB0_5
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	cmpb	$0, (%r13)
	je	LBB0_8
## %bb.3:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)
	leaq	-80(%rbp), %rdx
	movq	%r13, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rbx, %r8
	callq	_sldns_str2wire_dname_buf_origin
	testl	%eax, %eax
	je	LBB0_11
## %bb.4:
	movl	%eax, %r14d
	movq	%r12, %rdi
	callq	_sldns_buffer_position
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_strlen
	subq	%rax, %rbx
	movl	%r14d, %edi
	movq	%rbx, %rsi
	callq	_RET_ERR_SHIFT
	jmp	LBB0_15
LBB0_5:
	movq	_LDNS_WIREPARSE_ERR_SYNTAX@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_6:
	movq	%r15, %rcx
	testq	%r15, %r15
	movl	$1, %eax
	cmoveq	%rax, %r14
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	testq	%r15, %r15
	cmoveq	%r14, %rbx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rbx, (%rax)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rbx, (%rax)
	jb	LBB0_9
## %bb.7:
	testq	%rcx, %rcx
	leaq	l_.str.2(%rip), %rsi
	cmovneq	%rcx, %rsi
	testq	%r15, %r15
	cmovneq	%r15, %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rdx
	jmp	LBB0_13
LBB0_8:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	movl	$1, %eax
	cmoveq	%rax, %rbx
	testq	%r15, %r15
	cmoveq	%rbx, %r14
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%r14, (%rax)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpq	%r14, (%rax)
	jae	LBB0_12
LBB0_9:
	movq	_LDNS_WIREPARSE_ERR_BUFFER_TOO_SMALL@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %ebx
	movq	%r12, %rdi
	callq	_sldns_buffer_position
	movl	%ebx, %edi
	movq	%rax, %rsi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_RET_ERR                        ## TAILCALL
LBB0_11:
	movq	-80(%rbp), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	jmp	LBB0_14
LBB0_12:
	testq	%rcx, %rcx
	leaq	l_.str.2(%rip), %rsi
	cmovneq	%rcx, %rsi
	testq	%r15, %r15
	cmovneq	%r15, %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rdx
LBB0_13:
	callq	_memmove
LBB0_14:
	movq	_LDNS_WIREPARSE_ERR_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_15:
	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	"\t\n "

	.comm	_LDNS_WIREPARSE_ERR_SYNTAX,4,2  ## @LDNS_WIREPARSE_ERR_SYNTAX
L_.str.1:                               ## @.str.1
	.asciz	"@"

	.section	__TEXT,__const
l_.str.2:                               ## @.str.2
	.space	2

	.comm	_LDNS_WIREPARSE_ERR_BUFFER_TOO_SMALL,4,2 ## @LDNS_WIREPARSE_ERR_BUFFER_TOO_SMALL
	.comm	_LDNS_WIREPARSE_ERR_OK,4,2      ## @LDNS_WIREPARSE_ERR_OK
	.no_dead_strip	_rrinternal_get_owner
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rrinternal_get_owner
_rrinternal_get_owner:                  ; @rrinternal_get_owner
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x27, x7
	mov	x22, x6
	mov	x25, x5
	mov	x21, x4
	mov	x23, x3
	mov	x26, x2
	mov	x20, x1
	mov	x19, x0
	ldp	x24, x3, [x29, #16]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, x24
	bl	_sldns_bget_token
	cmn	w0, #1
	b.eq	LBB0_5
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x24
	bl	_strcmp
	cbz	x0, LBB0_6
; %bb.2:
	ldrb	w8, [x24]
	cbz	w8, LBB0_8
; %bb.3:
	ldr	x8, [x26]
	str	x8, [sp, #8]
	add	x2, sp, #8
	mov	x0, x24
	mov	x1, x20
	mov	x3, x21
	mov	x4, x25
	bl	_sldns_str2wire_dname_buf_origin
	cbz	w0, LBB0_11
; %bb.4:
	mov	x20, x0
	mov	x0, x19
	bl	_sldns_buffer_position
	mov	x19, x0
	mov	x0, x24
	bl	_strlen
	sub	x1, x19, x0
	mov	x0, x20
	bl	_RET_ERR_SHIFT
	b	LBB0_15
LBB0_5:
Lloh4:
	adrp	x8, _LDNS_WIREPARSE_ERR_SYNTAX@GOTPAGE
Lloh5:
	ldr	x8, [x8, _LDNS_WIREPARSE_ERR_SYNTAX@GOTPAGEOFF]
	b	LBB0_10
LBB0_6:
	cmp	x22, #0
	csinc	x8, x27, xzr, ne
	cmp	x21, #0
	csel	x2, x8, x25, eq
	str	x2, [x23]
	ldr	x8, [x26]
	cmp	x8, x2
	b.lo	LBB0_9
; %bb.7:
Lloh6:
	adrp	x8, l_.str.2@PAGE
Lloh7:
	add	x8, x8, l_.str.2@PAGEOFF
	cmp	x22, #0
	csel	x8, x8, x22, eq
	cmp	x21, #0
	csel	x1, x8, x21, eq
	b	LBB0_13
LBB0_8:
	cmp	x21, #0
	csinc	x8, x25, xzr, ne
	cmp	x22, #0
	csel	x2, x8, x27, eq
	str	x2, [x23]
	ldr	x8, [x26]
	cmp	x8, x2
	b.hs	LBB0_12
LBB0_9:
Lloh8:
	adrp	x8, _LDNS_WIREPARSE_ERR_BUFFER_TOO_SMALL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LDNS_WIREPARSE_ERR_BUFFER_TOO_SMALL@GOTPAGEOFF]
LBB0_10:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_sldns_buffer_position
	mov	x1, x0
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_RET_ERR
LBB0_11:
	ldr	x8, [sp, #8]
	str	x8, [x23]
	b	LBB0_14
LBB0_12:
Lloh10:
	adrp	x8, l_.str.2@PAGE
Lloh11:
	add	x8, x8, l_.str.2@PAGEOFF
	cmp	x21, #0
	csel	x8, x8, x21, eq
	cmp	x22, #0
	csel	x1, x8, x22, eq
LBB0_13:
	mov	x0, x20
	bl	_memmove
LBB0_14:
Lloh12:
	adrp	x8, _LDNS_WIREPARSE_ERR_OK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _LDNS_WIREPARSE_ERR_OK@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
LBB0_15:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\t\n "

	.comm	_LDNS_WIREPARSE_ERR_SYNTAX,4,2  ; @LDNS_WIREPARSE_ERR_SYNTAX
l_.str.1:                               ; @.str.1
	.asciz	"@"

	.section	__TEXT,__const
l_.str.2:                               ; @.str.2
	.space	2

	.comm	_LDNS_WIREPARSE_ERR_BUFFER_TOO_SMALL,4,2 ; @LDNS_WIREPARSE_ERR_BUFFER_TOO_SMALL
	.comm	_LDNS_WIREPARSE_ERR_OK,4,2      ; @LDNS_WIREPARSE_ERR_OK
	.no_dead_strip	_rrinternal_get_owner
.subsections_via_symbols
