	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lm8323_remove
_lm8323_remove:                         ## @lm8323_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, %rbx
	callq	_i2c_get_clientdata
	movq	%rax, %r14
	movl	(%rbx), %edi
	callq	_disable_irq_wake
	movl	(%rbx), %edi
	movq	%r14, %rsi
	callq	_free_irq
	movl	16(%r14), %edi
	callq	_input_unregister_device
	movq	8(%r14), %rdi
	movq	_dev_attr_disable_kp@GOTPCREL(%rip), %rsi
	callq	_device_remove_file
	movq	(%r14), %rdi
	cmpq	$0, 8(%rdi)
	je	LBB0_2
## %bb.1:
	callq	_led_classdev_unregister
	movq	(%r14), %rdi
LBB0_2:
	cmpq	$0, 24(%rdi)
	je	LBB0_4
## %bb.3:
	addq	$16, %rdi
	callq	_led_classdev_unregister
	movq	(%r14), %rdi
LBB0_4:
	cmpq	$0, 40(%rdi)
	je	LBB0_6
## %bb.5:
	addq	$32, %rdi
	callq	_led_classdev_unregister
LBB0_6:
	movq	%r14, %rdi
	callq	_kfree
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dev_attr_disable_kp,4,2        ## @dev_attr_disable_kp
	.no_dead_strip	_lm8323_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lm8323_remove
_lm8323_remove:                         ; @lm8323_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	_i2c_get_clientdata
	mov	x19, x0
	ldr	w0, [x20]
	bl	_disable_irq_wake
	ldr	w0, [x20]
	mov	x1, x19
	bl	_free_irq
	ldr	w0, [x19, #16]
	bl	_input_unregister_device
	ldr	x0, [x19, #8]
Lloh0:
	adrp	x1, _dev_attr_disable_kp@GOTPAGE
Lloh1:
	ldr	x1, [x1, _dev_attr_disable_kp@GOTPAGEOFF]
	bl	_device_remove_file
	ldr	x0, [x19]
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_2
; %bb.1:
	bl	_led_classdev_unregister
	ldr	x0, [x19]
LBB0_2:
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_4
; %bb.3:
	add	x0, x0, #16
	bl	_led_classdev_unregister
	ldr	x0, [x19]
LBB0_4:
	ldr	x8, [x0, #40]
	cbz	x8, LBB0_6
; %bb.5:
	add	x0, x0, #32
	bl	_led_classdev_unregister
LBB0_6:
	mov	x0, x19
	bl	_kfree
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_dev_attr_disable_kp,4,2        ; @dev_attr_disable_kp
	.no_dead_strip	_lm8323_remove
.subsections_via_symbols
