	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pvr2_hdw_wait
_pvr2_hdw_wait:                         ## @pvr2_hdw_wait
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	movq	%rdi, %rcx
	movl	12(%rdi), %edi
	xorl	%esi, %esi
	cmpq	$0, (%rcx)
	je	LBB0_1
## %bb.4:
	popq	%rbp
	jmp	_wait_event_interruptible       ## TAILCALL
LBB0_1:
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	xorl	%esi, %esi
	cmpl	%eax, 8(%rcx)
	setne	%sil
	popq	%rbp
	jmp	_wait_event_interruptible       ## TAILCALL
LBB0_2:
	movl	$1, %esi
	popq	%rbp
	jmp	_wait_event_interruptible       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pvr2_hdw_wait
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pvr2_hdw_wait
_pvr2_hdw_wait:                         ; @pvr2_hdw_wait
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	ldr	w0, [x0, #12]
	ldr	x9, [x8]
	cbz	x9, LBB0_2
; %bb.1:
	mov	w1, #0
	b	_wait_event_interruptible
LBB0_2:
	cbz	w1, LBB0_4
; %bb.3:
	ldr	w8, [x8, #8]
	cmp	w8, w1
	cset	w1, ne
	b	_wait_event_interruptible
LBB0_4:
	mov	w1, #1
	b	_wait_event_interruptible
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_pvr2_hdw_wait
.subsections_via_symbols
