	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function psh_blues_set_zones
_psh_blues_set_zones:                   ## @psh_blues_set_zones
	.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	%r9, %r12
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r13
	movq	%rdx, %rcx
	movq	%rsi, %rdx
	movq	%rdi, %r14
	leaq	48(%rdi), %rax
	leaq	32(%rdi), %r15
	leaq	16(%rdi), %rbx
	cmpq	$0, 16(%rbp)
	cmoveq	%rdi, %r15
	cmovneq	%rax, %rbx
	movq	$0, (%rbx)
	movq	$0, (%r15)
	xorl	%esi, %esi
	movq	%rbx, %r8
	movq	%r15, %r9
	callq	_psh_blues_set_zones_0
	movq	%r14, %rdi
	movl	$1, %esi
	movq	%r13, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rbx, %r8
	movq	%r15, %r9
	callq	_psh_blues_set_zones_0
	movq	%rbx, %r11
	movq	(%rbx), %r9
	movq	(%r15), %r8
	testq	%r9, %r9
	jle	LBB0_15
## %bb.1:
	movq	8(%r11), %rdx
	cmpq	$1, %r9
	je	LBB0_14
## %bb.2:
	testb	$1, %r9b
	jne	LBB0_3
## %bb.4:
	movq	32(%rdx), %rax
	movq	(%rdx), %rsi
	movq	8(%rdx), %rdi
	subq	%rsi, %rax
	cmpq	%rax, %rdi
	jle	LBB0_6
## %bb.5:
	movq	%rax, 8(%rdx)
	movq	%rax, %rdi
LBB0_6:
	movq	%rsi, 16(%rdx)
	addq	%rsi, %rdi
	movq	%rdi, 24(%rdx)
	leaq	-1(%r9), %rsi
	addq	$32, %rdx
	cmpq	$2, %r9
	je	LBB0_14
	jmp	LBB0_8
LBB0_3:
	movq	%r9, %rsi
	cmpq	$2, %r9
	jne	LBB0_8
LBB0_14:
	movq	(%rdx), %rax
	movq	%rax, 16(%rdx)
	addq	8(%rdx), %rax
	movq	%rax, 24(%rdx)
LBB0_15:
	movq	8(%r15), %r10
	testq	%r8, %r8
	jle	LBB0_29
## %bb.16:
	movq	%r10, %rsi
	cmpq	$1, %r8
	je	LBB0_28
## %bb.17:
	movq	%r10, %rsi
	movq	%r8, %rdi
	testb	$1, %r8b
	jne	LBB0_21
## %bb.18:
	movq	(%r10), %rsi
	movq	8(%r10), %rdi
	movq	%rsi, %rax
	subq	32(%r10), %rax
	cmpq	%rax, %rdi
	jge	LBB0_20
## %bb.19:
	movq	%rax, 8(%r10)
	movq	%rax, %rdi
LBB0_20:
	movq	%rsi, 24(%r10)
	addq	%rsi, %rdi
	movq	%rdi, 16(%r10)
	leaq	-1(%r8), %rdi
	leaq	32(%r10), %rsi
LBB0_21:
	cmpq	$2, %r8
	jne	LBB0_22
LBB0_28:
	movq	(%rsi), %rax
	movq	%rax, 24(%rsi)
	addq	8(%rsi), %rax
	movq	%rax, 16(%rsi)
LBB0_29:
	testq	%r9, %r9
	jle	LBB0_35
## %bb.30:
	movq	8(%r11), %rsi
	subq	%r12, 16(%rsi)
	movq	24(%rsi), %rdi
	cmpq	$1, %r9
	jne	LBB0_32
## %bb.31:
	movq	%rdi, %rbx
	jmp	LBB0_34
LBB0_32:
	incq	%r9
	.p2align	4, 0x90
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	movq	48(%rsi), %rdx
	movq	%rdx, %rax
	subq	%rdi, %rax
	movq	%rax, %rcx
	shrq	$63, %rcx
	addq	%rax, %rcx
	sarq	%rcx
	subq	%r12, %rdx
	leaq	(%rcx,%rdi), %rax
	addq	%r12, %rdi
	cmpq	%r12, %rcx
	cmovlq	%rax, %rdx
	movq	56(%rsi), %rbx
	cmovlq	%rax, %rdi
	movq	%rdx, 48(%rsi)
	movq	%rdi, 24(%rsi)
	addq	$32, %rsi
	decq	%r9
	movq	%rbx, %rdi
	cmpq	$2, %r9
	ja	LBB0_33
