	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function Bitmap_Draw
LCPI0_0:
	.long	0xbf000000                      ## float -0.5
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_1:
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_Bitmap_Draw
	.p2align	4, 0x90
_Bitmap_Draw:                           ## @Bitmap_Draw
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movss	24(%rdi), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
	movss	(%rdi), %xmm2                   ## xmm2 = mem[0],zero,zero,zero
	movl	32(%rdi), %eax
	movq	_QMF_RIGHT_JUSTIFY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	subss	%xmm2, %xmm0
	jmp	LBB0_4
LBB0_2:
	movq	_QMF_CENTER_JUSTIFY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm2, %xmm1
	addss	%xmm1, %xmm0
LBB0_4:
	movss	28(%rbx), %xmm1                 ## xmm1 = mem[0],zero,zero,zero
	movss	%xmm1, -28(%rbp)                ## 4-byte Spill
	movss	4(%rbx), %xmm1                  ## xmm1 = mem[0],zero,zero,zero
	movss	%xmm1, -32(%rbp)                ## 4-byte Spill
	movq	40(%rbx), %rdi
	testq	%rdi, %rdi
	movss	%xmm2, -20(%rbp)                ## 4-byte Spill
	movss	%xmm0, -24(%rbp)                ## 4-byte Spill
	je	LBB0_9
## %bb.5:
	cmpq	$0, 48(%rbx)
	jne	LBB0_9
