	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_preview_scrollbars
_update_preview_scrollbars:             ## @update_preview_scrollbars
	.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	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	%edi, %r14d
	movl	$24, -56(%rbp)
	movq	_SIF_PAGE@GOTPCREL(%rip), %rax
	movq	_SIF_RANGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, -52(%rbp)
	movq	$0, -40(%rbp)
	movq	_preview@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	je	LBB0_1
## %bb.2:
	movl	8(%r15), %eax
	movl	12(%r15), %ecx
	imull	%eax, %ecx
	movq	_min_spacing@GOTPCREL(%rip), %r12
	incl	%eax
	imull	(%r12), %eax
	addl	%ecx, %eax
	movl	%eax, -48(%rbp)
	movl	4(%rbx), %eax
	movl	%eax, -44(%rbp)
	movq	_SB_HORZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-56(%rbp), %rdx
	movl	%r14d, %edi
	callq	_SetScrollInfo
	movl	%r14d, %edi
	movq	%rbx, %rsi
	callq	_GetClientRect
	movl	(%r12), %eax
	addl	%eax, %eax
	addl	16(%r15), %eax
	movl	%eax, -48(%rbp)
	jmp	LBB0_3
LBB0_1:
	movl	$0, -48(%rbp)
	movl	4(%rbx), %eax
	movl	%eax, -44(%rbp)
	movq	_SB_HORZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-56(%rbp), %rdx
	movl	%r14d, %edi
	callq	_SetScrollInfo
LBB0_3:
	movl	(%rbx), %eax
	movl	%eax, -44(%rbp)
	movq	_SB_VERT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-56(%rbp), %rdx
	movl	%r14d, %edi
	callq	_SetScrollInfo
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIF_PAGE,4,2                   ## @SIF_PAGE
	.comm	_SIF_RANGE,4,2                  ## @SIF_RANGE
	.comm	_preview,24,3                   ## @preview
	.comm	_SB_HORZ,4,2                    ## @SB_HORZ
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_SB_VERT,4,2                    ## @SB_VERT
	.comm	_min_spacing,4,2                ## @min_spacing
	.no_dead_strip	_update_preview_scrollbars
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_preview_scrollbars
_update_preview_scrollbars:             ; @update_preview_scrollbars
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x1
	mov	x19, x0
	mov	w8, #24
Lloh0:
	adrp	x9, _SIF_PAGE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SIF_PAGE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _SIF_RANGE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _SIF_RANGE@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w9, w10, w9
	stp	w8, w9, [sp, #8]
	str	xzr, [sp, #24]
Lloh6:
	adrp	x22, _preview@GOTPAGE
Lloh7:
	ldr	x22, [x22, _preview@GOTPAGEOFF]
	ldr	x8, [x22]
Lloh8:
	adrp	x21, _TRUE@GOTPAGE
Lloh9:
	ldr	x21, [x21, _TRUE@GOTPAGEOFF]
	cbz	x8, LBB0_2
; %bb.1:
	ldp	w9, w8, [x22, #8]
Lloh10:
	adrp	x23, _min_spacing@GOTPAGE
Lloh11:
	ldr	x23, [x23, _min_spacing@GOTPAGEOFF]
	ldr	w10, [x23]
	madd	w10, w10, w9, w10
	madd	w8, w9, w8, w10
	ldr	w9, [x20, #4]
	stp	w8, w9, [sp, #16]
Lloh12:
	adrp	x8, _SB_HORZ@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SB_HORZ@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	ldr	w3, [x21]
	add	x2, sp, #8
	mov	x0, x19
	bl	_SetScrollInfo
	mov	x0, x19
	mov	x1, x20
	bl	_GetClientRect
	ldr	w8, [x22, #16]
	ldr	w9, [x23]
	add	w8, w8, w9, lsl #1
	str	w8, [sp, #16]
	b	LBB0_3
LBB0_2:
	ldr	w8, [x20, #4]
	stp	wzr, w8, [sp, #16]
Lloh15:
	adrp	x8, _SB_HORZ@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SB_HORZ@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	ldr	w3, [x21]
	add	x2, sp, #8
	mov	x0, x19
	bl	_SetScrollInfo
LBB0_3:
	ldr	w8, [x20]
	str	w8, [sp, #20]
Lloh18:
	adrp	x8, _SB_VERT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SB_VERT@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	ldr	w3, [x21]
	add	x2, sp, #8
	mov	x0, x19
	bl	_SetScrollInfo
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_SIF_PAGE,4,2                   ; @SIF_PAGE
	.comm	_SIF_RANGE,4,2                  ; @SIF_RANGE
	.comm	_preview,24,3                   ; @preview
	.comm	_SB_HORZ,4,2                    ; @SB_HORZ
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_SB_VERT,4,2                    ; @SB_VERT
	.comm	_min_spacing,4,2                ; @min_spacing
	.no_dead_strip	_update_preview_scrollbars
.subsections_via_symbols
