	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function samsung_keypad_stop
_samsung_keypad_stop:                   ## @samsung_keypad_stop
	.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
	movq	8(%rdi), %rdi
	callq	_pm_runtime_get_sync
	movl	$1, (%rbx)
	leaq	32(%rbx), %rdi
	callq	_wake_up
	movl	16(%rbx), %edi
	callq	_disable_irq
	movq	_SAMSUNG_KEYIFSTSCLR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	24(%rbx), %rsi
	movl	$-1, %edi
	callq	_writel
	movq	_SAMSUNG_KEYIFCON@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	addq	24(%rbx), %rdi
	callq	_readl
	movq	_SAMSUNG_KEYIFCON_INT_F_EN@GOTPCREL(%rip), %rcx
	movq	_SAMSUNG_KEYIFCON_INT_R_EN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	orl	(%rcx), %edi
	notl	%edi
	andl	%eax, %edi
	movq	(%r14), %rsi
	addq	24(%rbx), %rsi
	callq	_writel
	movl	20(%rbx), %edi
	callq	_clk_disable
	movl	16(%rbx), %edi
	callq	_enable_irq
	movq	8(%rbx), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pm_runtime_put                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SAMSUNG_KEYIFSTSCLR,8,3        ## @SAMSUNG_KEYIFSTSCLR
	.comm	_SAMSUNG_KEYIFCON,8,3           ## @SAMSUNG_KEYIFCON
	.comm	_SAMSUNG_KEYIFCON_INT_F_EN,4,2  ## @SAMSUNG_KEYIFCON_INT_F_EN
	.comm	_SAMSUNG_KEYIFCON_INT_R_EN,4,2  ## @SAMSUNG_KEYIFCON_INT_R_EN
	.no_dead_strip	_samsung_keypad_stop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function samsung_keypad_stop
_samsung_keypad_stop:                   ; @samsung_keypad_stop
	.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
	ldr	x0, [x0, #8]
	bl	_pm_runtime_get_sync
	mov	w8, #1
	str	w8, [x19]
	add	x0, x19, #32
	bl	_wake_up
	ldr	w0, [x19, #16]
	bl	_disable_irq
	ldr	x8, [x19, #24]
Lloh0:
	adrp	x9, _SAMSUNG_KEYIFSTSCLR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SAMSUNG_KEYIFSTSCLR@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #-1
	bl	_writel
	ldr	x8, [x19, #24]
Lloh3:
	adrp	x20, _SAMSUNG_KEYIFCON@GOTPAGE
Lloh4:
	ldr	x20, [x20, _SAMSUNG_KEYIFCON@GOTPAGEOFF]
	ldr	x9, [x20]
	add	x0, x9, x8
	bl	_readl
Lloh5:
	adrp	x8, _SAMSUNG_KEYIFCON_INT_F_EN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SAMSUNG_KEYIFCON_INT_F_EN@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _SAMSUNG_KEYIFCON_INT_R_EN@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SAMSUNG_KEYIFCON_INT_R_EN@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w0, w0, w8
	ldr	x8, [x19, #24]
	ldr	x9, [x20]
	add	x1, x9, x8
	bl	_writel
	ldr	w0, [x19, #20]
	bl	_clk_disable
	ldr	w0, [x19, #16]
	bl	_enable_irq
	ldr	x0, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pm_runtime_put
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SAMSUNG_KEYIFSTSCLR,8,3        ; @SAMSUNG_KEYIFSTSCLR
	.comm	_SAMSUNG_KEYIFCON,8,3           ; @SAMSUNG_KEYIFCON
	.comm	_SAMSUNG_KEYIFCON_INT_F_EN,4,2  ; @SAMSUNG_KEYIFCON_INT_F_EN
	.comm	_SAMSUNG_KEYIFCON_INT_R_EN,4,2  ; @SAMSUNG_KEYIFCON_INT_R_EN
	.no_dead_strip	_samsung_keypad_stop
.subsections_via_symbols
