	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aem_delete
_aem_delete:                            ## @aem_delete
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	addq	$24, %rdi
	callq	_list_del
	movq	%rbx, %rdi
	callq	_aem_remove_sensors
	movq	16(%rbx), %rdi
	callq	_kfree
	movl	12(%rbx), %edi
	callq	_hwmon_device_unregister
	movl	8(%rbx), %edi
	callq	_ipmi_destroy_user
	movl	4(%rbx), %edi
	xorl	%esi, %esi
	callq	_platform_set_drvdata
	movl	4(%rbx), %edi
	callq	_platform_device_unregister
	movl	(%rbx), %esi
	movq	_aem_ida@GOTPCREL(%rip), %rdi
	callq	_ida_simple_remove
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_aem_ida,4,2                    ## @aem_ida
	.no_dead_strip	_aem_delete
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aem_delete
_aem_delete:                            ; @aem_delete
	.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
	add	x0, x0, #24
	bl	_list_del
	mov	x0, x19
	bl	_aem_remove_sensors
	ldr	x0, [x19, #16]
	bl	_kfree
	ldr	w0, [x19, #12]
	bl	_hwmon_device_unregister
	ldr	w0, [x19, #8]
	bl	_ipmi_destroy_user
	ldr	w0, [x19, #4]
	mov	x1, #0
	bl	_platform_set_drvdata
	ldr	w0, [x19, #4]
	bl	_platform_device_unregister
	ldr	w1, [x19]
Lloh0:
	adrp	x0, _aem_ida@GOTPAGE
Lloh1:
	ldr	x0, [x0, _aem_ida@GOTPAGEOFF]
	bl	_ida_simple_remove
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_kfree
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_aem_ida,4,2                    ; @aem_ida
	.no_dead_strip	_aem_delete
.subsections_via_symbols
