	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pvr2_context_reset_input_limits
_pvr2_context_reset_input_limits:       ## @pvr2_context_reset_input_limits
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %r14
	movq	%r14, %rdi
	callq	_pvr2_hdw_get_input_available
	movq	(%rbx), %rcx
	movl	%eax, %edx
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.1:
	movl	%eax, %edx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rcx), %esi
	cmpl	$1, %esi
	movl	$0, %edi
	sbbl	%edi, %edi
	orl	%esi, %edi
	andl	%edi, %edx
	movq	8(%rcx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_2
LBB0_3:
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_pvr2_hdw_set_input_allowed
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pvr2_hdw_commit_ctl            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pvr2_context_reset_input_limits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pvr2_context_reset_input_limits
_pvr2_context_reset_input_limits:       ; @pvr2_context_reset_input_limits
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	ldr	x19, [x0, #8]
	mov	x0, x19
	bl	_pvr2_hdw_get_input_available
	mov	x1, x0
	ldr	x8, [x20]
	mov	x2, x0
	cbz	x8, LBB0_3
; %bb.1:
	mov	x2, x1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x8]
	cmp	w9, #0
	csinv	w9, w9, wzr, ne
	and	w2, w9, w2
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_2
LBB0_3:
	mov	x0, x19
	bl	_pvr2_hdw_set_input_allowed
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pvr2_hdw_commit_ctl
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_pvr2_context_reset_input_limits
.subsections_via_symbols
