	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_sockaddr_storage2rdf      ## -- Begin function ldns_sockaddr_storage2rdf
	.p2align	4, 0x90
_ldns_sockaddr_storage2rdf:             ## @ldns_sockaddr_storage2rdf
	.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, %r14
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	cmpl	$128, %eax
	je	LBB0_6
## %bb.1:
	cmpl	$129, %eax
	jne	LBB0_9
## %bb.2:
	testq	%r14, %r14
	je	LBB0_4
## %bb.3:
	movl	4(%rbx), %edi
	callq	_ntohs
	movl	%eax, (%r14)
LBB0_4:
	movq	_LDNS_RDF_TYPE_A@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_LDNS_IP4ADDRLEN@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_6:
	testq	%r14, %r14
	je	LBB0_8
## %bb.7:
	movl	4(%rbx), %edi
	callq	_ntohs
	movl	%eax, (%r14)
LBB0_8:
	movq	_LDNS_RDF_TYPE_AAAA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_LDNS_IP6ADDRLEN@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %esi
	movq	%rbx, %rdx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ldns_rdf_new_frm_data          ## TAILCALL
LBB0_9:
	testq	%r14, %r14
	je	LBB0_11
## %bb.10:
	movl	$0, (%r14)
LBB0_11:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RDF_TYPE_A,4,2            ## @LDNS_RDF_TYPE_A
	.comm	_LDNS_IP4ADDRLEN,4,2            ## @LDNS_IP4ADDRLEN
	.comm	_LDNS_RDF_TYPE_AAAA,4,2         ## @LDNS_RDF_TYPE_AAAA
	.comm	_LDNS_IP6ADDRLEN,4,2            ## @LDNS_IP6ADDRLEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_sockaddr_storage2rdf      ; -- Begin function ldns_sockaddr_storage2rdf
	.p2align	2
_ldns_sockaddr_storage2rdf:             ; @ldns_sockaddr_storage2rdf
	.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	x20, x1
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, #128
	b.eq	LBB0_5
; %bb.1:
	cmp	w8, #129
	b.ne	LBB0_9
; %bb.2:
	cbz	x20, LBB0_4
; %bb.3:
	ldr	w0, [x19, #4]
	bl	_ntohs
	str	w0, [x20]
LBB0_4:
Lloh0:
	adrp	x8, _LDNS_RDF_TYPE_A@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LDNS_RDF_TYPE_A@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _LDNS_IP4ADDRLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LDNS_IP4ADDRLEN@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
	cbz	x20, LBB0_7
; %bb.6:
	ldr	w0, [x19, #4]
	bl	_ntohs
	str	w0, [x20]
LBB0_7:
Lloh5:
	adrp	x8, _LDNS_RDF_TYPE_AAAA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LDNS_RDF_TYPE_AAAA@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _LDNS_IP6ADDRLEN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LDNS_IP6ADDRLEN@GOTPAGEOFF]
LBB0_8:
	ldr	w1, [x8]
	mov	x2, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ldns_rdf_new_frm_data
LBB0_9:
	cbz	x20, LBB0_11
; %bb.10:
	str	wzr, [x20]
LBB0_11:
	mov	x0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RDF_TYPE_A,4,2            ; @LDNS_RDF_TYPE_A
	.comm	_LDNS_IP4ADDRLEN,4,2            ; @LDNS_IP4ADDRLEN
	.comm	_LDNS_RDF_TYPE_AAAA,4,2         ; @LDNS_RDF_TYPE_AAAA
	.comm	_LDNS_IP6ADDRLEN,4,2            ; @LDNS_IP6ADDRLEN
.subsections_via_symbols
