	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nv_two_heads
_nv_two_heads:                          ## @nv_two_heads
	.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, %rbx
	callq	_nouveau_drm
	movq	(%rax), %rax
	movq	_NV_DEVICE_INFO_V0_CELSIUS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_6
## %bb.1:
	movq	(%rbx), %rax
	movl	$4080, %ecx                     ## imm = 0xFF0
	andl	(%rax), %ecx
	movl	$1, %eax
	cmpl	$415, %ecx                      ## imm = 0x19F
	jg	LBB0_4
## %bb.2:
	cmpl	$256, %ecx                      ## imm = 0x100
	je	LBB0_6
## %bb.3:
	cmpl	$336, %ecx                      ## imm = 0x150
	je	LBB0_6
	jmp	LBB0_7
LBB0_4:
	cmpl	$512, %ecx                      ## imm = 0x200
	je	LBB0_6
## %bb.5:
	cmpl	$416, %ecx                      ## imm = 0x1A0
	jne	LBB0_7
LBB0_6:
	xorl	%eax, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NV_DEVICE_INFO_V0_CELSIUS,8,3  ## @NV_DEVICE_INFO_V0_CELSIUS
	.no_dead_strip	_nv_two_heads
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nv_two_heads
_nv_two_heads:                          ; @nv_two_heads
	.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, x0
	bl	_nouveau_drm
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _NV_DEVICE_INFO_V0_CELSIUS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NV_DEVICE_INFO_V0_CELSIUS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_6
; %bb.1:
	ldr	x8, [x19]
	ldr	w8, [x8]
	and	w8, w8, #0xff0
	mov	w0, #1
	cmp	w8, #415
	b.gt	LBB0_4
; %bb.2:
	cmp	w8, #256
	b.eq	LBB0_6
; %bb.3:
	cmp	w8, #336
	b.eq	LBB0_6
	b	LBB0_7
LBB0_4:
	cmp	w8, #512
	b.eq	LBB0_6
; %bb.5:
	cmp	w8, #416
	b.ne	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NV_DEVICE_INFO_V0_CELSIUS,8,3  ; @NV_DEVICE_INFO_V0_CELSIUS
	.no_dead_strip	_nv_two_heads
.subsections_via_symbols
