	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function therm_of_probe
_therm_of_probe:                        ## @therm_of_probe
	.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
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	callq	_i2c_get_adapter
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	_g4fan_driver@GOTPCREL(%rip), %rdi
	callq	_i2c_add_driver
	testl	%eax, %eax
	je	LBB0_3
## %bb.10:
	movl	%eax, %r14d
	movq	%r15, %rdi
	callq	_i2c_put_adapter
	jmp	LBB0_9
LBB0_1:
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_3:
	movl	$1, %ebx
	movq	_x@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_do_attach
	cmpq	$0, (%r14)
	jne	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	callq	_i2c_put_adapter
	movl	%ebx, %edi
	callq	_i2c_get_adapter
	movq	%rax, %r15
	incl	%ebx
	testq	%rax, %rax
	jne	LBB0_4
## %bb.7:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
LBB0_8:
	subl	(%rax), %r14d
	jmp	LBB0_9
LBB0_5:
	xorl	%r14d, %r14d
LBB0_9:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
	.comm	_g4fan_driver,4,2               ## @g4fan_driver
	.comm	_x,8,3                          ## @x
	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_therm_of_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function therm_of_probe
_therm_of_probe:                        ; @therm_of_probe
	.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	w0, #0
	bl	_i2c_get_adapter
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x0, _g4fan_driver@GOTPAGE
Lloh1:
	ldr	x0, [x0, _g4fan_driver@GOTPAGEOFF]
	bl	_i2c_add_driver
	cbz	w0, LBB0_4
; %bb.2:
	mov	x20, x0
	mov	x0, x19
	bl	_i2c_put_adapter
	b	LBB0_10
LBB0_3:
Lloh2:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
	b	LBB0_8
LBB0_4:
	mov	w20, #1
Lloh4:
	adrp	x21, _x@GOTPAGE
Lloh5:
	ldr	x21, [x21, _x@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_do_attach
	ldr	x8, [x21]
	cbnz	x8, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_i2c_put_adapter
	mov	x0, x20
	bl	_i2c_get_adapter
	mov	x19, x0
	add	w20, w20, #1
	cbnz	x0, LBB0_5
; %bb.7:
Lloh6:
	adrp	x8, _ENODEV@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_10
LBB0_9:
	mov	w20, #0
LBB0_10:
	mov	x0, x20
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
	.comm	_g4fan_driver,4,2               ; @g4fan_driver
	.comm	_x,8,3                          ; @x
	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_therm_of_probe
.subsections_via_symbols
