	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sht15_remove
_sht15_remove:                          ## @sht15_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_platform_get_drvdata
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_mutex_lock
	movq	%rbx, %rdi
	callq	_sht15_soft_reset
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_mutex_unlock
	movq	_EFAULT@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_5
LBB0_2:
	movl	12(%rbx), %edi
	callq	_hwmon_device_unregister
	movq	_sht15_attr_group@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_sysfs_remove_group
	movl	4(%rbx), %edi
	callq	_IS_ERR
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movl	4(%rbx), %edi
	movq	%rbx, %rsi
	addq	$8, %rsi
	callq	_regulator_unregister_notifier
	movl	4(%rbx), %edi
	callq	_regulator_disable
LBB0_4:
	movq	%rbx, %rdi
	callq	_mutex_unlock
	xorl	%eax, %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EFAULT,4,2                     ## @EFAULT
	.comm	_sht15_attr_group,4,2           ## @sht15_attr_group
	.no_dead_strip	_sht15_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sht15_remove
_sht15_remove:                          ; @sht15_remove
	.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
	mov	x20, x0
	bl	_platform_get_drvdata
	mov	x19, x0
	bl	_mutex_lock
	mov	x0, x19
	bl	_sht15_soft_reset
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_mutex_unlock
Lloh0:
	adrp	x8, _EFAULT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_2:
	ldr	w0, [x19, #12]
	bl	_hwmon_device_unregister
Lloh3:
	adrp	x1, _sht15_attr_group@GOTPAGE
Lloh4:
	ldr	x1, [x1, _sht15_attr_group@GOTPAGEOFF]
	mov	x0, x20
	bl	_sysfs_remove_group
	ldr	w0, [x19, #4]
	bl	_IS_ERR
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	w0, [x19, #4]
	add	x1, x19, #8
	bl	_regulator_unregister_notifier
	ldr	w0, [x19, #4]
	bl	_regulator_disable
LBB0_4:
	mov	x0, x19
	bl	_mutex_unlock
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EFAULT,4,2                     ; @EFAULT
	.comm	_sht15_attr_group,4,2           ; @sht15_attr_group
	.no_dead_strip	_sht15_remove
.subsections_via_symbols