LBB0_34:
	addq	%r12, %rbx
	movq	%rbx, 24(%rsi)
LBB0_35:
	testq	%r8, %r8
	jle	LBB0_41
## %bb.36:
	subq	%r12, 16(%r10)
	movq	24(%r10), %rcx
	cmpq	$1, %r8
	jne	LBB0_38
## %bb.37:
	movq	%rcx, %rsi
	jmp	LBB0_40
LBB0_38:
	incq	%r8
	.p2align	4, 0x90
LBB0_39:                                ## =>This Inner Loop Header: Depth=1
	movq	48(%r10), %rax
	movq	%rax, %rdx
	subq	%rcx, %rdx
	movq	%rdx, %rsi
	shrq	$63, %rsi
	addq	%rdx, %rsi
	sarq	%rsi
	subq	%r12, %rax
	leaq	(%rsi,%rcx), %rdx
	addq	%r12, %rcx
	cmpq	%r12, %rsi
	cmovlq	%rdx, %rax
	movq	56(%r10), %rsi
	cmovlq	%rdx, %rcx
	movq	%rax, 48(%r10)
	movq	%rcx, 24(%r10)
	addq	$32, %r10
	decq	%r8
	movq	%rsi, %rcx
	cmpq	$2, %r8
	ja	LBB0_39
LBB0_40:
	addq	%r12, %rsi
	movq	%rsi, 24(%r10)
LBB0_41:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	decq	%rsi
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%rdi, 48(%rdx)
	addq	%rdi, %rbx
	movq	%rbx, 56(%rdx)
	addq	$64, %rdx
	addq	$-2, %rsi
	je	LBB0_14
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%rdx), %rax
	movq	(%rdx), %rdi
	movq	8(%rdx), %rbx
	subq	%rdi, %rax
	cmpq	%rax, %rbx
	jle	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%rax, 8(%rdx)
	movq	%rax, %rbx
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%rdi, 16(%rdx)
	addq	%rdi, %rbx
	movq	%rbx, 24(%rdx)
	movq	64(%rdx), %rax
	movq	32(%rdx), %rdi
	movq	40(%rdx), %rbx
	subq	%rdi, %rax
	cmpq	%rax, %rbx
	jle	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%rax, 40(%rdx)
	movq	%rax, %rbx
	jmp	LBB0_13
LBB0_22:
	decq	%rdi
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_23 Depth=1
	movq	%rbx, 56(%rsi)
	addq	%rbx, %rax
	movq	%rax, 48(%rsi)
	addq	$64, %rsi
	addq	$-2, %rdi
	je	LBB0_28
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rsi), %rcx
	movq	8(%rsi), %rax
	movq	%rcx, %rbx
	subq	32(%rsi), %rbx
	cmpq	%rbx, %rax
	jge	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	%rbx, 8(%rsi)
	movq	%rbx, %rax
LBB0_25:                                ##   in Loop: Header=BB0_23 Depth=1
	movq	%rcx, 24(%rsi)
	addq	%rcx, %rax
	movq	%rax, 16(%rsi)
	movq	32(%rsi), %rbx
	movq	40(%rsi), %rax
	movq	%rbx, %rcx
	subq	64(%rsi), %rcx
	cmpq	%rcx, %rax
	jge	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	%rcx, 40(%rsi)
	movq	%rcx, %rax
	jmp	LBB0_27
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_psh_blues_set_zones
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function psh_blues_set_zones
_psh_blues_set_zones:                   ; @psh_blues_set_zones
	.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	x19, x5
	mov	x22, x4
	mov	x23, x3
	mov	x3, x2
	mov	x2, x1
	mov	x24, x0
	add	x8, x0, #48
	add	x9, x0, #32
	add	x10, x0, #16
	cmp	x6, #0
	csel	x21, x0, x9, eq
	csel	x20, x10, x8, eq
	str	xzr, [x20]
	str	xzr, [x21]
	mov	w1, #0
	mov	x4, x20
	mov	x5, x21
	bl	_psh_blues_set_zones_0
	mov	x0, x24
	mov	w1, #1
	mov	x2, x23
	mov	x3, x22
	mov	x4, x20
	mov	x5, x21
	bl	_psh_blues_set_zones_0
	ldr	x10, [x20]
	ldr	x8, [x21]
	subs	x11, x10, #1
	b.lt	LBB0_3
