	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function REBAR_SizeChildrenToHeight
_REBAR_SizeChildrenToHeight:            ## @REBAR_SizeChildrenToHeight
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movl	%edx, %r15d
	movl	%esi, %ebx
	movq	%rdi, %r13
	leaq	L_.str(%rip), %rdi
	xorl	%r14d, %r14d
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	callq	_TRACE
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_REBAR_GetBand
	movl	32(%rax), %r12d
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_REBAR_GetBand
	subl	36(%rax), %r12d
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movl	%r15d, -52(%rbp)                ## 4-byte Spill
	cmpl	%r15d, %ebx
	jge	LBB0_7
## %bb.1:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addl	%eax, -48(%rbp)                 ## 4-byte Folded Spill
	xorl	%r14d, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%r15), %esi
	movl	%r14d, %edi
	callq	_max
	movl	%eax, %r14d
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_next_visible
	movl	%eax, %ebx
	cmpl	-52(%rbp), %eax                 ## 4-byte Folded Reload
	jge	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_REBAR_GetBand
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_REBARSPACE
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	subl	%eax, %esi
	movq	%r15, %rdi
	callq	_round_child_height
	cmpq	$0, 24(%r15)
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %r12d
	movl	(%r15), %edx
	cmpl	%edx, %eax
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_RBBS_VARIABLEHEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r15)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	16(%r15), %r8d
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_TRACE
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movl	%r12d, (%r15)
	movq	_NTF_INVALIDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 12(%r15)
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_update_min_band_height
	jmp	LBB0_6
LBB0_7:
	subl	-44(%rbp), %r14d                ## 4-byte Folded Reload
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[%d;%d) by %d\n"

	.comm	_RBBS_VARIABLEHEIGHT,4,2        ## @RBBS_VARIABLEHEIGHT
L_.str.1:                               ## @.str.1
	.asciz	"Resizing %d: %d -> %d [%d]\n"

	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_NTF_INVALIDATE,4,2             ## @NTF_INVALIDATE
	.no_dead_strip	_REBAR_SizeChildrenToHeight
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function REBAR_SizeChildrenToHeight
_REBAR_SizeChildrenToHeight:            ; @REBAR_SizeChildrenToHeight
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x4
	mov	x24, x3
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	mov	x0, x21
	mov	x1, x22
	bl	_REBAR_GetBand
	ldr	w23, [x0, #32]
	mov	x0, x21
	mov	x1, x22
	bl	_REBAR_GetBand
	ldr	w8, [x0, #36]
	sub	w27, w23, w8
	cmp	w22, w20
	b.ge	LBB0_7
; %bb.1:
	mov	w23, #0
	add	w28, w27, w24
Lloh2:
	adrp	x24, _RBBS_VARIABLEHEIGHT@GOTPAGE
Lloh3:
	ldr	x24, [x24, _RBBS_VARIABLEHEIGHT@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x25, #8]
	mov	x0, x23
	bl	_max
	mov	x23, x0
	mov	x0, x21
	mov	x1, x22
	bl	_next_visible
	mov	x22, x0
	cmp	w0, w20
	b.ge	LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x22
	bl	_REBAR_GetBand
	mov	x25, x0
	bl	_REBARSPACE
	sub	w1, w28, w0
	mov	x0, x25
	bl	_round_child_height
	ldr	x8, [x25, #24]
	cbz	x8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x26, x0
	ldr	w2, [x25]
	cmp	w0, w2
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x25, #4]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x25, #16]
	str	x8, [sp]
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x22
	mov	x3, x26
	bl	_TRACE
Lloh6:
	adrp	x8, _TRUE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19]
	str	w26, [x25]
Lloh9:
	adrp	x8, _NTF_INVALIDATE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NTF_INVALIDATE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x25, #12]
	orr	w8, w9, w8
	str	w8, [x25, #12]
	mov	x0, x21
	mov	x1, x25
	bl	_update_min_band_height
	b	LBB0_2
LBB0_7:
	mov	w23, #0
LBB0_8:
	sub	w0, w23, w27
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[%d;%d) by %d\n"

	.comm	_RBBS_VARIABLEHEIGHT,4,2        ; @RBBS_VARIABLEHEIGHT
l_.str.1:                               ; @.str.1
	.asciz	"Resizing %d: %d -> %d [%d]\n"

	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_NTF_INVALIDATE,4,2             ; @NTF_INVALIDATE
	.no_dead_strip	_REBAR_SizeChildrenToHeight
.subsections_via_symbols
