	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sldns_parse_rdf_token
_sldns_parse_rdf_token:                 ## @sldns_parse_rdf_token
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movq	%r8, %r15
	movq	%rcx, %r13
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %rbx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	callq	_sldns_buffer_remaining
	testq	%rax, %rax
	jle	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$0, (%r13)
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_sldns_buffer_current
	cmpb	$32, (%rax)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_sldns_buffer_skip
	movq	%rbx, %rdi
	jmp	LBB0_1
LBB0_5:
	movq	%rbx, %rdi
	callq	_sldns_buffer_position
	movq	%rax, (%r14)
	xorl	%r14d, %r14d
	cmpl	$0, (%r13)
	leaq	L_.str(%rip), %rdx
	cmoveq	16(%rbp), %rdx
	leaq	L_.str.1(%rip), %r9
	cmovneq	%r14, %r9
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%r15, %r8
	callq	_sldns_bget_token_par
	cmpl	$-1, %eax
	je	LBB0_27
## %bb.6:
	movq	%r12, %rdi
	callq	_strlen
	movq	%rax, %r14
	cmpl	$0, (%r13)
	jne	LBB0_26
## %bb.7:
	movl	24(%rbp), %edi
	callq	_sldns_rdf_type_maybe_quoted
	testq	%rax, %rax
	je	LBB0_14
## %bb.8:
	cmpq	$2, %r14
	jb	LBB0_14
## %bb.9:
	movb	(%r12), %al
	cmpb	$39, %al
	je	LBB0_11
## %bb.10:
	cmpb	$34, %al
	jne	LBB0_14
LBB0_11:
	movb	-1(%r14,%r12), %al
	cmpb	$39, %al
	je	LBB0_13
## %bb.12:
	cmpb	$34, %al
	jne	LBB0_14
LBB0_13:
	leaq	1(%r12), %rsi
	movq	%r14, %rbx
	addq	$-2, %rbx
	movq	%r12, %rdi
	movq	%rbx, %rdx
	callq	_memmove
	movb	$0, -2(%r12,%r14)
	movl	$1, (%r13)
	movq	%rbx, %r14
	jmp	LBB0_26
LBB0_14:
	cmpl	$0, (%r13)
	je	LBB0_15
LBB0_26:
	movq	32(%rbp), %rax
	movq	%r14, (%rax)
	movl	$1, %r14d
LBB0_27:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movl	24(%rbp), %edi
	callq	_sldns_rdf_type_maybe_quoted
	testq	%rax, %rax
	je	LBB0_26
## %bb.16:
	cmpq	$2, %r14
	jb	LBB0_26
## %bb.17:
	movb	(%r12), %al
	cmpb	$39, %al
	je	LBB0_19
## %bb.18:
	cmpb	$34, %al
	jne	LBB0_26
LBB0_19:
	leaq	1(%r12), %rsi
	leaq	-1(%r14), %rdx
	movq	%r12, %rdi
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	callq	_memmove
	leaq	(%r12,%r14), %rax
	decq	%rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movb	$0, -1(%r12,%r14)
	movl	$1, (%r13)
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	%rbx, %rdi
	movl	$-1, %esi
	callq	_sldns_buffer_skip
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_sldns_buffer_position
	testq	%rax, %rax
	je	LBB0_24
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	%rbx, %rdi
	callq	_sldns_buffer_current
	cmpb	$32, -1(%rax)
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	%rbx, %rdi
	callq	_sldns_buffer_current
	cmpb	$9, -1(%rax)
	je	LBB0_23
LBB0_24:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	subq	-64(%rbp), %rcx                 ## 8-byte Folded Reload
	leaq	L_.str(%rip), %rdx
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %r8
	xorl	%r9d, %r9d
	callq	_sldns_bget_token_par
	cmpl	$-1, %eax
	je	LBB0_27
## %bb.25:
	movq	%r12, %rdi
	callq	_strlen
	movq	%rax, %r14
	jmp	LBB0_26
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\""

