	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_menu_display_draw_bg           ## -- Begin function menu_display_draw_bg
	.p2align	4, 0x90
_menu_display_draw_bg:                  ## @menu_display_draw_bg
	.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
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.1:
	movq	_menu_disp@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	testq	%rcx, %rcx
	je	LBB0_13
## %bb.2:
	movl	%edx, %r15d
	movq	%rdi, %rbx
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %r12
	movq	8(%rdi), %r13
	testq	%r12, %r12
	je	LBB0_3
## %bb.4:
	testq	%r13, %r13
	je	LBB0_5
LBB0_6:
	movl	56(%rbx), %eax
	movl	%eax, _menu_display_draw_bg.coords(%rip)
	leaq	_menu_display_draw_bg.coords(%rip), %rax
	movq	%r12, _menu_display_draw_bg.coords+8(%rip)
	movq	%r13, _menu_display_draw_bg.coords+16(%rip)
	movq	%r13, _menu_display_draw_bg.coords+24(%rip)
	movq	40(%rbx), %rdi
	movq	%rdi, _menu_display_draw_bg.coords+32(%rip)
	movq	%rax, 48(%rbx)
	movq	$1065353216, 16(%rbx)           ## imm = 0x3F800000
	testl	%r15d, %r15d
	jne	LBB0_8
## %bb.7:
	cmpq	$0, 32(%rbx)
	je	LBB0_9
LBB0_8:
	callq	_menu_display_set_alpha
	cmpq	$0, 32(%rbx)
	jne	LBB0_10
LBB0_9:
	movq	_menu_display_white_texture@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%rbx)
LBB0_10:
	movq	(%r14), %rax
	testq	%rax, %rax
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_13
## %bb.11:
	movq	16(%rax), %rax
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	callq	*%rax
	movq	%rax, 24(%rbx)
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	xorl	%eax, %eax
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	callq	*(%rcx)
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movq	%rax, %r12
	testq	%r13, %r13
	jne	LBB0_6
LBB0_5:
	movq	(%r14), %rcx
	xorl	%eax, %eax
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	callq	*8(%rcx)
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movq	%rax, %r13
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_menu_display_draw_bg.coords,40,3 ## @menu_display_draw_bg.coords
	.comm	_menu_disp,8,3                  ## @menu_disp
	.comm	_menu_display_white_texture,8,3 ## @menu_display_white_texture
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function menu_display_draw_bg
lCPI0_0:
	.long	0x3f800000                      ; float 1
	.long	0x00000000                      ; float 0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_menu_display_draw_bg
	.p2align	2
_menu_display_draw_bg:                  ; @menu_display_draw_bg
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-80]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset b8, -72
	.cfi_offset b9, -80
	cbz	x0, LBB0_11
; %bb.1:
Lloh0:
	adrp	x24, _menu_disp@GOTPAGE
Lloh1:
	ldr	x24, [x24, _menu_disp@GOTPAGEOFF]
	ldr	x8, [x24]
	cbz	x8, LBB0_11
; %bb.2:
	fmov	s8, s0
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldp	x23, x22, [x0]
	cbz	x23, LBB0_12
; %bb.3:
	cbz	x22, LBB0_13
LBB0_4:
	ldr	x8, [x19, #56]
Lloh2:
	adrp	x9, _menu_display_draw_bg.coords@PAGE
Lloh3:
	add	x9, x9, _menu_display_draw_bg.coords@PAGEOFF
	str	w8, [x9]
	stp	x23, x22, [x9, #8]
	ldr	x0, [x19, #40]
	stp	x22, x0, [x9, #24]
	str	x9, [x19, #48]
Lloh4:
	adrp	x8, lCPI0_0@PAGE
Lloh5:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19, #16]
	cbnz	w21, LBB0_6
; %bb.5:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_7
LBB0_6:
	fmov	s0, s8
	bl	_menu_display_set_alpha
	ldr	x8, [x19, #32]
	cbnz	x8, LBB0_8
LBB0_7:
Lloh6:
	adrp	x8, _menu_display_white_texture@GOTPAGE
Lloh7:
	ldr	x8, [x8, _menu_display_white_texture@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	str	x8, [x19, #32]
LBB0_8:
	ldr	x8, [x24]
	cbz	x8, LBB0_11
; %bb.9:
	ldr	x8, [x8, #16]
	cbz	x8, LBB0_11
; %bb.10:
	mov	x0, x20
	blr	x8
	str	x0, [x19, #24]
LBB0_11:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #80               ; 16-byte Folded Reload
	ret
LBB0_12:
	ldr	x8, [x8]
	blr	x8
	mov	x23, x0
	cbnz	x22, LBB0_4
LBB0_13:
	ldr	x8, [x24]
	ldr	x8, [x8, #8]
	blr	x8
	mov	x22, x0
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdr	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_menu_display_draw_bg.coords,40,3 ; @menu_display_draw_bg.coords
	.comm	_menu_disp,8,3                  ; @menu_disp
	.comm	_menu_display_white_texture,8,3 ; @menu_display_white_texture
.subsections_via_symbols
