	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function REBAR_AutoSize
_REBAR_AutoSize:                        ## @REBAR_AutoSize
	.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	%r12
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_REBAR_Layout
LBB0_2:
	movl	(%rbx), %edi
	leaq	-48(%rbp), %r14
	movq	%r14, %rsi
	callq	_GetClientRect
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_get_rect_cy
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_REBAR_SizeToHeight
	movl	(%rbx), %edi
	leaq	-40(%rbp), %r15
	movq	%r15, %rsi
	callq	_GetClientRect
	movl	(%rbx), %edi
	leaq	-72(%rbp), %r12
	movq	%r12, %rsi
	callq	_GetClientRect
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_EqualRect
	movl	%eax, -56(%rbp)
	movq	-48(%rbp), %rax
	movq	%rax, -72(%rbp)
	movq	-40(%rbp), %rax
	movq	%rax, -64(%rbp)
	movq	_RBN_AUTOSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_REBAR_Notify
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RBN_AUTOSIZE,4,2               ## @RBN_AUTOSIZE
	.no_dead_strip	_REBAR_AutoSize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function REBAR_AutoSize
_REBAR_AutoSize:                        ; @REBAR_AutoSize
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
	cbz	x1, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_REBAR_Layout
LBB0_2:
	ldr	w0, [x19]
	sub	x1, x29, #24
	bl	_GetClientRect
	sub	x1, x29, #24
	mov	x0, x19
	bl	_get_rect_cy
	mov	x1, x0
	mov	x0, x19
	bl	_REBAR_SizeToHeight
	ldr	w0, [x19]
	add	x1, sp, #32
	bl	_GetClientRect
	ldr	w0, [x19]
	add	x1, sp, #8
	bl	_GetClientRect
	sub	x0, x29, #24
	add	x1, sp, #32
	bl	_EqualRect
	str	w0, [sp, #24]
	ldur	x8, [x29, #-24]
	ldr	x9, [sp, #32]
	stp	x8, x9, [sp, #8]
Lloh0:
	adrp	x8, _RBN_AUTOSIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RBN_AUTOSIZE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x0, sp, #8
	mov	x1, x19
	bl	_REBAR_Notify
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RBN_AUTOSIZE,4,2               ; @RBN_AUTOSIZE
	.no_dead_strip	_REBAR_AutoSize
.subsections_via_symbols
