	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stmpe_dbg_show_one
_stmpe_dbg_show_one:                    ## @stmpe_dbg_show_one
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_gpiochip_get_data
	movq	(%rax), %r15
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_gpiochip_is_requested
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_stmpe_gpio_get
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %r13d
	shrl	$3, %r13d
	movq	(%r15), %rax
	movq	_STMPE_IDX_GPDR_LSB@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	%r13, %rcx
	movq	(%rax,%rcx,8), %r12
	andl	$7, %ebx
	movl	%ebx, %edi
	callq	_BIT
	movq	%rax, %r14
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_stmpe_reg_read
	testl	%eax, %eax
	js	LBB0_12
## %bb.1:
	testl	%eax, %r14d
	je	LBB0_2
## %bb.14:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	leaq	L_.str.1(%rip), %rcx
	cmovneq	%rax, %rcx
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.2(%rip), %r8
	cmoveq	%rax, %r8
	leaq	L_.str(%rip), %rsi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_seq_printf                     ## TAILCALL
LBB0_2:
	movl	8(%r15), %eax
	addl	$-128, %eax
	cmpl	$7, %eax
	ja	LBB0_12
## %bb.3:
	movl	$93, %ecx
	btl	%eax, %ecx
	jae	LBB0_4
## %bb.5:
	movq	(%r15), %rax
	movq	_STMPE_IDX_GPEDR_LSB@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	addq	%r13, %rcx
	movq	(%rax,%rcx,8), %rsi
	movq	%r15, %rdi
	callq	_stmpe_reg_read
	testl	%eax, %eax
	js	LBB0_12
## %bb.6:
	xorl	%ecx, %ecx
	testl	%eax, %r14d
	setne	%cl
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_7
LBB0_4:
	movl	$2, %ecx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	$130, %ecx
	btl	%eax, %ecx
	movl	$2, %ebx
	movl	$2, %r12d
	jb	LBB0_10
LBB0_7:
	movq	(%r15), %rax
	movq	_STMPE_IDX_GPRER_LSB@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	addq	%r13, %rcx
	movq	(%rax,%rcx,8), %rsi
	movq	_STMPE_IDX_GPFER_LSB@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	addq	%r13, %rcx
	movq	(%rax,%rcx,8), %r12
	movq	%r15, %rdi
	callq	_stmpe_reg_read
	testl	%eax, %eax
	js	LBB0_12
## %bb.8:
	movl	%eax, %ebx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_stmpe_reg_read
	testl	%eax, %eax
	js	LBB0_12
## %bb.9:
	testl	%ebx, %r14d
	movl	$0, %ebx
	setne	%bl
	xorl	%r12d, %r12d
	testl	%eax, %r14d
	setne	%r12b
LBB0_10:
	movq	(%r15), %rax
	movq	_STMPE_IDX_IEGPIOR_LSB@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	addq	%r13, %rcx
	movq	(%rax,%rcx,8), %rsi
	movq	%r15, %rdi
	callq	_stmpe_reg_read
	testl	%eax, %eax
	js	LBB0_12
## %bb.11:
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	testq	%rdx, %rdx
	leaq	L_.str.1(%rip), %rcx
	cmovneq	%rdx, %rcx
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	leaq	L_.str.3(%rip), %rdx
	leaq	L_.str.2(%rip), %r8
	cmoveq	%rdx, %r8
	leaq	_reltable.stmpe_dbg_show_one(%rip), %rdx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movslq	(%rdx,%rsi,4), %r9
	addq	%rdx, %r9
	testl	%eax, %r14d
	leaq	L_.str.13(%rip), %rax
	leaq	L_.str.12(%rip), %r10
	cmoveq	%rax, %r10
	leaq	_reltable.stmpe_dbg_show_one.14(%rip), %rax
	movslq	(%rax,%rbx,4), %r11
	addq	%rax, %r11
	leaq	_reltable.stmpe_dbg_show_one.15(%rip), %rax
	movslq	(%rax,%r12,4), %rbx
	addq	%rax, %rbx
	subq	$8, %rsp
	leaq	L_.str.11(%rip), %rsi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	xorl	%eax, %eax
	pushq	%rbx
	pushq	%r11
	pushq	%r10
	callq	_seq_printf
	addq	$72, %rsp
	jmp	LBB0_13