## %bb.6:
	callq	_trap_R_RegisterShaderNoMip
	movss	-24(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	-20(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	movq	%rax, 48(%rbx)
	testq	%rax, %rax
	jne	LBB0_9
## %bb.7:
	movq	64(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.8:
	callq	_trap_R_RegisterShaderNoMip
	movss	-24(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	-20(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	movq	%rax, 48(%rbx)
LBB0_9:
	movq	56(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.10:
	cmpq	$0, 16(%rbx)
	jne	LBB0_12
## %bb.11:
	callq	_trap_R_RegisterShaderNoMip
	movss	-24(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	-20(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	movq	%rax, 16(%rbx)
LBB0_12:
	movl	32(%rbx), %eax
	movq	_QMF_GRAYED@GOTPCREL(%rip), %rcx
	movq	48(%rbx), %rdi
	testl	%eax, (%rcx)
	je	LBB0_15
## %bb.13:
	testq	%rdi, %rdi
	je	LBB0_28
## %bb.14:
	movq	_colorMdGrey@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_trap_R_SetColor
	movq	48(%rbx), %rdi
	jmp	LBB0_26
LBB0_15:
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.16:
	movss	-28(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	movss	-20(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	movss	-32(%rbp), %xmm3                ## 4-byte Reload
                                        ## xmm3 = mem[0],zero,zero,zero
	callq	_UI_DrawHandlePic
	movss	-24(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	-20(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	movl	32(%rbx), %eax
LBB0_17:
	movq	_QMF_PULSE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_19
## %bb.18:
	movq	_QMF_PULSEIFFOCUS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_21
LBB0_19:
	movl	36(%rbx), %edi
	callq	_Menu_ItemAtCursor
	cmpq	%rbx, %rax
	je	LBB0_29
## %bb.20:
	movl	32(%rbx), %eax
	movss	-20(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	movss	-24(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
LBB0_21:
	movq	_QMF_HIGHLIGHT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_22
LBB0_24:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	jne	LBB0_25
## %bb.27:
	movq	16(%rbx), %rdi
	movss	-28(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	movss	-32(%rbp), %xmm3                ## 4-byte Reload
                                        ## xmm3 = mem[0],zero,zero,zero
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_UI_DrawHandlePic               ## TAILCALL
LBB0_29:
	movq	_pulse_color@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	_uis@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_PULSE_DIVISOR@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movl	%eax, %edi
	callq	_sin
	movsd	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero
	mulsd	%xmm1, %xmm0
	addsd	%xmm1, %xmm0
	cvtsd2ss	%xmm0, %xmm0
	movss	%xmm0, 12(%r14)
	movq	%r14, %rdi
LBB0_25:
	callq	_trap_R_SetColor
	movq	16(%rbx), %rdi
LBB0_26:
	movss	-24(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	-28(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	movss	-20(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	movss	-32(%rbp), %xmm3                ## 4-byte Reload
                                        ## xmm3 = mem[0],zero,zero,zero
	callq	_UI_DrawHandlePic
	xorl	%edi, %edi
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_trap_R_SetColor                ## TAILCALL
LBB0_22:
	movq	_QMF_HIGHLIGHT_IF_FOCUS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_28
## %bb.23:
	movl	36(%rbx), %edi
	callq	_Menu_ItemAtCursor
	movss	-24(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	-20(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	cmpq	%rbx, %rax
	je	LBB0_24
LBB0_28:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QMF_RIGHT_JUSTIFY,4,2          ## @QMF_RIGHT_JUSTIFY
	.comm	_QMF_CENTER_JUSTIFY,4,2         ## @QMF_CENTER_JUSTIFY
	.comm	_QMF_GRAYED,4,2                 ## @QMF_GRAYED
	.comm	_colorMdGrey,8,3                ## @colorMdGrey
	.comm	_QMF_PULSE,4,2                  ## @QMF_PULSE
	.comm	_QMF_PULSEIFFOCUS,4,2           ## @QMF_PULSEIFFOCUS
	.comm	_pulse_color,8,3                ## @pulse_color
	.comm	_uis,4,2                        ## @uis
	.comm	_PULSE_DIVISOR,4,2              ## @PULSE_DIVISOR
	.comm	_QMF_HIGHLIGHT,4,2              ## @QMF_HIGHLIGHT
	.comm	_QMF_HIGHLIGHT_IF_FOCUS,4,2     ## @QMF_HIGHLIGHT_IF_FOCUS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Bitmap_Draw                    ; -- Begin function Bitmap_Draw
	.p2align	2
_Bitmap_Draw:                           ; @Bitmap_Draw
	.cfi_startproc
; %bb.0:
	stp	d11, d10, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset b8, -40
	.cfi_offset b9, -48
	.cfi_offset b10, -56
	.cfi_offset b11, -64
	mov	x19, x0
	ldr	s0, [x0, #24]
	ldr	s8, [x0]
	ldr	w8, [x0, #32]
Lloh0:
	adrp	x9, _QMF_RIGHT_JUSTIFY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _QMF_RIGHT_JUSTIFY@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	fsub	s10, s0, s8
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x9, _QMF_CENTER_JUSTIFY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _QMF_CENTER_JUSTIFY@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	fmov	s1, #-0.50000000
	fmul	s1, s8, s1
	fadd	s1, s0, s1
	fcsel	s10, s0, s1, eq
LBB0_3:
	ldr	s11, [x19, #28]
	ldr	s9, [x19, #4]
	ldr	x0, [x19, #40]
	cbz	x0, LBB0_8
; %bb.4:
	ldr	x8, [x19, #48]
	cbnz	x8, LBB0_8
; %bb.5:
	bl	_trap_R_RegisterShaderNoMip
	str	x0, [x19, #48]
	cbnz	x0, LBB0_8
; %bb.6:
	ldr	x0, [x19, #64]
	cbz	x0, LBB0_8
; %bb.7:
	bl	_trap_R_RegisterShaderNoMip
	str	x0, [x19, #48]
LBB0_8:
	ldr	x0, [x19, #56]
	cbz	x0, LBB0_11
; %bb.9:
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_11
; %bb.10:
	bl	_trap_R_RegisterShaderNoMip
	str	x0, [x19, #16]
LBB0_11:
	ldr	w8, [x19, #32]
Lloh6:
	adrp	x9, _QMF_GRAYED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _QMF_GRAYED@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	ldr	x0, [x19, #48]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.12:
	cbz	x0, LBB0_28
; %bb.13:
Lloh9:
	adrp	x8, _colorMdGrey@GOTPAGE
Lloh10:
	ldr	x8, [x8, _colorMdGrey@GOTPAGEOFF]
Lloh11:
	ldr	x0, [x8]
	bl	_trap_R_SetColor
	ldr	x0, [x19, #48]
	b	LBB0_25
LBB0_14:
	cbz	x0, LBB0_16
; %bb.15:
	fmov	s0, s10
	fmov	s1, s11
	fmov	s2, s8
	fmov	s3, s9
	bl	_UI_DrawHandlePic
	ldr	w8, [x19, #32]
LBB0_16:
Lloh12:
	adrp	x9, _QMF_PULSE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _QMF_PULSE@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_18
; %bb.17:
Lloh15:
	adrp	x9, _QMF_PULSEIFFOCUS@GOTPAGE
Lloh16:
	ldr	x9, [x9, _QMF_PULSEIFFOCUS@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_20
LBB0_18:
	ldr	w0, [x19, #36]
	bl	_Menu_ItemAtCursor
	cmp	x0, x19
	b.eq	LBB0_23
; %bb.19:
	ldr	w8, [x19, #32]
LBB0_20:
Lloh18:
	adrp	x9, _QMF_HIGHLIGHT@GOTPAGE
Lloh19:
	ldr	x9, [x9, _QMF_HIGHLIGHT@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_26
LBB0_21:
	ldr	x0, [x19, #8]
	cbnz	x0, LBB0_24
; %bb.22:
	ldr	x0, [x19, #16]
	fmov	s0, s10
	fmov	s1, s11
	fmov	s2, s8
	fmov	s3, s9
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp], #64             ; 16-byte Folded Reload
	b	_UI_DrawHandlePic
LBB0_23:
Lloh21:
	adrp	x8, _pulse_color@GOTPAGE
Lloh22:
	ldr	x8, [x8, _pulse_color@GOTPAGEOFF]
Lloh23:
	adrp	x9, _uis@GOTPAGE
Lloh24:
	ldr	x9, [x9, _uis@GOTPAGEOFF]
Lloh25:
	ldr	x20, [x8]
Lloh26:
	ldr	w8, [x9]
Lloh27:
	adrp	x9, _PULSE_DIVISOR@GOTPAGE
Lloh28:
	ldr	x9, [x9, _PULSE_DIVISOR@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	sdiv	w0, w8, w9
	bl	_sin
	fmov	d1, #0.50000000
	fmadd	d0, d0, d1, d1
	fcvt	s0, d0
	str	s0, [x20, #12]
	mov	x0, x20
LBB0_24:
	bl	_trap_R_SetColor
	ldr	x0, [x19, #16]
LBB0_25:
	fmov	s0, s10
	fmov	s1, s11
	fmov	s2, s8
	fmov	s3, s9
	bl	_UI_DrawHandlePic
	mov	x0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp], #64             ; 16-byte Folded Reload
	b	_trap_R_SetColor
LBB0_26:
Lloh30:
	adrp	x9, _QMF_HIGHLIGHT_IF_FOCUS@GOTPAGE
Lloh31:
	ldr	x9, [x9, _QMF_HIGHLIGHT_IF_FOCUS@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_28
; %bb.27:
	ldr	w0, [x19, #36]
	bl	_Menu_ItemAtCursor
	cmp	x0, x19
	b.eq	LBB0_21
LBB0_28:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh25
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_QMF_RIGHT_JUSTIFY,4,2          ; @QMF_RIGHT_JUSTIFY
	.comm	_QMF_CENTER_JUSTIFY,4,2         ; @QMF_CENTER_JUSTIFY
	.comm	_QMF_GRAYED,4,2                 ; @QMF_GRAYED
	.comm	_colorMdGrey,8,3                ; @colorMdGrey
	.comm	_QMF_PULSE,4,2                  ; @QMF_PULSE
	.comm	_QMF_PULSEIFFOCUS,4,2           ; @QMF_PULSEIFFOCUS
	.comm	_pulse_color,8,3                ; @pulse_color
	.comm	_uis,4,2                        ; @uis
	.comm	_PULSE_DIVISOR,4,2              ; @PULSE_DIVISOR
	.comm	_QMF_HIGHLIGHT,4,2              ; @QMF_HIGHLIGHT
	.comm	_QMF_HIGHLIGHT_IF_FOCUS,4,2     ; @QMF_HIGHLIGHT_IF_FOCUS
.subsections_via_symbols
