	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function w83793_remove
_w83793_remove:                         ## @w83793_remove
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	callq	_i2c_get_clientdata
	movq	%rax, %r14
	cmpq	$0, 40(%rax)
	je	LBB0_4
## %bb.1:
	leaq	40(%r14), %rdi
	callq	_misc_deregister
	cmpq	$0, 32(%r14)
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_warn
	movq	%r14, %rdi
	callq	_watchdog_disable
LBB0_3:
	movq	_watchdog_data_mutex@GOTPCREL(%rip), %r15
	movq	%r15, %rdi
	callq	_mutex_lock
	leaq	24(%r14), %rdi
	callq	_list_del
	movq	%r15, %rdi
	callq	_mutex_unlock
	movq	%r14, %r15
	addq	$8, %r15
	movq	%r15, %rdi
	callq	_mutex_lock
	movq	$0, 16(%r14)
	movq	%r15, %rdi
	callq	_mutex_unlock
LBB0_4:
	movq	_W83793_REG_CONFIG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r12, %rdi
	callq	_w83793_read_value
	movl	(%rbx), %esi
	andl	$-5, %eax
	movq	%r12, %rdi
	movl	%eax, %edx
	callq	_w83793_write_value
	movq	_watchdog_notifier@GOTPCREL(%rip), %rdi
	callq	_unregister_reboot_notifier
	movl	4(%r14), %edi
	callq	_hwmon_device_unregister
	movq	_w83793_sensor_attr_2@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_7
## %bb.5:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rsi
	addq	%r13, %rsi
	movq	%r12, %rdi
	callq	_device_remove_file
	incq	%rbx
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$4, %r13
	cmpq	%rax, %rbx
	jl	LBB0_6
LBB0_7:
	movq	_sda_single_files@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_10
## %bb.8:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rsi
	addq	%r13, %rsi
	movq	%r12, %rdi
	callq	_device_remove_file
	incq	%rbx
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$4, %r13
	cmpq	%rax, %rbx
	jl	LBB0_9
LBB0_10:
	movq	_w83793_vid@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_13
## %bb.11:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rsi
	addq	%r13, %rsi
	movq	%r12, %rdi
	callq	_device_remove_file
	incq	%rbx
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$4, %r13
	cmpq	%rax, %rbx
	jl	LBB0_12
LBB0_13:
	movq	_dev_attr_vrm@GOTPCREL(%rip), %rsi
	movq	%r12, %rdi
	callq	_device_remove_file
	movq	_w83793_left_fan@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_16
## %bb.14:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rsi
	addq	%r13, %rsi
	movq	%r12, %rdi
	callq	_device_remove_file
	incq	%rbx
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$4, %r13
	cmpq	%rax, %rbx
	jl	LBB0_15
LBB0_16:
	movq	_w83793_left_pwm@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_19
## %bb.17:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rsi
	addq	%r13, %rsi
	movq	%r12, %rdi
	callq	_device_remove_file
	incq	%rbx
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$4, %r13
	cmpq	%rax, %rbx
	jl	LBB0_18
LBB0_19:
	movq	_w83793_temp@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_22
## %bb.20:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rsi
	addq	%r13, %rsi
	movq	%r12, %rdi
	callq	_device_remove_file
	incq	%rbx
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$4, %r13
	cmpq	%rax, %rbx
	jl	LBB0_21
LBB0_22:
	movq	_watchdog_data_mutex@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_mutex_lock
	movq	_w83793_release_resources@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_kref_put
	movq	%rbx, %rdi
	callq	_mutex_unlock
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"i2c client detached with watchdog open! Stopping watchdog.\n"

	.comm	_watchdog_data_mutex,4,2        ## @watchdog_data_mutex
	.comm	_W83793_REG_CONFIG,4,2          ## @W83793_REG_CONFIG
	.comm	_watchdog_notifier,4,2          ## @watchdog_notifier
	.comm	_w83793_sensor_attr_2,8,3       ## @w83793_sensor_attr_2
	.comm	_sda_single_files,8,3           ## @sda_single_files
	.comm	_w83793_vid,8,3                 ## @w83793_vid
	.comm	_dev_attr_vrm,4,2               ## @dev_attr_vrm
	.comm	_w83793_left_fan,8,3            ## @w83793_left_fan
	.comm	_w83793_left_pwm,8,3            ## @w83793_left_pwm
	.comm	_w83793_temp,8,3                ## @w83793_temp
	.comm	_w83793_release_resources,4,2   ## @w83793_release_resources
	.no_dead_strip	_w83793_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function w83793_remove
