	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvkm_iccsense_validate_device
_nvkm_iccsense_validate_device:         ## @nvkm_iccsense_validate_device
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $edx killed $edx def $rdx
	movl	%esi, %r14d
	movq	%rdi, %r15
	leal	-129(%rdx), %eax
	cmpl	$2, %eax
	jae	LBB0_1
## %bb.5:
	movq	%r15, %rdi
	movl	%r14d, %esi
	xorl	%edx, %edx
	callq	_nv_rd16i2cr
	movl	%eax, %ebx
	notl	%ebx
	shrl	$31, %ebx
	jmp	LBB0_4
LBB0_1:
	xorl	%ebx, %ebx
	cmpl	$128, %edx
	jne	LBB0_4
## %bb.2:
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	$255, %edx
	callq	_nv_rd16i2cr
	cmpl	$12832, %eax                    ## imm = 0x3220
	jne	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	$254, %edx
	callq	_nv_rd16i2cr
	xorl	%ebx, %ebx
	cmpl	$21577, %eax                    ## imm = 0x5449
	sete	%bl
LBB0_4:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_nvkm_iccsense_validate_device
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvkm_iccsense_validate_device
_nvkm_iccsense_validate_device:         ; @nvkm_iccsense_validate_device
	.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
	mov	x20, x0
	sub	w8, w2, #129
	cmp	w8, #2
	b.hs	LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	bl	_nv_rd16i2cr
	mvn	w8, w0
	lsr	w0, w8, #31
	b	LBB0_6
LBB0_2:
	cmp	w2, #128
	b.ne	LBB0_5
; %bb.3:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #255
	bl	_nv_rd16i2cr
	mov	w8, #12832
	cmp	w0, w8
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #254
	bl	_nv_rd16i2cr
	mov	w8, #21577
	cmp	w0, w8
	cset	w0, eq
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_nvkm_iccsense_validate_device
.subsections_via_symbols
