	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_str2rdf_ilnp64            ## -- Begin function ldns_str2rdf_ilnp64
	.p2align	4, 0x90
_ldns_str2rdf_ilnp64:                   ## @ldns_str2rdf_ilnp64
	.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	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	leaq	-52(%rbp), %rax
	movq	%rax, (%rsp)
	leaq	L_.str(%rip), %rsi
	leaq	-68(%rbp), %rdx
	leaq	-64(%rbp), %rcx
	leaq	-60(%rbp), %r8
	leaq	-56(%rbp), %r9
	movq	%rbx, %rdi
	callq	_sscanf
	cmpl	$4, %eax
	jne	LBB0_3
## %bb.1:
	movl	-52(%rbp), %r15d
	movq	%rbx, %rdi
	callq	_strlen
	cmpl	%eax, %r15d
	jne	LBB0_3
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strpbrk
	testq	%rax, %rax
	je	LBB0_4
LBB0_3:
	movq	_LDNS_STATUS_INVALID_ILNP64@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_9
## %bb.8:
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	-68(%rbp), %edi
	callq	_htons
	movl	%eax, -48(%rbp)
	movl	-64(%rbp), %edi
	callq	_htons
	movl	%eax, -44(%rbp)
	movl	-60(%rbp), %edi
	callq	_htons
	movl	%eax, -40(%rbp)
	movl	-56(%rbp), %edi
	callq	_htons
	movl	%eax, -36(%rbp)
	movq	_LDNS_RDF_TYPE_ILNP64@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-48(%rbp), %rdx
	movl	$16, %esi
	callq	_ldns_rdf_new_frm_data
	movq	%rax, (%r14)
	testq	%rax, %rax
	jne	LBB0_5
## %bb.6:
	movq	_LDNS_STATUS_MEM_ERR@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_LDNS_STATUS_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%4x:%4x:%4x:%4x%n"

L_.str.1:                               ## @.str.1
	.asciz	"+-"

	.comm	_LDNS_STATUS_INVALID_ILNP64,4,2 ## @LDNS_STATUS_INVALID_ILNP64
	.comm	_LDNS_RDF_TYPE_ILNP64,4,2       ## @LDNS_RDF_TYPE_ILNP64
	.comm	_LDNS_STATUS_OK,4,2             ## @LDNS_STATUS_OK
	.comm	_LDNS_STATUS_MEM_ERR,4,2        ## @LDNS_STATUS_MEM_ERR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_str2rdf_ilnp64            ; -- Begin function ldns_str2rdf_ilnp64
	.p2align	2
_ldns_str2rdf_ilnp64:                   ; @ldns_str2rdf_ilnp64
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #20
	add	x3, sp, #16
	add	x4, sp, #12
	add	x5, sp, #8
	add	x6, sp, #4
	mov	x0, x20
	bl	_sscanf
	cmp	w0, #4
	b.ne	LBB0_3
; %bb.1:
	ldr	w21, [sp, #4]
	mov	x0, x20
	bl	_strlen
	cmp	w21, w0
	b.ne	LBB0_3
; %bb.2:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_strpbrk
	cbz	x0, LBB0_6
LBB0_3:
Lloh7:
	adrp	x8, _LDNS_STATUS_INVALID_ILNP64@GOTPAGE
Lloh8:
	ldr	x8, [x8, _LDNS_STATUS_INVALID_ILNP64@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	ldr	x8, [sp, #40]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.5:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_6:
	ldr	w0, [sp, #20]
	bl	_htons
	str	w0, [sp, #24]
	ldr	w0, [sp, #16]
	bl	_htons
	str	w0, [sp, #28]
	ldr	w0, [sp, #12]
	bl	_htons
	str	w0, [sp, #32]
	ldr	w0, [sp, #8]
	bl	_htons
	str	w0, [sp, #36]
Lloh12:
	adrp	x8, _LDNS_RDF_TYPE_ILNP64@GOTPAGE
Lloh13:
	ldr	x8, [x8, _LDNS_RDF_TYPE_ILNP64@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	add	x2, sp, #24
	mov	w1, #16
	bl	_ldns_rdf_new_frm_data
Lloh15:
	adrp	x8, _LDNS_STATUS_OK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _LDNS_STATUS_OK@GOTPAGEOFF]
	str	x0, [x19]
Lloh17:
	adrp	x9, _LDNS_STATUS_MEM_ERR@GOTPAGE
Lloh18:
	ldr	x9, [x9, _LDNS_STATUS_MEM_ERR@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
	b	LBB0_4
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%4x:%4x:%4x:%4x%n"

l_.str.1:                               ; @.str.1
	.asciz	"+-"

	.comm	_LDNS_STATUS_INVALID_ILNP64,4,2 ; @LDNS_STATUS_INVALID_ILNP64
	.comm	_LDNS_RDF_TYPE_ILNP64,4,2       ; @LDNS_RDF_TYPE_ILNP64
	.comm	_LDNS_STATUS_OK,4,2             ; @LDNS_STATUS_OK
	.comm	_LDNS_STATUS_MEM_ERR,4,2        ; @LDNS_STATUS_MEM_ERR
.subsections_via_symbols
