	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sldns_parse_escape             ## -- Begin function sldns_parse_escape
	.p2align	4, 0x90
_sldns_parse_escape:                    ## @sldns_parse_escape
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rsi), %rax
	movb	(%rax), %al
	testb	%al, %al
	je	LBB0_8
## %bb.1:
	movzbl	%al, %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	(%rbx), %rax
	movb	1(%rax), %al
	testb	%al, %al
	je	LBB0_8
## %bb.3:
	movzbl	%al, %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	(%rbx), %rax
	movb	2(%rax), %al
	testb	%al, %al
	je	LBB0_8
## %bb.5:
	movzbl	%al, %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	(%rbx), %rax
	movsbq	(%rax), %rcx
	imulq	$100, %rcx, %rcx
	movsbq	1(%rax), %rdx
	leaq	(%rdx,%rdx,4), %rdx
	leaq	(%rcx,%rdx,2), %rdx
	movsbq	2(%rax), %rcx
	addq	%rdx, %rcx
	cmpl	$5583, %ecx                     ## imm = 0x15CF
	jg	LBB0_10
## %bb.7:
	addq	$-5328, %rcx                    ## imm = 0xEB30
	movq	%rcx, (%r14)
	addq	$3, %rax
	movq	%rax, (%rbx)
	jmp	LBB0_12
LBB0_8:
	movq	(%rbx), %rax
	movb	(%rax), %al
	testb	%al, %al
	je	LBB0_10
## %bb.9:
	movzbl	%al, %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_11
LBB0_10:
	movq	$0, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_11:
	movq	(%rbx), %rax
	leaq	1(%rax), %rcx
	movq	%rcx, (%rbx)
	movsbq	(%rax), %rax
	movq	%rax, (%r14)
LBB0_12:
	movl	$1, %eax
LBB0_13:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sldns_parse_escape             ; -- Begin function sldns_parse_escape
	.p2align	2
_sldns_parse_escape:                    ; @sldns_parse_escape
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x1]
	ldrb	w0, [x8]
	cbz	w0, LBB0_8
; %bb.1:
	bl	_isdigit
	cbz	x0, LBB0_8
; %bb.2:
	ldr	x8, [x19]
	ldrb	w0, [x8, #1]
	cbz	w0, LBB0_8
; %bb.3:
	bl	_isdigit
	cbz	x0, LBB0_8
; %bb.4:
	ldr	x8, [x19]
	ldrb	w0, [x8, #2]
	cbz	w0, LBB0_8
; %bb.5:
	bl	_isdigit
	cbz	x0, LBB0_8
; %bb.6:
	ldr	x8, [x19]
	ldrsb	x9, [x8]
	mov	w10, #100
	mul	x9, x9, x10
	ldrsb	x10, [x8, #1]
	mov	w11, #10
	madd	x9, x10, x11, x9
	ldrsb	x10, [x8, #2]
	mov	w11, #5583
	add	x9, x9, x10
	cmp	w9, w11
	b.gt	LBB0_10
; %bb.7:
	mov	x10, #-5328
	add	x9, x9, x10
	str	x9, [x20]
	add	x8, x8, #3
	str	x8, [x19]
	b	LBB0_12
LBB0_8:
	ldr	x8, [x19]
	ldrb	w0, [x8]
	cbz	w0, LBB0_10
; %bb.9:
	bl	_isdigit
	cbz	x0, LBB0_11
LBB0_10:
	mov	w0, #0
	str	xzr, [x19]
	b	LBB0_13
LBB0_11:
	ldr	x8, [x19]
	add	x9, x8, #1
	str	x9, [x19]
	ldrsb	x8, [x8]
	str	x8, [x20]
LBB0_12:
	mov	w0, #1
LBB0_13:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
