	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sldns_str2wire_long_str_buf    ## -- Begin function sldns_str2wire_long_str_buf
	.p2align	4, 0x90
_sldns_str2wire_long_str_buf:           ## @sldns_str2wire_long_str_buf
	.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	%rdx, %r14
	movq	%rsi, %rbx
	movl	$0, -44(%rbp)
	movq	%rdi, -56(%rbp)
	leaq	-44(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	callq	_sldns_parse_char
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	xorl	%ecx, %ecx
	leaq	-44(%rbp), %r15
	leaq	-56(%rbp), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leaq	1(%rcx), %r13
	cmpq	%r13, (%r14)
	jb	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	-44(%rbp), %eax
	movl	%eax, (%rbx,%rcx,4)
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_sldns_parse_char
	movq	%r13, %rcx
	testq	%rax, %rax
	jne	LBB0_3
## %bb.6:
	cmpq	$0, -56(%rbp)
	je	LBB0_7
LBB0_8:
	movq	%r13, (%r14)
	movq	_LDNS_WIREPARSE_ERR_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_1:
	xorl	%r13d, %r13d
	cmpq	$0, -56(%rbp)
	jne	LBB0_8
LBB0_7:
	movq	_LDNS_WIREPARSE_ERR_SYNTAX_BAD_ESCAPE@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_4:
	movq	_LDNS_WIREPARSE_ERR_BUFFER_TOO_SMALL@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_WIREPARSE_ERR_BUFFER_TOO_SMALL,4,2 ## @LDNS_WIREPARSE_ERR_BUFFER_TOO_SMALL
	.comm	_LDNS_WIREPARSE_ERR_SYNTAX_BAD_ESCAPE,4,2 ## @LDNS_WIREPARSE_ERR_SYNTAX_BAD_ESCAPE
	.comm	_LDNS_WIREPARSE_ERR_OK,4,2      ## @LDNS_WIREPARSE_ERR_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sldns_str2wire_long_str_buf    ; -- Begin function sldns_str2wire_long_str_buf
	.p2align	2
_sldns_str2wire_long_str_buf:           ; @sldns_str2wire_long_str_buf
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x2
	mov	x20, x1
	str	wzr, [sp, #12]
	str	x0, [sp]
	add	x0, sp, #12
	mov	x1, sp
	bl	_sldns_parse_char
	cbz	x0, LBB0_6
; %bb.1:
	mov	x8, #0
Lloh0:
	adrp	x21, _LDNS_WIREPARSE_ERR_BUFFER_TOO_SMALL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _LDNS_WIREPARSE_ERR_BUFFER_TOO_SMALL@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19]
	add	x22, x8, #1
	cmp	x9, x22
	b.lo	LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w9, [sp, #12]
	str	w9, [x20, x8, lsl #2]
	add	x0, sp, #12
	mov	x1, sp
	bl	_sldns_parse_char
	mov	x8, x22
	cbnz	x0, LBB0_2
; %bb.4:
	ldr	x8, [sp]
	cbz	x8, LBB0_7
LBB0_5:
	str	x22, [x19]
Lloh2:
	adrp	x21, _LDNS_WIREPARSE_ERR_OK@GOTPAGE
Lloh3:
	ldr	x21, [x21, _LDNS_WIREPARSE_ERR_OK@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
	mov	x22, #0
	ldr	x8, [sp]
	cbnz	x8, LBB0_5
LBB0_7:
Lloh4:
	adrp	x21, _LDNS_WIREPARSE_ERR_SYNTAX_BAD_ESCAPE@GOTPAGE
Lloh5:
	ldr	x21, [x21, _LDNS_WIREPARSE_ERR_SYNTAX_BAD_ESCAPE@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x21]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_WIREPARSE_ERR_BUFFER_TOO_SMALL,4,2 ; @LDNS_WIREPARSE_ERR_BUFFER_TOO_SMALL
	.comm	_LDNS_WIREPARSE_ERR_SYNTAX_BAD_ESCAPE,4,2 ; @LDNS_WIREPARSE_ERR_SYNTAX_BAD_ESCAPE
	.comm	_LDNS_WIREPARSE_ERR_OK,4,2      ; @LDNS_WIREPARSE_ERR_OK
.subsections_via_symbols
