	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function probe_monitoring_device
_probe_monitoring_device:               ## @probe_monitoring_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_nouveau_therm
	movq	%rax, %r14
	movq	_I2C_MODULE_PREFIX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r15), %edx
	leaq	L_.str(%rip), %rdi
	callq	_request_module
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_i2c_new_device
	xorl	%r12d, %r12d
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	movl	$-1, %esi
	movq	%r15, %rdx
	callq	*(%rax)
	testq	%rax, %rax
	je	LBB0_4
LBB0_3:
	movq	%rbx, %rdi
	callq	_i2c_unregister_device
	jmp	LBB0_5
LBB0_4:
	movl	(%r15), %ecx
	movl	4(%r15), %edx
	movl	8(%r14), %r8d
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_nv_info
	movq	%rbx, (%r14)
	movl	$1, %r12d
LBB0_5:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s%s"

	.comm	_I2C_MODULE_PREFIX,4,2          ## @I2C_MODULE_PREFIX
L_.str.1:                               ## @.str.1
	.asciz	"Found an %s at address 0x%x (controlled by lm_sensors, temp offset %+i C)\n"

	.no_dead_strip	_probe_monitoring_device
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function probe_monitoring_device
_probe_monitoring_device:               ; @probe_monitoring_device
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x1
	mov	x21, x0
	bl	_nouveau_therm
	mov	x19, x0
Lloh0:
	adrp	x8, _I2C_MODULE_PREFIX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I2C_MODULE_PREFIX@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x20, #4]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_request_module
	mov	x0, x21
	mov	x1, x20
	bl	_i2c_new_device
	cbz	x0, LBB0_5
; %bb.1:
	mov	x21, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x8]
	mov	x0, x21
	mov	w1, #-1
	mov	x2, x20
	blr	x8
	cbz	x0, LBB0_4
LBB0_3:
	mov	x0, x21
	bl	_i2c_unregister_device
	mov	w0, #0
	b	LBB0_5
LBB0_4:
	ldp	w3, w2, [x20]
	ldr	w4, [x19, #8]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_nv_info
	str	x21, [x19]
	mov	w0, #1
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s%s"

	.comm	_I2C_MODULE_PREFIX,4,2          ; @I2C_MODULE_PREFIX
l_.str.1:                               ; @.str.1
	.asciz	"Found an %s at address 0x%x (controlled by lm_sensors, temp offset %+i C)\n"

	.no_dead_strip	_probe_monitoring_device
.subsections_via_symbols
