	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function omap_clear_gpio_debounce
_omap_clear_gpio_debounce:              ## @omap_clear_gpio_debounce
	.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
	movl	%esi, %edi
	callq	_BIT
	cmpl	$0, 40(%rbx)
	je	LBB0_4
## %bb.1:
	movl	(%rbx), %ecx
	testl	%eax, %ecx
	je	LBB0_4
## %bb.2:
	notl	%eax
	andl	%eax, %ecx
	movl	%ecx, (%rbx)
	andl	32(%rbx), %eax
	movl	%eax, 32(%rbx)
	movq	16(%rbx), %rcx
	movq	8(%rcx), %rsi
	addq	24(%rbx), %rsi
	movl	%eax, %edi
	callq	_writel_relaxed
	cmpl	$0, (%rbx)
	jne	LBB0_4
## %bb.3:
	movl	$0, 36(%rbx)
	movq	16(%rbx), %rax
	movq	(%rax), %rsi
	addq	24(%rbx), %rsi
	xorl	%edi, %edi
	callq	_writel_relaxed
	movl	8(%rbx), %edi
	callq	_clk_disable
	movl	$0, 4(%rbx)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_omap_clear_gpio_debounce
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function omap_clear_gpio_debounce
_omap_clear_gpio_debounce:              ; @omap_clear_gpio_debounce
	.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
	mov	x0, x1
	bl	_BIT
	ldr	w8, [x19, #40]
	cbz	w8, LBB0_4
; %bb.1:
	ldr	w8, [x19]
	tst	w8, w0
	b.eq	LBB0_4
; %bb.2:
	bic	w8, w8, w0
	str	w8, [x19]
	ldr	w8, [x19, #32]
	bic	w0, w8, w0
	str	w0, [x19, #32]
	ldp	x9, x8, [x19, #16]
	ldr	x9, [x9, #8]
	add	x1, x9, x8
	bl	_writel_relaxed
	ldr	w8, [x19]
	cbnz	w8, LBB0_4
; %bb.3:
	str	wzr, [x19, #36]
	ldp	x9, x8, [x19, #16]
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel_relaxed
	ldr	w0, [x19, #8]
	bl	_clk_disable
	str	wzr, [x19, #4]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_omap_clear_gpio_debounce
.subsections_via_symbols
