	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stmpe_gpio_irq_unmask
_stmpe_gpio_irq_unmask:                 ## @stmpe_gpio_irq_unmask
	.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
	callq	_irq_data_get_irq_chip_data
	movq	%rax, %rdi
	callq	_gpiochip_get_data
	movl	(%rbx), %edi
	leal	7(%rdi), %ecx
	testl	%edi, %edi
	cmovnsl	%edi, %ecx
	movq	%rax, %r14
	movl	%ecx, %ebx
	sarl	$3, %ebx
	andl	$-8, %ecx
	subl	%ecx, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_BIT
	movq	(%r14), %rcx
	movq	_REG_IE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movslq	%ebx, %rdx
	orl	%eax, (%rcx,%rdx,4)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_IE,8,3                     ## @REG_IE
	.no_dead_strip	_stmpe_gpio_irq_unmask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stmpe_gpio_irq_unmask
_stmpe_gpio_irq_unmask:                 ; @stmpe_gpio_irq_unmask
	.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
	bl	_irq_data_get_irq_chip_data
	bl	_gpiochip_get_data
	mov	x20, x0
	ldr	w8, [x19]
	add	w9, w8, #7
	cmp	w8, #0
	csel	w9, w9, w8, lt
	asr	w19, w9, #3
	and	w9, w9, #0xfffffff8
	sub	w0, w8, w9
	bl	_BIT
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _REG_IE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _REG_IE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	sbfiz	x9, x19, #2, #32
	ldr	w10, [x8, x9]
	orr	w10, w10, w0
	str	w10, [x8, x9]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_IE,8,3                     ; @REG_IE
	.no_dead_strip	_stmpe_gpio_irq_unmask
.subsections_via_symbols
