	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_copy_map_points1d           ## -- Begin function gl_copy_map_points1d
	.p2align	4, 0x90
_gl_copy_map_points1d:                  ## @gl_copy_map_points1d
	.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	%rcx, %rbx
	movl	%edx, %r14d
	movl	%esi, %r12d
	callq	_components
	movl	%eax, %r15d
	xorl	%eax, %eax
	testq	%rbx, %rbx
	je	LBB0_17
## %bb.1:
	testl	%r15d, %r15d
	je	LBB0_17
## %bb.2:
	movl	%r14d, %edi
	imull	%r15d, %edi
	shll	$3, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_17
## %bb.3:
	testl	%r14d, %r14d
	jle	LBB0_17
## %bb.4:
	movslq	%r12d, %r11
	movl	%r15d, %edx
	movl	%edx, %r12d
	andl	$-4, %r12d
	leaq	-4(%r12), %r8
	movq	%r8, %r10
	shrq	$2, %r10
	incq	%r10
	movq	%r10, %r9
	andq	$-2, %r9
	shlq	$2, %r11
	xorl	%r13d, %r13d
	movq	%rax, %rcx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	incl	%r13d
	addq	%r11, %rbx
	cmpl	%r14d, %r13d
	je	LBB0_17
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
                                        ##     Child Loop BB0_15 Depth 2
	testl	%r15d, %r15d
	jle	LBB0_16
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$4, %r15d
	jae	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	xorl	%esi, %esi
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	testq	%r8, %r8
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r9, %rdi
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	pmovsxdq	(%rbx,%rsi,4), %xmm0
	pmovsxdq	8(%rbx,%rsi,4), %xmm1
	movdqu	%xmm0, (%rcx,%rsi,8)
	movdqu	%xmm1, 16(%rcx,%rsi,8)
	pmovsxdq	16(%rbx,%rsi,4), %xmm0
	pmovsxdq	24(%rbx,%rsi,4), %xmm1
	movdqu	%xmm0, 32(%rcx,%rsi,8)
	movdqu	%xmm1, 48(%rcx,%rsi,8)
	addq	$8, %rsi
	addq	$-2, %rdi
	jne	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	testb	$1, %r10b
	je	LBB0_14
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	pmovsxdq	(%rbx,%rsi,4), %xmm0
	pmovsxdq	8(%rbx,%rsi,4), %xmm1
	movdqu	%xmm0, (%rcx,%rsi,8)
	movdqu	%xmm1, 16(%rcx,%rsi,8)
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	leaq	(%rcx,%r12,8), %rcx
	movq	%r12, %rsi
	cmpq	%rdx, %r12
	je	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	(%rbx,%rsi,4), %rdi
	movq	%rdi, (%rcx)
	addq	$8, %rcx
	incq	%rsi
	cmpq	%rsi, %rdx
	jne	LBB0_15
	jmp	LBB0_16
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	xorl	%esi, %esi
	testb	$1, %r10b
	jne	LBB0_13
	jmp	LBB0_14
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_copy_map_points1d           ; -- Begin function gl_copy_map_points1d
	.p2align	2
_gl_copy_map_points1d:                  ; @gl_copy_map_points1d
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x3
	mov	x20, x2
	mov	x22, x1
	bl	_components
	mov	x21, x0
	mov	x0, #0
	cbz	x19, LBB0_3
; %bb.1:
	cbz	w21, LBB0_3
; %bb.2:
	mul	w8, w20, w21
	lsl	w0, w8, #3
	bl	_malloc
	cmp	x0, #0
	ccmp	w20, #1, #8, ne
	b.ge	LBB0_4
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	w8, #0
	mov	w9, w21
	and	x10, x9, #0xfffffff8
	lsl	x11, x9, #2
	and	x11, x11, #0x3ffffffe0
	sbfiz	x12, x22, #2, #32
	mov	x15, x0
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x13, x15
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	w8, w8, #1
	add	x19, x19, x12
	mov	x15, x13
	cmp	w8, w20
	b.eq	LBB0_3
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
                                        ;     Child Loop BB0_13 Depth 2
	cmp	w21, #1
	b.lt	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w21, #8
	b.hs	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x14, #0
	mov	x13, x15
	b	LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x14, #0
	add	x13, x15, x10, lsl #3
	add	x15, x15, #32
LBB0_11:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x16, x19, x14
	ldp	d0, d1, [x16]
	ldp	d2, d3, [x16, #16]
	sshll.2d	v0, v0, #0
	sshll.2d	v1, v1, #0
	sshll.2d	v2, v2, #0
	sshll.2d	v3, v3, #0
	stp	q0, q1, [x15, #-32]
	stp	q2, q3, [x15], #64
	add	x14, x14, #32
	cmp	x11, x14
	b.ne	LBB0_11
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x14, x10
	cmp	x10, x9
	b.eq	LBB0_6
LBB0_13:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsw	x15, [x19, x14, lsl #2]
	str	x15, [x13], #8
	add	x14, x14, #1
	cmp	x9, x14
	b.ne	LBB0_13
	b	LBB0_6
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
