	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wiiuse_set_aspect_ratio        ## -- Begin function wiiuse_set_aspect_ratio
	.p2align	4, 0x90
_wiiuse_set_aspect_ratio:               ## @wiiuse_set_aspect_ratio
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, (%rdi)
	movq	_WIIUSE_ASPECT_4_3@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_3
## %bb.2:
	movq	_WM_ASPECT_4_3_X@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	8(%rdi), %rax
	movl	%ecx, (%rax)
	movq	_WM_ASPECT_4_3_Y@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_5:
	retq
LBB0_3:
	movq	_WM_ASPECT_16_9_X@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	8(%rdi), %rax
	movl	%ecx, (%rax)
	movq	_WM_ASPECT_16_9_Y@GOTPCREL(%rip), %rcx
LBB0_4:
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rax)
	movl	4(%rdi), %esi
	popq	%rbp
	jmp	_wiiuse_set_ir_position         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_WIIUSE_ASPECT_4_3,4,2          ## @WIIUSE_ASPECT_4_3
	.comm	_WM_ASPECT_4_3_X,4,2            ## @WM_ASPECT_4_3_X
	.comm	_WM_ASPECT_4_3_Y,4,2            ## @WM_ASPECT_4_3_Y
	.comm	_WM_ASPECT_16_9_X,4,2           ## @WM_ASPECT_16_9_X
	.comm	_WM_ASPECT_16_9_Y,4,2           ## @WM_ASPECT_16_9_Y
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wiiuse_set_aspect_ratio        ; -- Begin function wiiuse_set_aspect_ratio
	.p2align	2
_wiiuse_set_aspect_ratio:               ; @wiiuse_set_aspect_ratio
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_3
; %bb.1:
	str	w1, [x0]
Lloh0:
	adrp	x8, _WIIUSE_ASPECT_4_3@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WIIUSE_ASPECT_4_3@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _WM_ASPECT_4_3_X@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WM_ASPECT_4_3_X@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x8]
	ldr	x8, [x0, #8]
	str	w9, [x8]
Lloh6:
	adrp	x9, _WM_ASPECT_4_3_Y@GOTPAGE
Lloh7:
	ldr	x9, [x9, _WM_ASPECT_4_3_Y@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
	ret
LBB0_4:
Lloh8:
	adrp	x8, _WM_ASPECT_16_9_X@GOTPAGE
Lloh9:
	ldr	x8, [x8, _WM_ASPECT_16_9_X@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x8]
	ldr	x8, [x0, #8]
	str	w9, [x8]
Lloh11:
	adrp	x9, _WM_ASPECT_16_9_Y@GOTPAGE
Lloh12:
	ldr	x9, [x9, _WM_ASPECT_16_9_Y@GOTPAGEOFF]
LBB0_5:
	ldr	w9, [x9]
	str	w9, [x8, #4]
	ldr	w1, [x0, #4]
	b	_wiiuse_set_ir_position
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_WIIUSE_ASPECT_4_3,4,2          ; @WIIUSE_ASPECT_4_3
	.comm	_WM_ASPECT_4_3_X,4,2            ; @WM_ASPECT_4_3_X
	.comm	_WM_ASPECT_4_3_Y,4,2            ; @WM_ASPECT_4_3_Y
	.comm	_WM_ASPECT_16_9_X,4,2           ; @WM_ASPECT_16_9_X
	.comm	_WM_ASPECT_16_9_Y,4,2           ; @WM_ASPECT_16_9_Y
.subsections_via_symbols