_w83793_remove:                         ; @w83793_remove
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x0
	bl	_i2c_get_clientdata
	mov	x19, x0
	ldr	x8, [x0, #40]!
	cbz	x8, LBB0_4
; %bb.1:
	bl	_misc_deregister
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_3
; %bb.2:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_warn
	mov	x0, x19
	bl	_watchdog_disable
LBB0_3:
Lloh2:
	adrp	x21, _watchdog_data_mutex@GOTPAGE
Lloh3:
	ldr	x21, [x21, _watchdog_data_mutex@GOTPAGEOFF]
	mov	x0, x21
	bl	_mutex_lock
	add	x0, x19, #24
	bl	_list_del
	mov	x0, x21
	bl	_mutex_unlock
	add	x21, x19, #8
	mov	x0, x21
	bl	_mutex_lock
	str	xzr, [x19, #16]
	mov	x0, x21
	bl	_mutex_unlock
LBB0_4:
Lloh4:
	adrp	x21, _W83793_REG_CONFIG@GOTPAGE
Lloh5:
	ldr	x21, [x21, _W83793_REG_CONFIG@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x20
	bl	_w83793_read_value
	ldr	w1, [x21]
	and	w2, w0, #0xfffffffb
	mov	x0, x20
	bl	_w83793_write_value
Lloh6:
	adrp	x0, _watchdog_notifier@GOTPAGE
Lloh7:
	ldr	x0, [x0, _watchdog_notifier@GOTPAGEOFF]
	bl	_unregister_reboot_notifier
	ldr	w0, [x19, #4]
	bl	_hwmon_device_unregister
Lloh8:
	adrp	x21, _w83793_sensor_attr_2@GOTPAGE
Lloh9:
	ldr	x21, [x21, _w83793_sensor_attr_2@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_7
; %bb.5:
	mov	x22, #0
	mov	x23, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	add	x1, x8, x22
	mov	x0, x20
	bl	_device_remove_file
	add	x23, x23, #1
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	add	x22, x22, #4
	cmp	x23, w0, sxtw
	b.lt	LBB0_6
LBB0_7:
Lloh10:
	adrp	x21, _sda_single_files@GOTPAGE
Lloh11:
	ldr	x21, [x21, _sda_single_files@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_10
; %bb.8:
	mov	x22, #0
	mov	x23, #0
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	add	x1, x8, x22
	mov	x0, x20
	bl	_device_remove_file
	add	x23, x23, #1
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	add	x22, x22, #4
	cmp	x23, w0, sxtw
	b.lt	LBB0_9
LBB0_10:
Lloh12:
	adrp	x21, _w83793_vid@GOTPAGE
Lloh13:
	ldr	x21, [x21, _w83793_vid@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_13
; %bb.11:
	mov	x22, #0
	mov	x23, #0
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	add	x1, x8, x22
	mov	x0, x20
	bl	_device_remove_file
	add	x23, x23, #1
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	add	x22, x22, #4
	cmp	x23, w0, sxtw
	b.lt	LBB0_12
LBB0_13:
Lloh14:
	adrp	x1, _dev_attr_vrm@GOTPAGE
Lloh15:
	ldr	x1, [x1, _dev_attr_vrm@GOTPAGEOFF]
	mov	x0, x20
	bl	_device_remove_file
Lloh16:
	adrp	x21, _w83793_left_fan@GOTPAGE
Lloh17:
	ldr	x21, [x21, _w83793_left_fan@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_16
; %bb.14:
	mov	x22, #0
	mov	x23, #0
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	add	x1, x8, x22
	mov	x0, x20
	bl	_device_remove_file
	add	x23, x23, #1
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	add	x22, x22, #4
	cmp	x23, w0, sxtw
	b.lt	LBB0_15
LBB0_16:
Lloh18:
	adrp	x21, _w83793_left_pwm@GOTPAGE
Lloh19:
	ldr	x21, [x21, _w83793_left_pwm@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_19
; %bb.17:
	mov	x22, #0
	mov	x23, #0
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	add	x1, x8, x22
	mov	x0, x20
	bl	_device_remove_file
	add	x23, x23, #1
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	add	x22, x22, #4
	cmp	x23, w0, sxtw
	b.lt	LBB0_18
LBB0_19:
Lloh20:
	adrp	x21, _w83793_temp@GOTPAGE
Lloh21:
	ldr	x21, [x21, _w83793_temp@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_22
; %bb.20:
	mov	x22, #0
	mov	x23, #0
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	add	x1, x8, x22
	mov	x0, x20
	bl	_device_remove_file
	add	x23, x23, #1
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	add	x22, x22, #4
	cmp	x23, w0, sxtw
	b.lt	LBB0_21
LBB0_22:
Lloh22:
	adrp	x20, _watchdog_data_mutex@GOTPAGE
Lloh23:
	ldr	x20, [x20, _watchdog_data_mutex@GOTPAGEOFF]
	mov	x0, x20
	bl	_mutex_lock
Lloh24:
	adrp	x8, _w83793_release_resources@GOTPAGE
Lloh25:
	ldr	x8, [x8, _w83793_release_resources@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_kref_put
	mov	x0, x20
	bl	_mutex_unlock
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"i2c client detached with watchdog open! Stopping watchdog.\n"

	.comm	_watchdog_data_mutex,4,2        ; @watchdog_data_mutex
	.comm	_W83793_REG_CONFIG,4,2          ; @W83793_REG_CONFIG
	.comm	_watchdog_notifier,4,2          ; @watchdog_notifier
	.comm	_w83793_sensor_attr_2,8,3       ; @w83793_sensor_attr_2
	.comm	_sda_single_files,8,3           ; @sda_single_files
	.comm	_w83793_vid,8,3                 ; @w83793_vid
	.comm	_dev_attr_vrm,4,2               ; @dev_attr_vrm
	.comm	_w83793_left_fan,8,3            ; @w83793_left_fan
	.comm	_w83793_left_pwm,8,3            ; @w83793_left_pwm
	.comm	_w83793_temp,8,3                ; @w83793_temp
	.comm	_w83793_release_resources,4,2   ; @w83793_release_resources
	.no_dead_strip	_w83793_remove
.subsections_via_symbols
