	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function realloc_screen
_realloc_screen:                        ## @realloc_screen
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_scr_w@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_scr_h@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_g_menuscreen_w@GOTPCREL(%rip), %rcx
	movl	%ebx, (%rcx)
	movq	_g_screen_width@GOTPCREL(%rip), %rcx
	movl	%ebx, (%rcx)
	imull	%eax, %ebx
	addl	%ebx, %ebx
	movq	_g_menuscreen_h@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_g_screen_height@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_g_screen_ptr@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movl	%ebx, %esi
	callq	_realloc
	movl	%eax, (%r14)
	movq	_g_menubg_ptr@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	%ebx, %esi
	callq	_realloc
	movl	%eax, (%r15)
	movl	(%r14), %edi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_memset
	movl	(%r15), %edi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_memset
	movq	_scr_changed@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_scr_w,4,2                      ## @scr_w
	.comm	_scr_h,4,2                      ## @scr_h
	.comm	_g_menuscreen_w,4,2             ## @g_menuscreen_w
	.comm	_g_screen_width,4,2             ## @g_screen_width
	.comm	_g_menuscreen_h,4,2             ## @g_menuscreen_h
	.comm	_g_screen_height,4,2            ## @g_screen_height
	.comm	_g_screen_ptr,4,2               ## @g_screen_ptr
	.comm	_g_menubg_ptr,4,2               ## @g_menubg_ptr
	.comm	_scr_changed,8,3                ## @scr_changed
	.no_dead_strip	_realloc_screen
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function realloc_screen
_realloc_screen:                        ; @realloc_screen
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _scr_w@GOTPAGE
Lloh1:
	ldr	x8, [x8, _scr_w@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _scr_h@GOTPAGE
Lloh4:
	ldr	x9, [x9, _scr_h@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	mul	w10, w8, w9
	lsl	w19, w10, #1
Lloh6:
	adrp	x10, _g_menuscreen_w@GOTPAGE
Lloh7:
	ldr	x10, [x10, _g_menuscreen_w@GOTPAGEOFF]
Lloh8:
	str	w8, [x10]
Lloh9:
	adrp	x10, _g_screen_width@GOTPAGE
Lloh10:
	ldr	x10, [x10, _g_screen_width@GOTPAGEOFF]
Lloh11:
	str	w8, [x10]
Lloh12:
	adrp	x8, _g_menuscreen_h@GOTPAGE
Lloh13:
	ldr	x8, [x8, _g_menuscreen_h@GOTPAGEOFF]
Lloh14:
	str	w9, [x8]
Lloh15:
	adrp	x8, _g_screen_height@GOTPAGE
Lloh16:
	ldr	x8, [x8, _g_screen_height@GOTPAGEOFF]
Lloh17:
	str	w9, [x8]
Lloh18:
	adrp	x20, _g_screen_ptr@GOTPAGE
Lloh19:
	ldr	x20, [x20, _g_screen_ptr@GOTPAGEOFF]
	ldr	w0, [x20]
	mov	x1, x19
	bl	_realloc
	str	w0, [x20]
Lloh20:
	adrp	x21, _g_menubg_ptr@GOTPAGE
Lloh21:
	ldr	x21, [x21, _g_menubg_ptr@GOTPAGEOFF]
	ldr	w0, [x21]
	mov	x1, x19
	bl	_realloc
	str	w0, [x21]
	ldr	w0, [x20]
	mov	w1, #0
	mov	x2, x19
	bl	_memset
	ldr	w0, [x21]
	mov	w1, #0
	mov	x2, x19
	bl	_memset
Lloh22:
	adrp	x8, _scr_changed@GOTPAGE
Lloh23:
	ldr	x8, [x8, _scr_changed@GOTPAGEOFF]
Lloh24:
	str	xzr, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_scr_w,4,2                      ; @scr_w
	.comm	_scr_h,4,2                      ; @scr_h
	.comm	_g_menuscreen_w,4,2             ; @g_menuscreen_w
	.comm	_g_screen_width,4,2             ; @g_screen_width
	.comm	_g_menuscreen_h,4,2             ; @g_menuscreen_h
	.comm	_g_screen_height,4,2            ; @g_screen_height
	.comm	_g_screen_ptr,4,2               ; @g_screen_ptr
	.comm	_g_menubg_ptr,4,2               ; @g_menubg_ptr
	.comm	_scr_changed,8,3                ; @scr_changed
	.no_dead_strip	_realloc_screen
.subsections_via_symbols
