	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pvr2_ctl_timeout
_pvr2_ctl_timeout:                      ## @pvr2_ctl_timeout
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rsi
	callq	_from_timer
	movq	(%rax), %rbx
	cmpq	$0, 24(%rbx)
	je	LBB0_1
## %bb.4:
	movl	$1, (%rbx)
	movl	16(%rbx), %edi
	callq	_usb_unlink_urb
	cmpq	$0, 8(%rbx)
	jne	LBB0_3
	jmp	LBB0_5
LBB0_1:
	cmpq	$0, 8(%rbx)
	je	LBB0_5
## %bb.2:
	movl	$1, (%rbx)
LBB0_3:
	movl	4(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_usb_unlink_urb                 ## TAILCALL
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_timer,8,3                      ## @timer
	.no_dead_strip	_pvr2_ctl_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pvr2_ctl_timeout
_pvr2_ctl_timeout:                      ; @pvr2_ctl_timeout
	.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	x1, x0
	bl	_from_timer
	ldr	x19, [x0]
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w8, #1
	str	w8, [x19]
	ldr	w0, [x19, #16]
	bl	_usb_unlink_urb
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_4
	b	LBB0_5
LBB0_2:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_5
; %bb.3:
	mov	w8, #1
	str	w8, [x19]
LBB0_4:
	ldr	w0, [x19, #4]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_usb_unlink_urb
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.comm	_timer,8,3                      ; @timer
	.no_dead_strip	_pvr2_ctl_timeout
.subsections_via_symbols