L_.str.1:                               ## @.str.1
	.asciz	" \t"

	.no_dead_strip	_sldns_parse_rdf_token
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sldns_parse_rdf_token
_sldns_parse_rdf_token:                 ; @sldns_parse_rdf_token
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x24, x7
	mov	x25, x6
	mov	x26, x5
	mov	x20, x4
	mov	x23, x3
	mov	x22, x2
	mov	x19, x1
	mov	x21, x0
	bl	_sldns_buffer_remaining
	cmp	x0, #1
	b.lt	LBB0_4
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x23]
	cbnz	w8, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x21
	bl	_sldns_buffer_current
	ldrb	w8, [x0]
	cmp	w8, #32
	b.ne	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x21
	mov	w1, #1
	bl	_sldns_buffer_skip
	mov	x0, x21
	bl	_sldns_buffer_remaining
	cmp	x0, #0
	b.gt	LBB0_1
LBB0_4:
	mov	x0, x21
	bl	_sldns_buffer_position
	str	x0, [x26]
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
	ldr	w9, [x23]
	cmp	w9, #0
	csel	x2, x25, x8, eq
Lloh2:
	adrp	x8, l_.str.1@PAGE
Lloh3:
	add	x8, x8, l_.str.1@PAGEOFF
	csel	x5, x8, xzr, eq
	mov	x0, x21
	mov	x1, x19
	mov	x3, x22
	mov	x4, x20
	bl	_sldns_bget_token_par
	cmn	w0, #1
	b.eq	LBB0_26
; %bb.5:
	mov	x0, x19
	bl	_strlen
	mov	x25, x0
	ldr	w8, [x23]
	cbnz	w8, LBB0_14
; %bb.6:
	mov	x0, x24
	bl	_sldns_rdf_type_maybe_quoted
	cbz	x0, LBB0_13
; %bb.7:
	subs	x26, x25, #2
	b.lo	LBB0_13
; %bb.8:
	ldrb	w8, [x19]
	cmp	w8, #39
	b.eq	LBB0_10
; %bb.9:
	cmp	w8, #34
	b.ne	LBB0_13
LBB0_10:
	add	x8, x25, x19
	ldurb	w8, [x8, #-1]
	cmp	w8, #39
	b.eq	LBB0_12
; %bb.11:
	cmp	w8, #34
	b.ne	LBB0_13
LBB0_12:
	add	x1, x19, #1
	mov	x0, x19
	mov	x2, x26
	bl	_memmove
	strb	wzr, [x19, x26]
	mov	w8, #1
	str	w8, [x23]
	mov	x25, x26
	b	LBB0_14
LBB0_13:
	ldr	w8, [x23]
	cbz	w8, LBB0_15
LBB0_14:
	ldr	x8, [x29, #16]
	str	x25, [x8]
	mov	w0, #1
	b	LBB0_27
LBB0_15:
	mov	x0, x24
	bl	_sldns_rdf_type_maybe_quoted
	cbz	x0, LBB0_14
; %bb.16:
	cmp	x25, #2
	b.lo	LBB0_14
; %bb.17:
	ldrb	w8, [x19]
	cmp	w8, #39
	b.eq	LBB0_19
; %bb.18:
	cmp	w8, #34
	b.ne	LBB0_14
LBB0_19:
	add	x1, x19, #1
	sub	x24, x25, #1
	mov	x0, x19
	mov	x2, x24
	bl	_memmove
	add	x25, x19, x24
	strb	wzr, [x25]
	mov	w8, #1
	str	w8, [x23]
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=1
	mov	x0, x21
	mov	w1, #-1
	bl	_sldns_buffer_skip
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_sldns_buffer_position
	cbz	x0, LBB0_24
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	mov	x0, x21
	bl	_sldns_buffer_current
	ldurb	w8, [x0, #-1]
	cmp	w8, #32
	b.eq	LBB0_20
; %bb.23:                               ;   in Loop: Header=BB0_21 Depth=1
	mov	x0, x21
	bl	_sldns_buffer_current
	ldurb	w8, [x0, #-1]
	cmp	w8, #9
	b.eq	LBB0_20
LBB0_24:
	sub	x3, x22, x24
Lloh4:
	adrp	x2, l_.str@PAGE
Lloh5:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	mov	x1, x25
	mov	x4, x20
	mov	x5, #0
	bl	_sldns_bget_token_par
	cmn	w0, #1
	b.eq	LBB0_26
; %bb.25:
	mov	x0, x19
	bl	_strlen
	mov	x25, x0
	b	LBB0_14
LBB0_26:
	mov	w0, #0
LBB0_27:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\""

l_.str.1:                               ; @.str.1
	.asciz	" \t"

	.no_dead_strip	_sldns_parse_rdf_token
.subsections_via_symbols
