	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_str2rdf_period            ## -- Begin function ldns_str2rdf_period
	.p2align	4, 0x90
_ldns_str2rdf_period:                   ## @ldns_str2rdf_period
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rsi, %rax
	movq	%rdi, %rbx
	leaq	-16(%rbp), %rsi
	movq	%rax, %rdi
	callq	_ldns_str2period
	movq	-16(%rbp), %rcx
	cmpb	$0, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	_LDNS_STATUS_ERR@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_2:
	movq	%rax, %rdi
	callq	_htonl
	movq	%rax, -24(%rbp)
	movq	_LDNS_RDF_TYPE_PERIOD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-24(%rbp), %rdx
	movl	$8, %esi
	callq	_ldns_rdf_new_frm_data
	movq	%rax, (%rbx)
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:
	movq	_LDNS_STATUS_MEM_ERR@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_LDNS_STATUS_OK@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_STATUS_ERR,4,2            ## @LDNS_STATUS_ERR
	.comm	_LDNS_RDF_TYPE_PERIOD,4,2       ## @LDNS_RDF_TYPE_PERIOD
	.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_period            ; -- Begin function ldns_str2rdf_period
	.p2align	2
_ldns_str2rdf_period:                   ; @ldns_str2rdf_period
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x8, x1
	mov	x19, x0
	mov	x1, sp
	mov	x0, x8
	bl	_ldns_str2period
	ldr	x8, [sp]
	ldrb	w8, [x8]
	cbz	w8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _LDNS_STATUS_ERR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LDNS_STATUS_ERR@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
	bl	_htonl
	str	x0, [sp, #8]
Lloh2:
	adrp	x8, _LDNS_RDF_TYPE_PERIOD@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LDNS_RDF_TYPE_PERIOD@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	add	x2, sp, #8
	mov	w1, #8
	bl	_ldns_rdf_new_frm_data
Lloh5:
	adrp	x8, _LDNS_STATUS_OK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LDNS_STATUS_OK@GOTPAGEOFF]
	str	x0, [x19]
Lloh7:
	adrp	x9, _LDNS_STATUS_MEM_ERR@GOTPAGE
Lloh8:
	ldr	x9, [x9, _LDNS_STATUS_MEM_ERR@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_STATUS_ERR,4,2            ; @LDNS_STATUS_ERR
	.comm	_LDNS_RDF_TYPE_PERIOD,4,2       ; @LDNS_RDF_TYPE_PERIOD
	.comm	_LDNS_STATUS_OK,4,2             ; @LDNS_STATUS_OK
	.comm	_LDNS_STATUS_MEM_ERR,4,2        ; @LDNS_STATUS_MEM_ERR
.subsections_via_symbols
