	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_menu_widgets_context_destroy   ## -- Begin function menu_widgets_context_destroy
	.p2align	4, 0x90
_menu_widgets_context_destroy:          ## @menu_widgets_context_destroy
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_MENU_WIDGETS_ICON_LAST@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_3
## %bb.1:
	xorl	%r12d, %r12d
	movq	_menu_widgets_icons_textures@GOTPCREL(%rip), %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	addq	%r12, %rdi
	callq	_video_driver_texture_unload
	incq	%rbx
	movslq	(%r14), %rax
	addq	$4, %r12
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	movq	_msg_queue_icon@GOTPCREL(%rip), %rdi
	callq	_video_driver_texture_unload
	movq	_msg_queue_icon_outline@GOTPCREL(%rip), %rdi
	callq	_video_driver_texture_unload
	movq	_msg_queue_icon_rect@GOTPCREL(%rip), %rdi
	callq	_video_driver_texture_unload
	movq	_font_regular@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_menu_display_font_free
	movq	_font_bold@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_menu_display_font_free
	movq	$0, (%r14)
	movq	$0, (%rbx)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MENU_WIDGETS_ICON_LAST,4,2     ## @MENU_WIDGETS_ICON_LAST
	.comm	_menu_widgets_icons_textures,8,3 ## @menu_widgets_icons_textures
	.comm	_msg_queue_icon,4,2             ## @msg_queue_icon
	.comm	_msg_queue_icon_outline,4,2     ## @msg_queue_icon_outline
	.comm	_msg_queue_icon_rect,4,2        ## @msg_queue_icon_rect
	.comm	_font_regular,8,3               ## @font_regular
	.comm	_font_bold,8,3                  ## @font_bold
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_menu_widgets_context_destroy   ; -- Begin function menu_widgets_context_destroy
	.p2align	2
_menu_widgets_context_destroy:          ; @menu_widgets_context_destroy
	.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	x19, _MENU_WIDGETS_ICON_LAST@GOTPAGE
Lloh1:
	ldr	x19, [x19, _MENU_WIDGETS_ICON_LAST@GOTPAGEOFF]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x20, #0
	mov	x21, #0
Lloh2:
	adrp	x22, _menu_widgets_icons_textures@GOTPAGE
Lloh3:
	ldr	x22, [x22, _menu_widgets_icons_textures@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	add	x0, x8, x20
	bl	_video_driver_texture_unload
	add	x21, x21, #1
	ldrsw	x8, [x19]
	add	x20, x20, #4
	cmp	x21, x8
	b.lt	LBB0_2
LBB0_3:
Lloh4:
	adrp	x0, _msg_queue_icon@GOTPAGE
Lloh5:
	ldr	x0, [x0, _msg_queue_icon@GOTPAGEOFF]
	bl	_video_driver_texture_unload
Lloh6:
	adrp	x0, _msg_queue_icon_outline@GOTPAGE
Lloh7:
	ldr	x0, [x0, _msg_queue_icon_outline@GOTPAGEOFF]
	bl	_video_driver_texture_unload
Lloh8:
	adrp	x0, _msg_queue_icon_rect@GOTPAGE
Lloh9:
	ldr	x0, [x0, _msg_queue_icon_rect@GOTPAGEOFF]
	bl	_video_driver_texture_unload
Lloh10:
	adrp	x19, _font_regular@GOTPAGE
Lloh11:
	ldr	x19, [x19, _font_regular@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_menu_display_font_free
Lloh12:
	adrp	x20, _font_bold@GOTPAGE
Lloh13:
	ldr	x20, [x20, _font_bold@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_menu_display_font_free
	str	xzr, [x19]
	str	xzr, [x20]
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MENU_WIDGETS_ICON_LAST,4,2     ; @MENU_WIDGETS_ICON_LAST
	.comm	_menu_widgets_icons_textures,8,3 ; @menu_widgets_icons_textures
	.comm	_msg_queue_icon,4,2             ; @msg_queue_icon
	.comm	_msg_queue_icon_outline,4,2     ; @msg_queue_icon_outline
	.comm	_msg_queue_icon_rect,4,2        ; @msg_queue_icon_rect
	.comm	_font_regular,8,3               ; @font_regular
	.comm	_font_bold,8,3                  ; @font_bold
.subsections_via_symbols
