	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gpio_twl4030_debounce
_gpio_twl4030_debounce:                 ## @gpio_twl4030_debounce
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	movl	%edi, %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -8(%rbp)
	movzbl	%al, %ecx
	andl	$3, %esi
	orl	%ecx, %esi
	movl	%esi, -20(%rbp)
	movzbl	%ah, %ecx
	movl	%ecx, -16(%rbp)
	shrl	$16, %eax
	andl	$3, %eax
	movl	%eax, -12(%rbp)
	movq	_TWL4030_MODULE_GPIO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_REG_GPIO_DEBEN1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-20(%rbp), %rsi
	movl	$3, %ecx
	callq	_twl_i2c_write
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-8(%rbp), %rcx
	jne	LBB0_2
## %bb.1:
	addq	$32, %rsp
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_TWL4030_MODULE_GPIO,4,2        ## @TWL4030_MODULE_GPIO
	.comm	_REG_GPIO_DEBEN1,4,2            ## @REG_GPIO_DEBEN1
	.no_dead_strip	_gpio_twl4030_debounce
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function gpio_twl4030_debounce
lCPI0_0:
	.long	4294967288                      ; 0xfffffff8
	.long	4294967280                      ; 0xfffffff0
lCPI0_1:
	.long	255                             ; 0xff
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_gpio_twl4030_debounce:                 ; @gpio_twl4030_debounce
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-8]
	and	w8, w0, #0xff
	and	w9, w1, #0x3
	orr	w8, w9, w8
	str	w8, [sp, #12]
	dup.2s	v0, w0
Lloh3:
	adrp	x8, lCPI0_0@PAGE
Lloh4:
	ldr	d1, [x8, lCPI0_0@PAGEOFF]
	ushl.2s	v0, v0, v1
Lloh5:
	adrp	x8, lCPI0_1@PAGE
Lloh6:
	ldr	d1, [x8, lCPI0_1@PAGEOFF]
	and.8b	v0, v0, v1
	stur	d0, [sp, #16]
Lloh7:
	adrp	x8, _TWL4030_MODULE_GPIO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TWL4030_MODULE_GPIO@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x8, _REG_GPIO_DEBEN1@GOTPAGE
Lloh11:
	ldr	x8, [x8, _REG_GPIO_DEBEN1@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	add	x1, sp, #12
	mov	w3, #3
	bl	_twl_i2c_write
	ldur	x8, [x29, #-8]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdrp	Lloh5, Lloh7
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpAdrp	Lloh3, Lloh5
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TWL4030_MODULE_GPIO,4,2        ; @TWL4030_MODULE_GPIO
	.comm	_REG_GPIO_DEBEN1,4,2            ; @REG_GPIO_DEBEN1
	.no_dead_strip	_gpio_twl4030_debounce
.subsections_via_symbols
