	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function sdl2_render_msg
LCPI0_0:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_sdl2_render_msg:                       ## @sdl2_render_msg
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r14
	movl	36(%rdi), %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	40(%rdi), %ebx
	xorl	%eax, %eax
	callq	_config_get_ptr
	cmpl	$0, 8(%r14)
	je	LBB0_7
## %bb.1:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	imull	(%rax), %ecx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	subss	4(%rax), %xmm0
	movss	%xmm0, -48(%rbp)                ## 4-byte Spill
	movl	32(%r14), %esi
	movl	28(%r14), %edx
	movl	(%r14), %edi
	movl	24(%r14), %ecx
	callq	_SDL_SetTextureColorMod
	movb	(%r13), %al
	testb	%al, %al
	je	LBB0_7
## %bb.2:
	movl	%ebx, %ecx
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rcx, %xmm0
	movss	-48(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm1
	cvttss2si	%xmm1, %ecx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	incq	%r13
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addl	%r15d, %eax
	addl	(%rbx), %eax
	movq	8(%rbx), %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	addl	%r12d, %edx
	addl	4(%rbx), %edx
	movq	%rcx, -88(%rbp)
	movl	40(%rbx), %ecx
	movl	%ecx, -80(%rbp)
	movl	32(%rbx), %esi
	movl	%esi, -76(%rbp)
	movl	%eax, -72(%rbp)
	movl	%edx, -68(%rbp)
	movl	%ecx, -64(%rbp)
	movl	%esi, -60(%rbp)
	movl	(%r14), %esi
	movl	4(%r14), %edi
	movq	_SDL_FLIP_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	leaq	-88(%rbp), %rdx
	leaq	-72(%rbp), %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_SDL_RenderCopyEx
	addl	24(%rbx), %r15d
	subl	16(%rbx), %r12d
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movzbl	(%r13), %eax
	incq	%r13
	testb	%al, %al
	je	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rcx
	movl	8(%r14), %edi
	movsbl	%al, %esi
	callq	*(%rcx)
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%r14), %rax
	movl	8(%r14), %edi
	movl	$63, %esi
	callq	*(%rax)
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_5
	jmp	LBB0_6
LBB0_7:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SDL_FLIP_NONE,4,2              ## @SDL_FLIP_NONE
	.no_dead_strip	_sdl2_render_msg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdl2_render_msg
_sdl2_render_msg:                       ; @sdl2_render_msg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	d9, d8, [sp, #32]               ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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 w25, -72
	.cfi_offset w26, -80
	.cfi_offset b8, -88
	.cfi_offset b9, -96
	mov	x20, x1
	mov	x19, x0
	ldp	w23, w24, [x0, #36]
	bl	_config_get_ptr
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_7
; %bb.1:
	ldr	w25, [x0]
	ldr	s8, [x0, #4]
	ldr	w0, [x19]
	ldp	w2, w1, [x19, #28]
	ldr	w3, [x19, #24]
	bl	_SDL_SetTextureColorMod
	ldrb	w8, [x20]
	cbz	w8, LBB0_7
; %bb.2:
	mov	w21, #0
	mov	w22, #0
	mul	w23, w25, w23
	fmov	s0, #1.00000000
	fsub	s0, s0, s8
	ucvtf	s1, w24
	fmul	s0, s0, s1
	fcvtzs	w24, s0
	add	x25, x20, #1
Lloh0:
	adrp	x26, _SDL_FLIP_NONE@GOTPAGE
Lloh1:
	ldr	x26, [x26, _SDL_FLIP_NONE@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldp	w8, w9, [x20]
	ldr	d0, [x20, #8]
	str	d0, [sp, #16]
	ldr	w10, [x20, #40]
	ldr	w11, [x20, #32]
	stp	w10, w11, [sp, #24]
	add	w12, w21, w23
	add	w8, w12, w8
	add	w12, w22, w24
	add	w9, w12, w9
	stp	w8, w9, [sp]
	stp	w10, w11, [sp, #8]
	ldp	w1, w0, [x19]
	ldr	w6, [x26]
	add	x2, sp, #16
	mov	x3, sp
	mov	w4, #0
	mov	x5, #0
	bl	_SDL_RenderCopyEx
	ldr	w8, [x20, #24]
	add	w21, w21, w8
	ldr	w8, [x20, #16]
	sub	w22, w22, w8
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x25], #1
	cbz	w8, LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #16]
	ldr	x9, [x9]
	ldr	w0, [x19, #8]
	sxtb	w1, w8
	blr	x9
	mov	x20, x0
	cbnz	x0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	ldr	w0, [x19, #8]
	mov	w1, #63
	blr	x8
	mov	x20, x0
	cbnz	x0, LBB0_3
	b	LBB0_4
LBB0_7:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SDL_FLIP_NONE,4,2              ; @SDL_FLIP_NONE
	.no_dead_strip	_sdl2_render_msg
.subsections_via_symbols
