	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_tv_detect_quirks
_get_tv_detect_quirks:                  ## @get_tv_detect_quirks
	.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	%rsi, %r14
	callq	_nouveau_drm
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	movl	$802, %esi                      ## imm = 0x322
	movl	$6618, %edx                     ## imm = 0x19DA
	movl	$4149, %ecx                     ## imm = 0x1035
	callq	_nv_device_match
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	movq	%rbx, %rdi
	movl	$802, %esi                      ## imm = 0x322
	movl	$6618, %edx                     ## imm = 0x19DA
	movl	$8245, %ecx                     ## imm = 0x2035
	callq	_nv_device_match
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	movl	$496, %esi                      ## imm = 0x1F0
	movl	$5218, %edx                     ## imm = 0x1462
	movl	$22288, %ecx                    ## imm = 0x5710
	callq	_nv_device_match
	testq	%rax, %rax
	je	LBB0_3
LBB0_4:
	movl	$12, (%r14)
	xorl	%eax, %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movl	$1, %eax
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_tv_detect_quirks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_tv_detect_quirks
_get_tv_detect_quirks:                  ; @get_tv_detect_quirks
	.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	x19, x1
	bl	_nouveau_drm
	ldr	x20, [x0]
	mov	x0, x20
	mov	w1, #802
	mov	w2, #6618
	mov	w3, #4149
	bl	_nv_device_match
	cbnz	x0, LBB0_3
; %bb.1:
	mov	x0, x20
	mov	w1, #802
	mov	w2, #6618
	mov	w3, #8245
	bl	_nv_device_match
	cbnz	x0, LBB0_3
; %bb.2:
	mov	x0, x20
	mov	w1, #496
	mov	w2, #5218
	mov	w3, #22288
	bl	_nv_device_match
	cbz	x0, LBB0_5
LBB0_3:
	mov	w0, #0
	mov	w8, #12
	str	w8, [x19]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	w0, #1
	b	LBB0_4
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_get_tv_detect_quirks
.subsections_via_symbols