LBB0_12:
	addq	$40, %rsp
LBB0_13:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STMPE_IDX_GPDR_LSB,8,3         ## @STMPE_IDX_GPDR_LSB
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" gpio-%-3d (%-20.20s) out %s"

L_.str.1:                               ## @.str.1
	.asciz	"(none)"

L_.str.2:                               ## @.str.2
	.asciz	"hi"

L_.str.3:                               ## @.str.3
	.asciz	"lo"

	.section	__TEXT,__const
	.p2align	2                               ## @reltable.stmpe_dbg_show_one
_reltable.stmpe_dbg_show_one:
	.long	L_.str.4-_reltable.stmpe_dbg_show_one
	.long	L_.str.5-_reltable.stmpe_dbg_show_one
	.long	L_.str.6-_reltable.stmpe_dbg_show_one

	.section	__TEXT,__cstring,cstring_literals
L_.str.4:                               ## @.str.4
	.asciz	"edge-inactive"

L_.str.5:                               ## @.str.5
	.asciz	"edge-asserted"

L_.str.6:                               ## @.str.6
	.asciz	"not-supported"

	.section	__TEXT,__const
	.p2align	2                               ## @reltable.stmpe_dbg_show_one.14
_reltable.stmpe_dbg_show_one.14:
	.long	L_.str.7-_reltable.stmpe_dbg_show_one.14
	.long	L_.str.8-_reltable.stmpe_dbg_show_one.14
	.long	L_.str.6-_reltable.stmpe_dbg_show_one.14

	.section	__TEXT,__cstring,cstring_literals
L_.str.7:                               ## @.str.7
	.asciz	"no-rising-edge-detection"

L_.str.8:                               ## @.str.8
	.asciz	"rising-edge-detection"

	.section	__TEXT,__const
	.p2align	2                               ## @reltable.stmpe_dbg_show_one.15
_reltable.stmpe_dbg_show_one.15:
	.long	L_.str.9-_reltable.stmpe_dbg_show_one.15
	.long	L_.str.10-_reltable.stmpe_dbg_show_one.15
	.long	L_.str.6-_reltable.stmpe_dbg_show_one.15

	.section	__TEXT,__cstring,cstring_literals
L_.str.9:                               ## @.str.9
	.asciz	"no-falling-edge-detection"

L_.str.10:                              ## @.str.10
	.asciz	"falling-edge-detection"

	.comm	_STMPE_IDX_GPEDR_LSB,4,2        ## @STMPE_IDX_GPEDR_LSB
	.comm	_STMPE_IDX_GPRER_LSB,4,2        ## @STMPE_IDX_GPRER_LSB
	.comm	_STMPE_IDX_GPFER_LSB,4,2        ## @STMPE_IDX_GPFER_LSB
	.comm	_STMPE_IDX_IEGPIOR_LSB,4,2      ## @STMPE_IDX_IEGPIOR_LSB
L_.str.11:                              ## @.str.11
	.asciz	" gpio-%-3d (%-20.20s) in  %s %13s %13s %25s %25s"

L_.str.12:                              ## @.str.12
	.asciz	"IRQ-enabled"

L_.str.13:                              ## @.str.13
	.asciz	"IRQ-disabled"

	.comm	_NOT_SUPPORTED_IDX,8,3          ## @NOT_SUPPORTED_IDX
	.no_dead_strip	_stmpe_dbg_show_one
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stmpe_dbg_show_one
_stmpe_dbg_show_one:                    ; @stmpe_dbg_show_one
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x24, x2
	mov	x22, x1
	mov	x20, x0
	mov	x0, x1
	bl	_gpiochip_get_data
	ldr	x23, [x0]
	mov	x0, x22
	mov	x1, x24
	bl	_gpiochip_is_requested
	mov	x21, x0
	mov	x0, x22
	mov	x1, x24
	bl	_stmpe_gpio_get
	mov	x22, x0
	lsr	w27, w24, #3
Lloh0:
	adrp	x8, _STMPE_IDX_GPDR_LSB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STMPE_IDX_GPDR_LSB@GOTPAGEOFF]
	ldr	x9, [x23]
