	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function omap_kp_remove
_omap_kp_remove:                        ## @omap_kp_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
	callq	_platform_get_drvdata
	movq	%rax, %rbx
	movq	_kp_tasklet@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_tasklet_disable
	movq	_OMAP1_MPUIO_BASE@GOTPCREL(%rip), %rax
	movq	_OMAP_MPUIO_KBD_MASKIT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	(%rax), %rsi
	movl	$1, %edi
	callq	_omap_writew
	movl	8(%rbx), %edi
	movq	%rbx, %rsi
	callq	_free_irq
	leaq	4(%rbx), %rdi
	callq	_del_timer_sync
	movq	%r14, %rdi
	callq	_tasklet_kill
	movl	(%rbx), %edi
	callq	_input_unregister_device
	movq	%rbx, %rdi
	callq	_kfree
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_kp_tasklet,4,2                 ## @kp_tasklet
	.comm	_OMAP1_MPUIO_BASE,8,3           ## @OMAP1_MPUIO_BASE
	.comm	_OMAP_MPUIO_KBD_MASKIT,8,3      ## @OMAP_MPUIO_KBD_MASKIT
	.no_dead_strip	_omap_kp_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function omap_kp_remove
_omap_kp_remove:                        ; @omap_kp_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
	bl	_platform_get_drvdata
	mov	x19, x0
Lloh0:
	adrp	x20, _kp_tasklet@GOTPAGE
Lloh1:
	ldr	x20, [x20, _kp_tasklet@GOTPAGEOFF]
	mov	x0, x20
	bl	_tasklet_disable
Lloh2:
	adrp	x8, _OMAP1_MPUIO_BASE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _OMAP1_MPUIO_BASE@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _OMAP_MPUIO_KBD_MASKIT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _OMAP_MPUIO_KBD_MASKIT@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #1
	bl	_omap_writew
	ldr	w0, [x19, #8]
	mov	x1, x19
	bl	_free_irq
	add	x0, x19, #4
	bl	_del_timer_sync
	mov	x0, x20
	bl	_tasklet_kill
	ldr	w0, [x19]
	bl	_input_unregister_device
	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 AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_kp_tasklet,4,2                 ; @kp_tasklet
	.comm	_OMAP1_MPUIO_BASE,8,3           ; @OMAP1_MPUIO_BASE
	.comm	_OMAP_MPUIO_KBD_MASKIT,8,3      ; @OMAP_MPUIO_KBD_MASKIT
	.no_dead_strip	_omap_kp_remove
.subsections_via_symbols
