	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_video_info                 ## -- Begin function get_video_info
	.p2align	4, 0x90
_get_video_info:                        ## @get_video_info
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	$0, (%rsi)
	leaq	8(%rdi), %r12
	movq	%r12, %rdi
	callq	_mutex_lock
	movl	16(%r14), %ebx
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_usb_rcvctrlpipe
	subq	$8, %rsp
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	$129, %edx
	movl	$184, %ecx
	movl	$5120, %r8d                     ## imm = 0x1400
	movl	$3, %r9d
	pushq	$1000                           ## imm = 0x3E8
	pushq	$5
	pushq	(%r14)
	callq	_usb_control_msg
	addq	$32, %rsp
	movl	%eax, %r13d
	movq	%r12, %rdi
	callq	_mutex_unlock
	testl	%r13d, %r13d
	js	LBB0_1
## %bb.2:
	movq	(%r14), %rax
	movl	4(%rax), %ecx
	shll	$8, %ecx
	orl	(%rax), %ecx
	movl	%ecx, 4(%r15)
	movl	12(%rax), %ecx
	setne	%dl
	shll	$8, %ecx
	orl	8(%rax), %ecx
	movl	%ecx, 8(%r15)
	movl	16(%rax), %eax
	movl	%eax, 12(%r15)
	setne	%cl
	andb	%dl, %cl
	testl	%eax, %eax
	setne	%al
	andb	%cl, %al
	movzbl	%al, %eax
	movl	%eax, (%r15)
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	movl	%r13d, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.comm	_hdpvr_debug,4,2                ## @hdpvr_debug
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_video_info                 ; -- Begin function get_video_info
	.p2align	2
_get_video_info:                        ; @get_video_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
	str	wzr, [x1]
	add	x22, x0, #8
	mov	x0, x22
	bl	_mutex_lock
	ldr	w21, [x20, #16]
	mov	x0, x21
	mov	w1, #0
	bl	_usb_rcvctrlpipe
	mov	x1, x0
	ldr	x6, [x20]
	mov	w8, #1000
	str	w8, [sp]
	mov	x0, x21
	mov	w2, #129
	mov	w3, #184
	mov	w4, #5120
	mov	w5, #3
	mov	w7, #5
	bl	_usb_control_msg
	mov	x21, x0
	mov	x0, x22
	bl	_mutex_unlock
	tbnz	w21, #31, LBB0_2
; %bb.1:
	mov	w21, #0
	ldr	x8, [x20]
	ldp	w10, w9, [x8]
	orr	w9, w10, w9, lsl #8
	str	w9, [x19, #4]
	ldp	w11, w10, [x8, #8]
	orr	w10, w11, w10, lsl #8
	str	w10, [x19, #8]
	ldr	w8, [x8, #16]
	str	w8, [x19, #12]
	cmp	w9, #0
	ccmp	w10, #0, #4, ne
	ccmp	w8, #0, #4, ne
	cset	w8, ne
	str	w8, [x19]
LBB0_2:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.comm	_hdpvr_debug,4,2                ; @hdpvr_debug
.subsections_via_symbols
