	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kxtj9_remove
_kxtj9_remove:                          ## @kxtj9_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
	cmpq	$0, (%rbx)
	je	LBB0_2
## %bb.1:
	leaq	8(%rbx), %rdi
	movq	_kxtj9_attribute_group@GOTPCREL(%rip), %rsi
	callq	_sysfs_remove_group
	movq	(%rbx), %rdi
	movq	%r14, %rsi
	callq	_free_irq
	movl	8(%r14), %edi
	callq	_input_unregister_device
	jmp	LBB0_3
LBB0_2:
	movq	%r14, %rdi
	callq	_kxtj9_teardown_polled_device
LBB0_3:
	movq	(%r14), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	callq	*%rcx
LBB0_5:
	movq	%r14, %rdi
	callq	_kfree
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_kxtj9_attribute_group,4,2      ## @kxtj9_attribute_group
	.no_dead_strip	_kxtj9_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kxtj9_remove
_kxtj9_remove:                          ; @kxtj9_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	x8, [x20]
	cbz	x8, LBB0_4
; %bb.1:
	add	x0, x20, #8
Lloh0:
	adrp	x1, _kxtj9_attribute_group@GOTPAGE
Lloh1:
	ldr	x1, [x1, _kxtj9_attribute_group@GOTPAGEOFF]
	bl	_sysfs_remove_group
	ldr	x0, [x20]
	mov	x1, x19
	bl	_free_irq
	ldr	w0, [x19, #8]
	bl	_input_unregister_device
	ldr	x8, [x19]
	cbz	x8, LBB0_3
LBB0_2:
	blr	x8
LBB0_3:
	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
LBB0_4:
	mov	x0, x19
	bl	_kxtj9_teardown_polled_device
	ldr	x8, [x19]
	cbnz	x8, LBB0_2
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_kxtj9_attribute_group,4,2      ; @kxtj9_attribute_group
	.no_dead_strip	_kxtj9_remove
.subsections_via_symbols
