	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function command_event_resize_windowed_scale
_command_event_resize_windowed_scale:   ## @command_event_resize_windowed_scale
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	$0, -12(%rbp)
	movq	_runloop_pending_windowed_scale@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_configuration_settings@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	movl	4(%rbx), %esi
	movl	%eax, %eax
	cvtsi2ss	%rax, %xmm0
	movq	%rbx, %rdi
	callq	_configuration_set_float
	cmpl	$0, (%rbx)
	jne	LBB0_4
## %bb.3:
	movq	_CMD_EVENT_REINIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_command_event
LBB0_4:
	movq	_RARCH_CTL_SET_WINDOWED_SCALE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-12(%rbp), %rsi
	callq	_rarch_ctl
	movl	$1, %eax
	jmp	LBB0_5
LBB0_1:
	xorl	%eax, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_configuration_settings,8,3     ## @configuration_settings
	.comm	_runloop_pending_windowed_scale,4,2 ## @runloop_pending_windowed_scale
	.comm	_CMD_EVENT_REINIT,4,2           ## @CMD_EVENT_REINIT
	.comm	_RARCH_CTL_SET_WINDOWED_SCALE,4,2 ## @RARCH_CTL_SET_WINDOWED_SCALE
	.no_dead_strip	_command_event_resize_windowed_scale
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function command_event_resize_windowed_scale
_command_event_resize_windowed_scale:   ; @command_event_resize_windowed_scale
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	str	wzr, [sp, #12]
Lloh0:
	adrp	x8, _runloop_pending_windowed_scale@GOTPAGE
Lloh1:
	ldr	x8, [x8, _runloop_pending_windowed_scale@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_4
; %bb.1:
Lloh3:
	adrp	x9, _configuration_settings@GOTPAGE
Lloh4:
	ldr	x9, [x9, _configuration_settings@GOTPAGEOFF]
Lloh5:
	ldr	x19, [x9]
	ldr	w1, [x19, #4]
	ucvtf	s0, w8
	mov	x0, x19
	bl	_configuration_set_float
	ldr	w8, [x19]
	cbnz	w8, LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _CMD_EVENT_REINIT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CMD_EVENT_REINIT@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_command_event
LBB0_3:
Lloh9:
	adrp	x8, _RARCH_CTL_SET_WINDOWED_SCALE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RARCH_CTL_SET_WINDOWED_SCALE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	add	x1, sp, #12
	bl	_rarch_ctl
	mov	w0, #1
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_configuration_settings,8,3     ; @configuration_settings
	.comm	_runloop_pending_windowed_scale,4,2 ; @runloop_pending_windowed_scale
	.comm	_CMD_EVENT_REINIT,4,2           ; @CMD_EVENT_REINIT
	.comm	_RARCH_CTL_SET_WINDOWED_SCALE,4,2 ; @RARCH_CTL_SET_WINDOWED_SCALE
	.no_dead_strip	_command_event_resize_windowed_scale
.subsections_via_symbols
