	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_str2rdf_nsap              ## -- Begin function ldns_str2rdf_nsap
	.p2align	4, 0x90
_ldns_str2rdf_nsap:                     ## @ldns_str2rdf_nsap
	.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
	cmpb	$48, (%rsi)
	jne	LBB0_9
## %bb.1:
	movq	%rsi, %rbx
	cmpb	$120, 1(%rsi)
	jne	LBB0_9
## %bb.2:
	movq	%rdi, %r14
	movq	%rbx, %rdi
	callq	_strlen
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	movb	$48, %dl
	movl	$1, %ecx
	cmpb	$46, %dl
	jne	LBB0_6
	.p2align	4, 0x90
LBB0_5:
	movb	$32, -1(%rbx,%rcx)
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rcx, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movzbl	(%rbx,%rcx), %edx
	incq	%rcx
	cmpb	$46, %dl
	je	LBB0_5
	jmp	LBB0_6
LBB0_9:
	movq	_LDNS_STATUS_INVALID_STR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	addq	$2, %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ldns_str2rdf_hex               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_STATUS_INVALID_STR,4,2    ## @LDNS_STATUS_INVALID_STR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_str2rdf_nsap              ; -- Begin function ldns_str2rdf_nsap
	.p2align	2
_ldns_str2rdf_nsap:                     ; @ldns_str2rdf_nsap
	.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
	ldrb	w8, [x1]
	cmp	w8, #48
	b.ne	LBB0_7
; %bb.1:
	mov	x20, x1
	ldrb	w8, [x1, #1]
	cmp	w8, #120
	b.ne	LBB0_7
; %bb.2:
	mov	x19, x0
	mov	x0, x20
	bl	_strlen
	cbz	x0, LBB0_8
; %bb.3:
	add	x8, x20, #1
	sub	x9, x0, #1
	mov	w11, #48
	mov	w10, #32
	cmp	w11, #46
	b.ne	LBB0_5
LBB0_4:
	sturb	w10, [x8, #-1]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x9, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w11, [x8], #1
	sub	x9, x9, #1
	cmp	w11, #46
	b.eq	LBB0_4
	b	LBB0_5
LBB0_7:
Lloh0:
	adrp	x8, _LDNS_STATUS_INVALID_STR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LDNS_STATUS_INVALID_STR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
	add	x1, x20, #2
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ldns_str2rdf_hex
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_STATUS_INVALID_STR,4,2    ; @LDNS_STATUS_INVALID_STR
.subsections_via_symbols
