	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_res_nopt_rdata                 ## -- Begin function res_nopt_rdata
	.p2align	4, 0x90
_res_nopt_rdata:                        ## @res_nopt_rdata
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movl	16(%rbp), %r15d
	movslq	%esi, %rax
	leaq	(%rdx,%rax,4), %r13
	movslq	%ecx, %rax
	leaq	(%rdx,%rax,4), %rax
	movq	%rax, %rcx
	subq	%r13, %rcx
	sarq	$2, %rcx
	leal	4(%r15), %edx
	movslq	%edx, %rdx
	movl	$-1, %ebx
	cmpq	%rdx, %rcx
	jl	LBB0_4
## %bb.1:
	movq	%r8, %r14
	leaq	8(%r12), %rcx
	cmpq	%r8, %rcx
	ja	LBB0_4
## %bb.2:
	cmpq	%r14, %rax
	jbe	LBB0_4
## %bb.3:
	movl	%r9d, %edi
	movq	%r13, %rsi
	callq	_ns_put16
	movq	_INT16SZ@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(,%rax,4), %rbx
	addq	%r13, %rbx
	movl	%r15d, %edi
	movq	%rbx, %rsi
	callq	_ns_put16
	movq	_INT16SZ@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%rbx,%rax,4), %rbx
	movq	%rbx, %rdi
	movq	24(%rbp), %rsi
	movl	%r15d, %edx
	callq	_memcpy
	movslq	%r15d, %rax
	leaq	(%rbx,%rax,4), %rbx
	movq	%rbx, %rdi
	subq	%r14, %rdi
	shrq	$2, %rdi
	addq	$-8, %r14
                                        ## kill: def $edi killed $edi killed $rdi
	movq	%r14, %rsi
	callq	_ns_put16
	subq	%r12, %rbx
	shrq	$2, %rbx
LBB0_4:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INT16SZ,4,2                    ## @INT16SZ
	.comm	_RES_DEBUG,4,2                  ## @RES_DEBUG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_res_nopt_rdata                 ; -- Begin function res_nopt_rdata
	.p2align	2
_res_nopt_rdata:                        ; @res_nopt_rdata
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	add	x23, x2, w1, sxtw #2
	add	x8, x2, w3, sxtw #2
	sub	x9, x8, x23
	add	w10, w6, #4
	sxtw	x10, w10
	cmp	x10, x9, asr #2
	b.le	LBB0_2
; %bb.1:
	mov	w0, #-1
	b	LBB0_5
LBB0_2:
	mov	x20, x4
	mov	x19, x2
	add	x9, x2, #8
	mov	w0, #-1
	cmp	x9, x4
	b.hi	LBB0_5
; %bb.3:
	cmp	x8, x20
	b.ls	LBB0_5
; %bb.4:
	mov	x22, x7
	mov	x21, x6
	mov	x0, x5
	mov	x1, x23
	bl	_ns_put16
Lloh0:
	adrp	x24, _INT16SZ@GOTPAGE
Lloh1:
	ldr	x24, [x24, _INT16SZ@GOTPAGEOFF]
	ldrsw	x8, [x24]
	add	x23, x23, x8, lsl #2
	mov	x0, x21
	mov	x1, x23
	bl	_ns_put16
	ldrsw	x8, [x24]
	add	x23, x23, x8, lsl #2
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	bl	_memcpy
	add	x21, x23, w21, sxtw #2
	sub	x8, x21, x20
	lsr	x0, x8, #2
	sub	x1, x20, #8
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_ns_put16
	sub	x8, x21, x19
	lsr	x0, x8, #2
LBB0_5:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_INT16SZ,4,2                    ; @INT16SZ
	.comm	_RES_DEBUG,4,2                  ; @RES_DEBUG
.subsections_via_symbols
