	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function REBAR_SetBandInfoT
_REBAR_SetBandInfoT:                    ## @REBAR_SetBandInfoT
	.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	_FALSE@GOTPCREL(%rip), %r15
	testq	%rdx, %rdx
	je	LBB0_13
## %bb.1:
	movq	%rcx, %r13
	movq	%rdx, %rbx
	movq	(%rdx), %rax
	movq	_REBARBANDINFOA_V3_SIZE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_13
## %bb.2:
	movq	%rsi, %r14
	movq	%rdi, %r12
	cmpq	%rsi, (%rdi)
	jle	LBB0_13
## %bb.3:
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	callq	_TRACE
	movq	%rbx, %rdi
	callq	_REBAR_DumpBandInfo
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_REBAR_GetBand
	movq	%rax, %r15
	movl	8(%r12), %edi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_REBAR_CommonSetupBand
	movl	%eax, %r14d
	movq	_RBBIM_TEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rbx)
	je	LBB0_10
## %bb.4:
	movq	$0, -48(%rbp)
	movq	16(%rbx), %rsi
	leaq	-48(%rbp), %rdi
	testq	%r13, %r13
	je	LBB0_6
## %bb.5:
	callq	_Str_SetPtrW
	jmp	LBB0_7
LBB0_6:
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_Str_SetPtrAtoW
LBB0_7:
	movq	-48(%rbp), %rdi
	movq	(%r15), %rsi
	callq	_REBAR_strdifW
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	(%r15), %rdi
	callq	_Free
	movq	-48(%rbp), %rax
	movq	%rax, (%r15)
	movq	_RBBIM_TEXT@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	jmp	LBB0_10
LBB0_9:
	movq	-48(%rbp), %rdi
	callq	_Free
LBB0_10:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_REBAR_ValidateBand
	movq	%r12, %rdi
	callq	_REBAR_DumpBand
	movq	_RBBIM_CHILDSIZE@GOTPCREL(%rip), %rax
	movq	_RBBIM_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_RBBIM_STYLE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_RBBIM_IMAGE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	testl	%r14d, %ecx
	je	LBB0_11
## %bb.12:
	movq	%r12, %rdi
	callq	_REBAR_Layout
	movl	8(%r12), %edi
	movq	_TRUE@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	xorl	%esi, %esi
	callq	_InvalidateRect
	jmp	LBB0_13
LBB0_11:
	movq	_TRUE@GOTPCREL(%rip), %r15
LBB0_13:
	movl	(%r15), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REBARBANDINFOA_V3_SIZE,8,3     ## @REBARBANDINFOA_V3_SIZE
	.comm	_FALSE,4,2                      ## @FALSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"index %d\n"

	.comm	_RBBIM_TEXT,4,2                 ## @RBBIM_TEXT
	.comm	_RBBIM_CHILDSIZE,4,2            ## @RBBIM_CHILDSIZE
	.comm	_RBBIM_SIZE,4,2                 ## @RBBIM_SIZE
	.comm	_RBBIM_STYLE,4,2                ## @RBBIM_STYLE
	.comm	_RBBIM_IMAGE,4,2                ## @RBBIM_IMAGE
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_REBAR_SetBandInfoT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function REBAR_SetBandInfoT
_REBAR_SetBandInfoT:                    ; @REBAR_SetBandInfoT
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	cbz	x2, LBB0_6
; %bb.1:
	mov	x23, x2
	ldr	x8, [x2]
Lloh0:
	adrp	x9, _REBARBANDINFOA_V3_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _REBARBANDINFOA_V3_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_6
; %bb.2:
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
	cmp	x8, x1
	b.le	LBB0_6
; %bb.3:
	mov	x22, x3
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_TRACE
	mov	x0, x23
	bl	_REBAR_DumpBandInfo
	mov	x0, x19
	mov	x1, x20
	bl	_REBAR_GetBand
	mov	x21, x0
	ldr	w0, [x19, #8]
	mov	x1, x23
	mov	x2, x21
	bl	_REBAR_CommonSetupBand
	mov	x20, x0
	ldr	w8, [x23, #8]
Lloh5:
	adrp	x24, _RBBIM_TEXT@GOTPAGE
Lloh6:
	ldr	x24, [x24, _RBBIM_TEXT@GOTPAGEOFF]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.4:
	str	xzr, [sp, #8]
	ldr	x1, [x23, #16]
	add	x0, sp, #8
	cbz	x22, LBB0_8
; %bb.5:
	bl	_Str_SetPtrW
	b	LBB0_9
LBB0_6:
Lloh7:
	adrp	x21, _FALSE@GOTPAGE
Lloh8:
	ldr	x21, [x21, _FALSE@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x21]
	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
	add	sp, sp, #80
	ret
LBB0_8:
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_Str_SetPtrAtoW
LBB0_9:
	ldr	x0, [sp, #8]
	ldr	x1, [x21]
	bl	_REBAR_strdifW
	cbz	x0, LBB0_11
; %bb.10:
	ldr	x0, [x21]
	bl	_Free
	ldr	x8, [sp, #8]
	str	x8, [x21]
	ldr	w8, [x24]
	orr	w20, w8, w20
	b	LBB0_12
LBB0_11:
	ldr	x0, [sp, #8]
	bl	_Free
LBB0_12:
	mov	x0, x19
	mov	x1, x21
	bl	_REBAR_ValidateBand
	mov	x0, x19
	bl	_REBAR_DumpBand
Lloh9:
	adrp	x8, _RBBIM_CHILDSIZE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RBBIM_CHILDSIZE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _RBBIM_SIZE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _RBBIM_SIZE@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh15:
	adrp	x9, _RBBIM_STYLE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _RBBIM_STYLE@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
Lloh18:
	adrp	x10, _RBBIM_IMAGE@GOTPAGE
Lloh19:
	ldr	x10, [x10, _RBBIM_IMAGE@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh20:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh21:
	adrp	x21, _TRUE@GOTPAGE
Lloh22:
	ldr	x21, [x21, _TRUE@GOTPAGEOFF]
	tst	w8, w20
	b.eq	LBB0_7
; %bb.13:
	mov	x0, x19
	bl	_REBAR_Layout
	ldr	w0, [x19, #8]
	ldr	w2, [x21]
	mov	x1, #0
	bl	_InvalidateRect
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_REBARBANDINFOA_V3_SIZE,8,3     ; @REBARBANDINFOA_V3_SIZE
	.comm	_FALSE,4,2                      ; @FALSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"index %d\n"

	.comm	_RBBIM_TEXT,4,2                 ; @RBBIM_TEXT
	.comm	_RBBIM_CHILDSIZE,4,2            ; @RBBIM_CHILDSIZE
	.comm	_RBBIM_SIZE,4,2                 ; @RBBIM_SIZE
	.comm	_RBBIM_STYLE,4,2                ; @RBBIM_STYLE
	.comm	_RBBIM_IMAGE,4,2                ; @RBBIM_IMAGE
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_REBAR_SetBandInfoT
.subsections_via_symbols
