	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvkm_therm_ic_ctor             ## -- Begin function nvkm_therm_ic_ctor
	.p2align	4, 0x90
_nvkm_therm_ic_ctor:                    ## @nvkm_therm_ic_ctor
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	8(%rdi), %rax
	movq	(%rax), %rdi
	movq	8(%rax), %r15
	movq	_NVKM_I2C_BUS_PRI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_nvkm_i2c_bus_find
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %r14
	movq	_NVBIOS_EXTDEV_LM89@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdx
	movq	%r15, %rdi
	callq	_nvbios_extdev_find
	testl	%eax, %eax
	je	LBB0_2
LBB0_3:
	movq	_NVBIOS_EXTDEV_ADT7473@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdx
	movq	%r15, %rdi
	callq	_nvbios_extdev_find
	testl	%eax, %eax
	je	LBB0_4
LBB0_5:
	movq	%r15, %rdi
	callq	_nvbios_extdev_skip_probe
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movq	_nv_board_infos@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_probe_monitoring_device@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %r8
	callq	_nvkm_i2c_bus_probe
	jmp	LBB0_7
LBB0_2:
	movl	-56(%rbp), %esi
	sarl	%esi
	leaq	L_.str(%rip), %rdi
	callq	_I2C_BOARD_INFO
	movl	%eax, -48(%rbp)
	movq	$0, -44(%rbp)
	movl	$0, -36(%rbp)
	movq	_probe_monitoring_device@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.1(%rip), %rsi
	leaq	-48(%rbp), %rdx
	movq	%r14, %rdi
	movq	%rbx, %r8
	callq	_nvkm_i2c_bus_probe
	cmpq	$0, (%rbx)
	jne	LBB0_7
	jmp	LBB0_3
LBB0_4:
	movl	-56(%rbp), %esi
	sarl	%esi
	leaq	L_.str.2(%rip), %rdi
	callq	_I2C_BOARD_INFO
	movl	%eax, -48(%rbp)
	movq	$20, -44(%rbp)
	movl	$0, -36(%rbp)
	movq	_probe_monitoring_device@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.1(%rip), %rsi
	leaq	-48(%rbp), %rdx
	movq	%r14, %rdi
	movq	%rbx, %r8
	callq	_nvkm_i2c_bus_probe
	cmpq	$0, (%rbx)
	je	LBB0_5
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NVKM_I2C_BUS_PRI,4,2           ## @NVKM_I2C_BUS_PRI
	.comm	_NVBIOS_EXTDEV_LM89,4,2         ## @NVBIOS_EXTDEV_LM89
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"lm90"

L_.str.1:                               ## @.str.1
	.asciz	"monitoring device"

	.comm	_probe_monitoring_device,4,2    ## @probe_monitoring_device
	.comm	_NVBIOS_EXTDEV_ADT7473,4,2      ## @NVBIOS_EXTDEV_ADT7473
L_.str.2:                               ## @.str.2
	.asciz	"adt7473"

	.comm	_nv_board_infos,8,3             ## @nv_board_infos
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function nvkm_therm_ic_ctor
lCPI0_0:
	.long	20                              ; 0x14
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_nvkm_therm_ic_ctor
	.p2align	2
_nvkm_therm_ic_ctor:                    ; @nvkm_therm_ic_ctor
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	x8, [x0, #8]
	ldp	x0, x21, [x8]
Lloh3:
	adrp	x8, _NVKM_I2C_BUS_PRI@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NVKM_I2C_BUS_PRI@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_nvkm_i2c_bus_find
	cbz	x0, LBB0_7
; %bb.1:
	mov	x20, x0
Lloh6:
	adrp	x8, _NVBIOS_EXTDEV_LM89@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NVBIOS_EXTDEV_LM89@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x2, sp
	mov	x0, x21
	bl	_nvbios_extdev_find
	cbz	w0, LBB0_5
LBB0_2:
Lloh9:
	adrp	x8, _NVBIOS_EXTDEV_ADT7473@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NVBIOS_EXTDEV_ADT7473@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x2, sp
	mov	x0, x21
	bl	_nvbios_extdev_find
	cbz	w0, LBB0_6
LBB0_3:
	mov	x0, x21
	bl	_nvbios_extdev_skip_probe
	cbnz	x0, LBB0_7
; %bb.4:
Lloh12:
	adrp	x8, _nv_board_infos@GOTPAGE
Lloh13:
	ldr	x8, [x8, _nv_board_infos@GOTPAGEOFF]
Lloh14:
	ldr	x2, [x8]
Lloh15:
	adrp	x8, _probe_monitoring_device@GOTPAGE
Lloh16:
	ldr	x8, [x8, _probe_monitoring_device@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x4, x19
	bl	_nvkm_i2c_bus_probe
	b	LBB0_7
LBB0_5:
	ldr	w8, [sp]
	asr	w1, w8, #1
Lloh20:
	adrp	x0, l_.str@PAGE
Lloh21:
	add	x0, x0, l_.str@PAGEOFF
	bl	_I2C_BOARD_INFO
	stp	w0, wzr, [sp, #8]
	str	xzr, [sp, #16]
Lloh22:
	adrp	x8, _probe_monitoring_device@GOTPAGE
Lloh23:
	ldr	x8, [x8, _probe_monitoring_device@GOTPAGEOFF]
Lloh24:
	ldr	w3, [x8]
Lloh25:
	adrp	x1, l_.str.1@PAGE
Lloh26:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #8
	mov	x0, x20
	mov	x4, x19
	bl	_nvkm_i2c_bus_probe
	ldr	x8, [x19]
	cbnz	x8, LBB0_7
	b	LBB0_2
LBB0_6:
	ldr	w8, [sp]
	asr	w1, w8, #1
Lloh27:
	adrp	x0, l_.str.2@PAGE
Lloh28:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_I2C_BOARD_INFO
	str	w0, [sp, #8]
Lloh29:
	adrp	x8, lCPI0_0@PAGE
Lloh30:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	stur	d0, [sp, #12]
	str	wzr, [sp, #20]
Lloh31:
	adrp	x8, _probe_monitoring_device@GOTPAGE
Lloh32:
	ldr	x8, [x8, _probe_monitoring_device@GOTPAGEOFF]
Lloh33:
	ldr	w3, [x8]
Lloh34:
	adrp	x1, l_.str.1@PAGE
Lloh35:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #8
	mov	x0, x20
	mov	x4, x19
	bl	_nvkm_i2c_bus_probe
	ldr	x8, [x19]
	cbz	x8, LBB0_3
LBB0_7:
	ldr	x8, [sp, #24]
Lloh36:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh37:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdrp	Lloh29, Lloh31
	.loh AdrpLdr	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_NVKM_I2C_BUS_PRI,4,2           ; @NVKM_I2C_BUS_PRI
	.comm	_NVBIOS_EXTDEV_LM89,4,2         ; @NVBIOS_EXTDEV_LM89
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"lm90"

l_.str.1:                               ; @.str.1
	.asciz	"monitoring device"

	.comm	_probe_monitoring_device,4,2    ; @probe_monitoring_device
	.comm	_NVBIOS_EXTDEV_ADT7473,4,2      ; @NVBIOS_EXTDEV_ADT7473
l_.str.2:                               ; @.str.2
	.asciz	"adt7473"

	.comm	_nv_board_infos,8,3             ; @nv_board_infos
.subsections_via_symbols
