	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bin_split                      ## -- Begin function bin_split
	.p2align	4, 0x90
_bin_split:                             ## @bin_split
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, 8(%rdi)
	je	LBB0_5
## %bb.1:
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movslq	(%rdi), %rax
	movslq	%edx, %rcx
	subq	%rax, %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_lock_quick_unlock
	movq	%r15, %rdi
	callq	_lock_quick_unlock
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	addq	16(%r15), %r12
	movq	%r12, %rdi
	callq	_lock_quick_unlock
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	incq	%r12
	cmpq	8(%r15), %r12
	jae	LBB0_5
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	shlq	$4, %r12
	movq	16(%r15), %rdi
	addq	%r12, %rdi
	callq	_lock_quick_lock
	movq	16(%r15), %rax
	movq	8(%rax,%r12), %r13
	leaq	(%rbx,%r12), %rdi
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	callq	_lock_quick_lock
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	orq	-56(%rbp), %r15                 ## 8-byte Folded Reload
	shlq	$4, %r15
	addq	%rbx, %r15
	movq	%r15, %rdi
	callq	_lock_quick_lock
	testq	%r13, %r13
	je	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r13), %rax
	movl	(%r13), %ecx
	andl	%r14d, %ecx
	movslq	%ecx, %rcx
	shlq	$4, %rcx
	movq	8(%rbx,%rcx), %rdx
	movq	%rdx, 8(%r13)
	movq	%r13, 8(%rbx,%rcx)
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_3
	jmp	LBB0_4
LBB0_5:
	addq	$40, %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	_bin_split                      ; -- Begin function bin_split
	.p2align	2
_bin_split:                             ; @bin_split
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_5
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x24, #0
	ldrsw	x8, [x0]
	sxtw	x9, w19
	sub	x25, x9, x8
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	bl	_lock_quick_unlock
	mov	x0, x23
	bl	_lock_quick_unlock
	ldr	x8, [x21, #16]
	add	x0, x8, x24, lsl #4
	bl	_lock_quick_unlock
	add	x24, x24, #1
	ldr	x8, [x21, #8]
	cmp	x24, x8
	b.hs	LBB0_5
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	ldr	x8, [x21, #16]
	lsl	x22, x24, #4
	add	x0, x8, x22
	bl	_lock_quick_lock
	ldr	x8, [x21, #16]
	add	x8, x8, x22
	ldr	x26, [x8, #8]
	add	x22, x20, x22
	mov	x0, x22
	bl	_lock_quick_lock
	orr	x8, x24, x25
	add	x23, x20, x8, lsl #4
	mov	x0, x23
	bl	_lock_quick_lock
	cbz	x26, LBB0_2
LBB0_4:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x26, #8]
	ldr	w9, [x26]
	and	w9, w9, w19
	add	x9, x20, w9, sxtw #4
	ldr	x10, [x9, #8]
	str	x10, [x26, #8]
	str	x26, [x9, #8]
	mov	x26, x8
	cbnz	x8, LBB0_4
	b	LBB0_2
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
