	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wiiuse_set_flags               ## -- Begin function wiiuse_set_flags
	.p2align	4, 0x90
_wiiuse_set_flags:                      ## @wiiuse_set_flags
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	notl	%edx
	andl	%edx, %eax
	orl	(%rdi), %eax
	andl	%edx, %eax
	movl	%eax, (%rdi)
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wiiuse_set_flags               ; -- Begin function wiiuse_set_flags
	.p2align	2
_wiiuse_set_flags:                      ; @wiiuse_set_flags
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_2
; %bb.1:
	bic	w8, w1, w2
	ldr	w9, [x0]
	orr	w8, w9, w8
	bic	w8, w8, w2
	str	w8, [x0]
	mov	x0, x8
	ret
LBB0_2:
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
