	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function thermostat_remove_files
_thermostat_remove_files:               ## @thermostat_remove_files
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	8(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.1:
	movq	%rdi, %r14
	movq	_dev_attr_sensor1_temperature@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_remove_file
	movq	_dev_attr_sensor2_temperature@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_remove_file
	movq	_dev_attr_sensor1_limit@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_remove_file
	movq	_dev_attr_sensor2_limit@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_remove_file
	movq	_dev_attr_sensor1_location@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_remove_file
	movq	_dev_attr_sensor2_location@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_remove_file
	movq	_dev_attr_limit_adjust@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_remove_file
	movq	_dev_attr_specified_fan_speed@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_remove_file
	movq	_dev_attr_sensor1_fan_speed@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_remove_file
	movq	(%r14), %rax
	movq	_ADT7460@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movq	_dev_attr_sensor2_fan_speed@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_remove_file
LBB0_3:
	movq	8(%r14), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_of_device_unregister           ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dev_attr_sensor1_temperature,4,2 ## @dev_attr_sensor1_temperature
	.comm	_dev_attr_sensor2_temperature,4,2 ## @dev_attr_sensor2_temperature
	.comm	_dev_attr_sensor1_limit,4,2     ## @dev_attr_sensor1_limit
	.comm	_dev_attr_sensor2_limit,4,2     ## @dev_attr_sensor2_limit
	.comm	_dev_attr_sensor1_location,4,2  ## @dev_attr_sensor1_location
	.comm	_dev_attr_sensor2_location,4,2  ## @dev_attr_sensor2_location
	.comm	_dev_attr_limit_adjust,4,2      ## @dev_attr_limit_adjust
	.comm	_dev_attr_specified_fan_speed,4,2 ## @dev_attr_specified_fan_speed
	.comm	_dev_attr_sensor1_fan_speed,4,2 ## @dev_attr_sensor1_fan_speed
	.comm	_ADT7460,8,3                    ## @ADT7460
	.comm	_dev_attr_sensor2_fan_speed,4,2 ## @dev_attr_sensor2_fan_speed
	.no_dead_strip	_thermostat_remove_files
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function thermostat_remove_files
_thermostat_remove_files:               ; @thermostat_remove_files
	.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
	ldr	x20, [x0, #8]
	cbz	x20, LBB0_4
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x1, _dev_attr_sensor1_temperature@GOTPAGE
Lloh1:
	ldr	x1, [x1, _dev_attr_sensor1_temperature@GOTPAGEOFF]
	mov	x0, x20
	bl	_device_remove_file
Lloh2:
	adrp	x1, _dev_attr_sensor2_temperature@GOTPAGE
Lloh3:
	ldr	x1, [x1, _dev_attr_sensor2_temperature@GOTPAGEOFF]
	mov	x0, x20
	bl	_device_remove_file
Lloh4:
	adrp	x1, _dev_attr_sensor1_limit@GOTPAGE
Lloh5:
	ldr	x1, [x1, _dev_attr_sensor1_limit@GOTPAGEOFF]
	mov	x0, x20
	bl	_device_remove_file
Lloh6:
	adrp	x1, _dev_attr_sensor2_limit@GOTPAGE
Lloh7:
	ldr	x1, [x1, _dev_attr_sensor2_limit@GOTPAGEOFF]
	mov	x0, x20
	bl	_device_remove_file
Lloh8:
	adrp	x1, _dev_attr_sensor1_location@GOTPAGE
Lloh9:
	ldr	x1, [x1, _dev_attr_sensor1_location@GOTPAGEOFF]
	mov	x0, x20
	bl	_device_remove_file
Lloh10:
	adrp	x1, _dev_attr_sensor2_location@GOTPAGE
Lloh11:
	ldr	x1, [x1, _dev_attr_sensor2_location@GOTPAGEOFF]
	mov	x0, x20
	bl	_device_remove_file
Lloh12:
	adrp	x1, _dev_attr_limit_adjust@GOTPAGE
Lloh13:
	ldr	x1, [x1, _dev_attr_limit_adjust@GOTPAGEOFF]
	mov	x0, x20
	bl	_device_remove_file
Lloh14:
	adrp	x1, _dev_attr_specified_fan_speed@GOTPAGE
Lloh15:
	ldr	x1, [x1, _dev_attr_specified_fan_speed@GOTPAGEOFF]
	mov	x0, x20
	bl	_device_remove_file
Lloh16:
	adrp	x1, _dev_attr_sensor1_fan_speed@GOTPAGE
Lloh17:
	ldr	x1, [x1, _dev_attr_sensor1_fan_speed@GOTPAGEOFF]
	mov	x0, x20
	bl	_device_remove_file
	ldr	x8, [x19]
Lloh18:
	adrp	x9, _ADT7460@GOTPAGE
Lloh19:
	ldr	x9, [x9, _ADT7460@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
Lloh21:
	adrp	x1, _dev_attr_sensor2_fan_speed@GOTPAGE
Lloh22:
	ldr	x1, [x1, _dev_attr_sensor2_fan_speed@GOTPAGEOFF]
	mov	x0, x20
	bl	_device_remove_file
LBB0_3:
	ldr	x0, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_of_device_unregister
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_dev_attr_sensor1_temperature,4,2 ; @dev_attr_sensor1_temperature
	.comm	_dev_attr_sensor2_temperature,4,2 ; @dev_attr_sensor2_temperature
	.comm	_dev_attr_sensor1_limit,4,2     ; @dev_attr_sensor1_limit
	.comm	_dev_attr_sensor2_limit,4,2     ; @dev_attr_sensor2_limit
	.comm	_dev_attr_sensor1_location,4,2  ; @dev_attr_sensor1_location
	.comm	_dev_attr_sensor2_location,4,2  ; @dev_attr_sensor2_location
	.comm	_dev_attr_limit_adjust,4,2      ; @dev_attr_limit_adjust
	.comm	_dev_attr_specified_fan_speed,4,2 ; @dev_attr_specified_fan_speed
	.comm	_dev_attr_sensor1_fan_speed,4,2 ; @dev_attr_sensor1_fan_speed
	.comm	_ADT7460,8,3                    ; @ADT7460
	.comm	_dev_attr_sensor2_fan_speed,4,2 ; @dev_attr_sensor2_fan_speed
	.no_dead_strip	_thermostat_remove_files
.subsections_via_symbols
