	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function elantech_show_int_attr
_elantech_show_int_attr:                ## @elantech_show_int_attr
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movslq	(%rsi), %r15
	addq	(%rdi), %r15
	movl	4(%rsi), %esi
	testl	%esi, %esi
	je	LBB0_3
## %bb.1:
	movq	%r15, %rdx
	callq	_elantech_read_reg
	cmpl	$0, 4(%rbx)
	je	LBB0_3
## %bb.2:
	movl	$-1, %edx
	testl	%eax, %eax
	jne	LBB0_4
LBB0_3:
	movzbl	(%r15), %edx
LBB0_4:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sprintf                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"0x%02x\n"

	.no_dead_strip	_elantech_show_int_attr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function elantech_show_int_attr
_elantech_show_int_attr:                ; @elantech_show_int_attr
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x20, x1
	ldr	x8, [x0]
	ldp	w9, w1, [x1]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	add	x21, x8, x9
	cbz	w1, LBB0_2
; %bb.1:
	mov	x2, x21
	bl	_elantech_read_reg
	ldr	w8, [x20, #4]
	cmp	w8, #0
	ccmp	w0, #0, #4, ne
	b.ne	LBB0_3
LBB0_2:
	ldrb	w2, [x21]
	b	LBB0_4
LBB0_3:
	mov	w2, #-1
LBB0_4:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_sprintf
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0x%02x\n"

	.no_dead_strip	_elantech_show_int_attr
.subsections_via_symbols
