	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stmpe1601_enable
_stmpe1601_enable:                      ## @stmpe1601_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
	movq	_STMPE_BLOCK_GPIO@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	andl	%esi, %r9d
	je	LBB0_2
## %bb.1:
	movq	_STMPE1601_SYS_CTRL_ENABLE_GPIO@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
LBB0_2:
	movq	_STMPE_BLOCK_KEYPAD@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	andl	%esi, %r8d
	movq	_STMPE1601_SYS_CTRL_ENABLE_KPC@GOTPCREL(%rip), %rdx
	movl	(%rdx), %eax
	movl	%eax, %edx
	orl	%r9d, %edx
	notl	%eax
	andl	%r9d, %eax
	testl	%r8d, %r8d
	cmovnel	%edx, %eax
	movq	_STMPE_BLOCK_PWM@GOTPCREL(%rip), %rdx
	andl	(%rdx), %esi
	movq	_STMPE1601_SYS_CTRL_ENABLE_SPWM@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, %r8d
	orl	%eax, %r8d
	notl	%edx
	andl	%eax, %edx
	testl	%esi, %esi
	cmovnel	%r8d, %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	_STMPE1601_SYS_CTRL_ENABLE_GPIO,4,2 ## @STMPE1601_SYS_CTRL_ENABLE_GPIO
	.comm	_STMPE_BLOCK_KEYPAD,4,2         ## @STMPE_BLOCK_KEYPAD
	.comm	_STMPE1601_SYS_CTRL_ENABLE_KPC,4,2 ## @STMPE1601_SYS_CTRL_ENABLE_KPC
	.comm	_STMPE_BLOCK_PWM,4,2            ## @STMPE_BLOCK_PWM
	.comm	_STMPE1601_SYS_CTRL_ENABLE_SPWM,4,2 ## @STMPE1601_SYS_CTRL_ENABLE_SPWM
	.comm	_STMPE_IDX_SYS_CTRL,8,3         ## @STMPE_IDX_SYS_CTRL
	.no_dead_strip	_stmpe1601_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stmpe1601_enable
_stmpe1601_enable:                      ; @stmpe1601_enable
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _STMPE_BLOCK_GPIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STMPE_BLOCK_GPIO@GOTPAGEOFF]
Lloh2:
	adrp	x9, _STMPE1601_SYS_CTRL_ENABLE_GPIO@GOTPAGE
Lloh3:
	ldr	x9, [x9, _STMPE1601_SYS_CTRL_ENABLE_GPIO@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
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, _STMPE1601_SYS_CTRL_ENABLE_KPC@GOTPAGE
Lloh10:
	ldr	x10, [x10, _STMPE1601_SYS_CTRL_ENABLE_KPC@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	orr	w11, w10, w8
	bic	w8, w8, w10
	tst	w9, w1
	csel	w8, w8, w11, eq
Lloh12:
	adrp	x9, _STMPE_BLOCK_PWM@GOTPAGE
Lloh13:
	ldr	x9, [x9, _STMPE_BLOCK_PWM@GOTPAGEOFF]
Lloh14:
	adrp	x10, _STMPE1601_SYS_CTRL_ENABLE_SPWM@GOTPAGE
Lloh15:
	ldr	x10, [x10, _STMPE1601_SYS_CTRL_ENABLE_SPWM@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
Lloh17:
	ldr	w10, [x10]
	orr	w11, w10, w8
	bic	w8, w8, w10
	tst	w9, w1
	csel	w8, w8, w11, eq
	ldr	x9, [x0]
Lloh18:
	adrp	x10, _STMPE_IDX_SYS_CTRL@GOTPAGE
Lloh19:
	ldr	x10, [x10, _STMPE_IDX_SYS_CTRL@GOTPAGEOFF]
Lloh20:
	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	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_STMPE_BLOCK_GPIO,4,2           ; @STMPE_BLOCK_GPIO
	.comm	_STMPE1601_SYS_CTRL_ENABLE_GPIO,4,2 ; @STMPE1601_SYS_CTRL_ENABLE_GPIO
	.comm	_STMPE_BLOCK_KEYPAD,4,2         ; @STMPE_BLOCK_KEYPAD
	.comm	_STMPE1601_SYS_CTRL_ENABLE_KPC,4,2 ; @STMPE1601_SYS_CTRL_ENABLE_KPC
	.comm	_STMPE_BLOCK_PWM,4,2            ; @STMPE_BLOCK_PWM
	.comm	_STMPE1601_SYS_CTRL_ENABLE_SPWM,4,2 ; @STMPE1601_SYS_CTRL_ENABLE_SPWM
	.comm	_STMPE_IDX_SYS_CTRL,8,3         ; @STMPE_IDX_SYS_CTRL
	.no_dead_strip	_stmpe1601_enable
.subsections_via_symbols
