	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function env_remove
_env_remove:                            ## @env_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
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rbx
	leaq	8(%r14), %rdi
	movq	_env_group@GOTPCREL(%rip), %rsi
	callq	_sysfs_remove_group
	movl	4(%rbx), %edi
	callq	_hwmon_device_unregister
	movq	(%r14), %rdi
	movl	(%rbx), %esi
	movq	_REG_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_of_iounmap
LBB0_2:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_env_group,4,2                  ## @env_group
	.comm	_REG_SIZE,4,2                   ## @REG_SIZE
	.no_dead_strip	_env_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function env_remove
_env_remove:                            ; @env_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	x19, x0
	bl	_platform_get_drvdata
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x0
	add	x0, x19, #8
Lloh0:
	adrp	x1, _env_group@GOTPAGE
Lloh1:
	ldr	x1, [x1, _env_group@GOTPAGEOFF]
	bl	_sysfs_remove_group
	ldr	w0, [x20, #4]
	bl	_hwmon_device_unregister
	ldr	x0, [x19]
	ldr	w1, [x20]
Lloh2:
	adrp	x8, _REG_SIZE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _REG_SIZE@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	bl	_of_iounmap
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_env_group,4,2                  ; @env_group
	.comm	_REG_SIZE,4,2                   ; @REG_SIZE
	.no_dead_strip	_env_remove
.subsections_via_symbols
