	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function REBAR_GetBandBorders
_REBAR_GetBandBorders:                  ## @REBAR_GetBandBorders
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.1:
	movq	%rdi, %rbx
	cmpq	%rsi, (%rdi)
	jle	LBB0_7
## %bb.2:
	movq	%rdx, %r14
	movq	%rbx, %rdi
	callq	_REBAR_GetBand
	movl	8(%rbx), %ecx
	movq	_RBS_BANDBORDERS@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_6
## %bb.3:
	movq	_CCS_VERT@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_5
## %bb.4:
	movl	$1, (%r14)
	movl	(%rax), %eax
	addl	$4, %eax
	movl	%eax, 4(%r14)
	movq	$1, 8(%r14)
	jmp	LBB0_7
LBB0_6:
	movl	(%rax), %eax
	movl	%eax, (%r14)
	jmp	LBB0_7
LBB0_5:
	movl	(%rax), %eax
	addl	$4, %eax
	movl	%eax, (%r14)
	movq	$1, 4(%r14)
	movl	$1, 12(%r14)
LBB0_7:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RBS_BANDBORDERS,4,2            ## @RBS_BANDBORDERS
	.comm	_CCS_VERT,4,2                   ## @CCS_VERT
	.no_dead_strip	_REBAR_GetBandBorders
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function REBAR_GetBandBorders
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_REBAR_GetBandBorders:                  ; @REBAR_GetBandBorders
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x2, LBB0_7
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0]
	cmp	x8, x1
	b.le	LBB0_7
; %bb.2:
	mov	x19, x2
	mov	x0, x20
	bl	_REBAR_GetBand
	ldr	w8, [x20, #8]
Lloh0:
	adrp	x9, _RBS_BANDBORDERS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RBS_BANDBORDERS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.3:
Lloh3:
	adrp	x9, _CCS_VERT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CCS_VERT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.4:
	mov	w8, #1
	ldr	w9, [x0]
	add	w9, w9, #4
	stp	w8, w9, [x19]
Lloh6:
	adrp	x8, lCPI0_0@PAGE
Lloh7:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19, #8]
	b	LBB0_7
LBB0_5:
	ldr	w8, [x0]
	str	w8, [x19]
	b	LBB0_7
LBB0_6:
	ldr	w8, [x0]
	add	w8, w8, #4
	str	w8, [x19]
Lloh8:
	adrp	x8, lCPI0_0@PAGE
Lloh9:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	stur	d0, [x19, #4]
	mov	w8, #1
	str	w8, [x19, #12]
LBB0_7:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdr	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_RBS_BANDBORDERS,4,2            ; @RBS_BANDBORDERS
	.comm	_CCS_VERT,4,2                   ; @CCS_VERT
	.no_dead_strip	_REBAR_GetBandBorders
.subsections_via_symbols
