	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wiiproto_req_accel             ## -- Begin function wiiproto_req_accel
	.p2align	4, 0x90
_wiiproto_req_accel:                    ## @wiiproto_req_accel
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%esi, %esi
	setne	%r8b
	movl	(%rdi), %ecx
	movq	_WIIPROTO_FLAG_ACCEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%ecx, %eax
	sete	%dl
	xorb	%r8b, %dl
	je	LBB0_2
## %bb.1:
	popq	%rbp
	retq
LBB0_2:
	movl	%eax, %edx
	notl	%edx
	andl	%ecx, %edx
	orl	%ecx, %eax
	testl	%esi, %esi
	cmovel	%edx, %eax
	movl	%eax, (%rdi)
	movq	_WIIPROTO_REQ_NULL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	popq	%rbp
	jmp	_wiiproto_req_drm               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_WIIPROTO_FLAG_ACCEL,4,2        ## @WIIPROTO_FLAG_ACCEL
	.comm	_WIIPROTO_REQ_NULL,4,2          ## @WIIPROTO_REQ_NULL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wiiproto_req_accel             ; -- Begin function wiiproto_req_accel
	.p2align	2
_wiiproto_req_accel:                    ; @wiiproto_req_accel
	.cfi_startproc
; %bb.0:
	cmp	w1, #0
	cset	w10, ne
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _WIIPROTO_FLAG_ACCEL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WIIPROTO_FLAG_ACCEL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w11, eq
	eor	w10, w10, w11
	tbz	w10, #0, LBB0_2
; %bb.1:
	ret
LBB0_2:
	bic	w10, w8, w9
	orr	w8, w9, w8
	cmp	w1, #0
	csel	w8, w8, w10, ne
	str	w8, [x0]
Lloh3:
	adrp	x8, _WIIPROTO_REQ_NULL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WIIPROTO_REQ_NULL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	b	_wiiproto_req_drm
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_WIIPROTO_FLAG_ACCEL,4,2        ; @WIIPROTO_FLAG_ACCEL
	.comm	_WIIPROTO_REQ_NULL,4,2          ; @WIIPROTO_REQ_NULL
.subsections_via_symbols
