	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_int_array_concat               ## -- Begin function int_array_concat
	.p2align	4, 0x90
_int_array_concat:                      ## @int_array_concat
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rdi), %rdi
	callq	_int_array_len
	movl	%eax, %r12d
	movq	%rbx, %rdi
	callq	_int_array_len
	movl	%eax, %r13d
	movq	(%r14), %rdi
	leal	(%r12,%r13), %esi
	incl	%esi
	movl	$4, %edx
	callq	_os_realloc_array
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	testl	%r13d, %r13d
	js	LBB0_21
## %bb.2:
	movslq	%r12d, %r8
	leal	1(%r13), %r10d
	cmpl	$7, %r13d
	jb	LBB0_3
## %bb.5:
	leaq	(%r15,%r8,4), %rcx
	subq	%rbx, %rcx
	cmpq	$32, %rcx
	jae	LBB0_7
LBB0_3:
	xorl	%ecx, %ecx
LBB0_15:
	movq	%rcx, %rdx
	notq	%rdx
	addq	%r10, %rdx
	movq	%r10, %rsi
	andq	$3, %rsi
	je	LBB0_18
## %bb.16:
	leaq	(%r15,%r8,4), %rdi
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx,%rcx,4), %eax
	movl	%eax, (%rdi,%rcx,4)
	incq	%rcx
	decq	%rsi
	jne	LBB0_17
LBB0_18:
	cmpq	$3, %rdx
	jb	LBB0_21
## %bb.19:
	leaq	(%r15,%r8,4), %rdx
	addq	$12, %rdx
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx,%rcx,4), %eax
	movl	%eax, -12(%rdx,%rcx,4)
	movl	4(%rbx,%rcx,4), %eax
	movl	%eax, -8(%rdx,%rcx,4)
	movl	8(%rbx,%rcx,4), %eax
	movl	%eax, -4(%rdx,%rcx,4)
	movl	12(%rbx,%rcx,4), %eax
	movl	%eax, (%rdx,%rcx,4)
	addq	$4, %rcx
	cmpq	%rcx, %r10
	jne	LBB0_20
	jmp	LBB0_21
LBB0_4:
	movq	(%r14), %rdi
	callq	_os_free
LBB0_21:
	movq	%r15, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	%r10d, %ecx
	andl	$-8, %ecx
	leaq	-8(%rcx), %rdx
	movq	%rdx, %rdi
	shrq	$3, %rdi
	incq	%rdi
	movl	%edi, %r9d
	andl	$3, %r9d
	cmpq	$24, %rdx
	jae	LBB0_9
## %bb.8:
	xorl	%edx, %edx
	jmp	LBB0_11
LBB0_9:
	andq	$-4, %rdi
	leaq	(%r15,%r8,4), %rsi
	addq	$112, %rsi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movups	(%rbx,%rdx,4), %xmm0
	movups	16(%rbx,%rdx,4), %xmm1
	movups	%xmm0, -112(%rsi,%rdx,4)
	movups	%xmm1, -96(%rsi,%rdx,4)
	movups	32(%rbx,%rdx,4), %xmm0
	movups	48(%rbx,%rdx,4), %xmm1
	movups	%xmm0, -80(%rsi,%rdx,4)
	movups	%xmm1, -64(%rsi,%rdx,4)
	movups	64(%rbx,%rdx,4), %xmm0
	movups	80(%rbx,%rdx,4), %xmm1
	movups	%xmm0, -48(%rsi,%rdx,4)
	movups	%xmm1, -32(%rsi,%rdx,4)
	movups	96(%rbx,%rdx,4), %xmm0
	movups	112(%rbx,%rdx,4), %xmm1
	movups	%xmm0, -16(%rsi,%rdx,4)
	movups	%xmm1, (%rsi,%rdx,4)
	addq	$32, %rdx
	addq	$-4, %rdi
	jne	LBB0_10
LBB0_11:
	testq	%r9, %r9
	je	LBB0_14
## %bb.12:
	leaq	(%rdx,%r8), %rsi
	leaq	(%r15,%rsi,4), %rsi
	addq	$16, %rsi
	leaq	(%rbx,%rdx,4), %rdx
	addq	$16, %rdx
	shlq	$5, %r9
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rdx,%rdi), %xmm0
	movups	(%rdx,%rdi), %xmm1
	movups	%xmm0, -16(%rsi,%rdi)
	movups	%xmm1, (%rsi,%rdi)
	addq	$32, %rdi
	cmpq	%rdi, %r9
	jne	LBB0_13
LBB0_14:
	cmpq	%r10, %rcx
	je	LBB0_21
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_int_array_concat               ; -- Begin function int_array_concat
	.p2align	2
_int_array_concat:                      ; @int_array_concat
	.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
	mov	x21, x1
	mov	x19, x0
	ldr	x0, [x0]
	bl	_int_array_len
	mov	x22, x0
	mov	x0, x21
	bl	_int_array_len
	mov	x23, x0
	ldr	x0, [x19]
	add	w8, w22, w23
	add	w1, w8, #1
	mov	w2, #4
	bl	_os_realloc_array
	mov	x20, x0
	cbz	x0, LBB0_7
; %bb.1:
	tbnz	w23, #31, LBB0_8
; %bb.2:
	sxtw	x9, w22
	add	w8, w23, #1
	cmp	w23, #15
	b.lo	LBB0_4
; %bb.3:
	add	x11, x20, x9, lsl #2
	sub	x10, x11, x21
	cmp	x10, #64
	b.hs	LBB0_9
LBB0_4:
	mov	x10, #0
LBB0_5:
	add	x9, x10, x9
	add	x9, x20, x9, lsl #2
	add	x11, x21, x10, lsl #2
	sub	x8, x8, x10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x11], #4
	str	w10, [x9], #4
	subs	x8, x8, #1
	b.ne	LBB0_6
	b	LBB0_8
LBB0_7:
	ldr	x0, [x19]
	bl	_os_free
LBB0_8:
	str	x20, [x19]
	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
LBB0_9:
	and	x10, x8, #0xfffffff0
	add	x11, x11, #32
	add	x12, x21, #32
	mov	x13, x10
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x12, #-32]
	ldp	q2, q3, [x12], #64
	stp	q0, q1, [x11, #-32]
	stp	q2, q3, [x11], #64
	subs	x13, x13, #16
	b.ne	LBB0_10
; %bb.11:
	cmp	x10, x8
	b.eq	LBB0_8
	b	LBB0_5
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
