	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stmpe24xx_enable
_stmpe24xx_enable:                      ## @stmpe24xx_enable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edx, %ecx
	movl	%esi, %edx
	movq	_STMPE_BLOCK_GPIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%esi, %eax
	je	LBB0_2
## %bb.1:
	movq	_STMPE24XX_SYS_CTRL_ENABLE_GPIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_2:
	movq	_STMPE_BLOCK_KEYPAD@GOTPCREL(%rip), %rsi
	andl	(%rsi), %edx
	je	LBB0_4
## %bb.3:
	movq	_STMPE24XX_SYS_CTRL_ENABLE_KPC@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_4:
	orl	%eax, %edx
	movq	(%rdi), %rax
	movq	_STMPE_IDX_SYS_CTRL@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movl	(%rax,%rsi,4), %esi
	testl	%ecx, %ecx
	cmovnel	%edx, %ecx
	popq	%rbp
	jmp	___stmpe_set_bits               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_STMPE_BLOCK_GPIO,4,2           ## @STMPE_BLOCK_GPIO
	.comm	_STMPE24XX_SYS_CTRL_ENABLE_GPIO,4,2 ## @STMPE24XX_SYS_CTRL_ENABLE_GPIO
	.comm	_STMPE_BLOCK_KEYPAD,4,2         ## @STMPE_BLOCK_KEYPAD
	.comm	_STMPE24XX_SYS_CTRL_ENABLE_KPC,4,2 ## @STMPE24XX_SYS_CTRL_ENABLE_KPC
	.comm	_STMPE_IDX_SYS_CTRL,8,3         ## @STMPE_IDX_SYS_CTRL
	.no_dead_strip	_stmpe24xx_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stmpe24xx_enable
_stmpe24xx_enable:                      ; @stmpe24xx_enable
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _STMPE_BLOCK_GPIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STMPE_BLOCK_GPIO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _STMPE24XX_SYS_CTRL_ENABLE_GPIO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _STMPE24XX_SYS_CTRL_ENABLE_GPIO@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w8, w1
	csel	w8, wzr, w9, eq
Lloh6:
	adrp	x9, _STMPE_BLOCK_KEYPAD@GOTPAGE
Lloh7:
	ldr	x9, [x9, _STMPE_BLOCK_KEYPAD@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _STMPE24XX_SYS_CTRL_ENABLE_KPC@GOTPAGE
Lloh10:
	ldr	x10, [x10, _STMPE24XX_SYS_CTRL_ENABLE_KPC@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	tst	w9, w1
	csel	w9, wzr, w10, eq
	orr	w8, w9, w8
	ldr	x9, [x0]
Lloh12:
	adrp	x10, _STMPE_IDX_SYS_CTRL@GOTPAGE
Lloh13:
	ldr	x10, [x10, _STMPE_IDX_SYS_CTRL@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	ldr	w1, [x9, x10, lsl #2]
	cmp	w2, #0
	csel	w3, wzr, w8, eq
	mov	x2, x8
	b	___stmpe_set_bits
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_STMPE_BLOCK_GPIO,4,2           ; @STMPE_BLOCK_GPIO
	.comm	_STMPE24XX_SYS_CTRL_ENABLE_GPIO,4,2 ; @STMPE24XX_SYS_CTRL_ENABLE_GPIO
	.comm	_STMPE_BLOCK_KEYPAD,4,2         ; @STMPE_BLOCK_KEYPAD
	.comm	_STMPE24XX_SYS_CTRL_ENABLE_KPC,4,2 ; @STMPE24XX_SYS_CTRL_ENABLE_KPC
	.comm	_STMPE_IDX_SYS_CTRL,8,3         ; @STMPE_IDX_SYS_CTRL
	.no_dead_strip	_stmpe24xx_enable
.subsections_via_symbols