; %bb.1:
	ldr	x9, [x20, #8]
	b.ne	LBB0_10
LBB0_2:
	ldp	x11, x12, [x9]
	add	x12, x12, x11
	stp	x11, x12, [x9, #16]
LBB0_3:
	ldr	x9, [x21, #8]
	subs	x11, x8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x12, x9
	b.ne	LBB0_12
LBB0_5:
	ldp	x11, x13, [x12]
	add	x13, x13, x11
	stp	x13, x11, [x12, #16]
LBB0_6:
	cmp	x10, #1
	b.lt	LBB0_19
; %bb.7:
	ldr	x11, [x20, #8]
	ldp	x13, x12, [x11, #16]
	sub	x13, x13, x19
	str	x13, [x11, #16]
	cmp	x10, #1
	b.ne	LBB0_16
; %bb.8:
	mov	x13, x11
	b	LBB0_18
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x13, x14, x12
	stp	x12, x13, [x9, #16]
	add	x9, x9, #32
	subs	x11, x11, #1
	b.eq	LBB0_2
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x9, #32]
	ldp	x12, x14, [x9]
	sub	x13, x13, x12
	cmp	x14, x13
	b.le	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	str	x13, [x9, #8]
	mov	x14, x13
	b	LBB0_9
LBB0_12:
	mov	x12, x9
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x14, x15, x13
	stp	x14, x13, [x12, #16]
	add	x12, x12, #32
	subs	x11, x11, #1
	b.eq	LBB0_5
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x14, [x12, #32]
	ldp	x13, x15, [x12]
	sub	x14, x13, x14
	cmp	x15, x14
	b.ge	LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	str	x14, [x12, #8]
	mov	x15, x14
	b	LBB0_13
LBB0_16:
	add	x10, x10, #1
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x11, #48]
	sub	x14, x13, x12
	cmp	x14, #0
	cinc	x14, x14, lt
	asr	x14, x14, #1
	add	x15, x12, x19
	sub	x13, x13, x19
	add	x12, x14, x12
	cmp	x14, x19
	csel	x13, x12, x13, lt
	csel	x12, x12, x15, lt
	str	x13, [x11, #48]
	str	x12, [x11, #24]
	add	x13, x11, #32
	ldr	x12, [x11, #56]
	sub	x10, x10, #1
	mov	x11, x13
	cmp	x10, #2
	b.hi	LBB0_17
LBB0_18:
	add	x10, x12, x19
	str	x10, [x13, #24]
LBB0_19:
	cmp	x8, #1
	b.lt	LBB0_25
; %bb.20:
	ldp	x11, x10, [x9, #16]
	sub	x11, x11, x19
	str	x11, [x9, #16]
	cmp	x8, #1
	b.ne	LBB0_22
; %bb.21:
	mov	x11, x9
	b	LBB0_24
LBB0_22:
	add	x8, x8, #1
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x9, #48]
	sub	x12, x11, x10
	cmp	x12, #0
	cinc	x12, x12, lt
	asr	x12, x12, #1
	add	x13, x10, x19
	sub	x11, x11, x19
	add	x10, x12, x10
	cmp	x12, x19
	csel	x11, x10, x11, lt
	csel	x10, x10, x13, lt
	str	x11, [x9, #48]
	str	x10, [x9, #24]
	add	x11, x9, #32
	ldr	x10, [x9, #56]
	sub	x8, x8, #1
	mov	x9, x11
	cmp	x8, #2
	b.hi	LBB0_23
LBB0_24:
	add	x8, x10, x19
	str	x8, [x11, #24]
LBB0_25:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_psh_blues_set_zones
.subsections_via_symbols