Lloh2:
	ldr	x8, [x8]
	add	x8, x8, x27
	ldr	x25, [x9, x8, lsl #3]
	and	w0, w24, #0x7
	bl	_BIT
	mov	x24, x0
	mov	x0, x23
	mov	x1, x25
	bl	_stmpe_reg_read
	tbnz	w0, #31, LBB0_13
; %bb.1:
	mov	w8, w0
	tst	x24, x8
	b.eq	LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, l_.str.1@PAGE
Lloh4:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh5:
	adrp	x9, l_.str.2@PAGE
Lloh6:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	x21, #0
	csel	x3, x8, x21, eq
Lloh7:
	adrp	x8, l_.str.3@PAGE
Lloh8:
	add	x8, x8, l_.str.3@PAGEOFF
	cmp	w22, #0
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	csel	x4, x8, x9, eq
	mov	x0, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_seq_printf
LBB0_3:
	ldr	w8, [x23, #8]
	sub	w8, w8, #128
	cmp	w8, #7
	b.hi	LBB0_13
; %bb.4:
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #93
	tst	w8, w9
	b.eq	LBB0_7
; %bb.5:
	ldr	x8, [x23]
Lloh11:
	adrp	x9, _STMPE_IDX_GPEDR_LSB@GOTPAGE
Lloh12:
	ldr	x9, [x9, _STMPE_IDX_GPEDR_LSB@GOTPAGEOFF]
Lloh13:
	ldrsw	x9, [x9]
	add	x9, x9, x27
	ldr	x1, [x8, x9, lsl #3]
	mov	x0, x23
	bl	_stmpe_reg_read
	tbnz	w0, #31, LBB0_13
; %bb.6:
	mov	w8, w0
	tst	x24, x8
	cset	w28, ne
	b	LBB0_8
LBB0_7:
	mov	w28, #2
	mov	w9, #130
	mov	w25, #2
	mov	w26, #2
	tst	w8, w9
	b.ne	LBB0_11
LBB0_8:
	ldr	x8, [x23]
Lloh14:
	adrp	x9, _STMPE_IDX_GPRER_LSB@GOTPAGE
Lloh15:
	ldr	x9, [x9, _STMPE_IDX_GPRER_LSB@GOTPAGEOFF]
Lloh16:
	ldrsw	x9, [x9]
	add	x9, x9, x27
	ldr	x1, [x8, x9, lsl #3]
Lloh17:
	adrp	x9, _STMPE_IDX_GPFER_LSB@GOTPAGE
Lloh18:
	ldr	x9, [x9, _STMPE_IDX_GPFER_LSB@GOTPAGEOFF]
Lloh19:
	ldrsw	x9, [x9]
	add	x9, x9, x27
	ldr	x26, [x8, x9, lsl #3]
	mov	x0, x23
	bl	_stmpe_reg_read
	tbnz	w0, #31, LBB0_13
; %bb.9:
	mov	x25, x0
	mov	x0, x23
	mov	x1, x26
	bl	_stmpe_reg_read
	tbnz	w0, #31, LBB0_13
; %bb.10:
	mov	w8, w25
	tst	x24, x8
	cset	w25, ne
	mov	w8, w0
	tst	x24, x8
	cset	w26, ne
LBB0_11:
	ldr	x8, [x23]
Lloh20:
	adrp	x9, _STMPE_IDX_IEGPIOR_LSB@GOTPAGE
Lloh21:
	ldr	x9, [x9, _STMPE_IDX_IEGPIOR_LSB@GOTPAGEOFF]
Lloh22:
	ldrsw	x9, [x9]
	add	x9, x9, x27
	ldr	x1, [x8, x9, lsl #3]
	mov	x0, x23
	bl	_stmpe_reg_read
	tbnz	w0, #31, LBB0_13
; %bb.12:
	mov	w8, w0
Lloh23:
	adrp	x9, l_.str.1@PAGE
Lloh24:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	x21, #0
	csel	x3, x9, x21, eq
Lloh25:
	adrp	x9, l_.str.2@PAGE
Lloh26:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh27:
	adrp	x10, l_.str.3@PAGE
Lloh28:
	add	x10, x10, l_.str.3@PAGEOFF
	cmp	w22, #0
	csel	x4, x10, x9, eq
Lloh29:
	adrp	x9, _stmpe_dbg_show_one.edge_det_values@PAGE
Lloh30:
	add	x9, x9, _stmpe_dbg_show_one.edge_det_values@PAGEOFF
	ldr	x9, [x9, x28, lsl #3]
Lloh31:
	adrp	x10, l_.str.12@PAGE
Lloh32:
	add	x10, x10, l_.str.12@PAGEOFF
Lloh33:
	adrp	x11, l_.str.13@PAGE
Lloh34:
	add	x11, x11, l_.str.13@PAGEOFF
	tst	x24, x8
	csel	x8, x11, x10, eq
Lloh35:
	adrp	x10, _stmpe_dbg_show_one.rise_values@PAGE
Lloh36:
	add	x10, x10, _stmpe_dbg_show_one.rise_values@PAGEOFF
	ldr	x10, [x10, x25, lsl #3]
Lloh37:
	adrp	x11, _stmpe_dbg_show_one.fall_values@PAGE
Lloh38:
	add	x11, x11, _stmpe_dbg_show_one.fall_values@PAGEOFF
	ldr	x11, [x11, x26, lsl #3]
	stp	x10, x11, [sp, #16]
Lloh39:
	adrp	x1, l_.str.11@PAGE
Lloh40:
	add	x1, x1, l_.str.11@PAGEOFF
	stp	x9, x8, [sp]
	mov	x0, x20
	mov	x2, x19
	bl	_seq_printf
LBB0_13:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_STMPE_IDX_GPDR_LSB,8,3         ; @STMPE_IDX_GPDR_LSB
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" gpio-%-3d (%-20.20s) out %s"

l_.str.1:                               ; @.str.1
	.asciz	"(none)"

l_.str.2:                               ; @.str.2
	.asciz	"hi"

l_.str.3:                               ; @.str.3
	.asciz	"lo"

	.section	__DATA,__const
	.p2align	3                               ; @stmpe_dbg_show_one.edge_det_values
_stmpe_dbg_show_one.edge_det_values:
	.quad	l_.str.4
	.quad	l_.str.5
	.quad	l_.str.6

	.section	__TEXT,__cstring,cstring_literals
l_.str.4:                               ; @.str.4
	.asciz	"edge-inactive"

l_.str.5:                               ; @.str.5
	.asciz	"edge-asserted"

l_.str.6:                               ; @.str.6
	.asciz	"not-supported"

	.section	__DATA,__const
	.p2align	3                               ; @stmpe_dbg_show_one.rise_values
_stmpe_dbg_show_one.rise_values:
	.quad	l_.str.7
	.quad	l_.str.8
	.quad	l_.str.6

	.section	__TEXT,__cstring,cstring_literals
l_.str.7:                               ; @.str.7
	.asciz	"no-rising-edge-detection"

l_.str.8:                               ; @.str.8
	.asciz	"rising-edge-detection"

	.section	__DATA,__const
	.p2align	3                               ; @stmpe_dbg_show_one.fall_values
_stmpe_dbg_show_one.fall_values:
	.quad	l_.str.9
	.quad	l_.str.10
	.quad	l_.str.6

	.section	__TEXT,__cstring,cstring_literals
l_.str.9:                               ; @.str.9
	.asciz	"no-falling-edge-detection"

l_.str.10:                              ; @.str.10
	.asciz	"falling-edge-detection"

	.comm	_STMPE_IDX_GPEDR_LSB,4,2        ; @STMPE_IDX_GPEDR_LSB
	.comm	_STMPE_IDX_GPRER_LSB,4,2        ; @STMPE_IDX_GPRER_LSB
	.comm	_STMPE_IDX_GPFER_LSB,4,2        ; @STMPE_IDX_GPFER_LSB
	.comm	_STMPE_IDX_IEGPIOR_LSB,4,2      ; @STMPE_IDX_IEGPIOR_LSB
l_.str.11:                              ; @.str.11
	.asciz	" gpio-%-3d (%-20.20s) in  %s %13s %13s %25s %25s"

l_.str.12:                              ; @.str.12
	.asciz	"IRQ-enabled"

l_.str.13:                              ; @.str.13
	.asciz	"IRQ-disabled"

	.comm	_NOT_SUPPORTED_IDX,8,3          ; @NOT_SUPPORTED_IDX
	.no_dead_strip	_stmpe_dbg_show_one
.subsections_via_symbols
