	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mip4_query_device
_mip4_query_device:                     ## @mip4_query_device
	.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
	subq	$160, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	72(%rdi), %rax
	movl	4(%rax), %esi
	movl	8(%rax), %edi
	movq	_I2C_SMBUS_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_I2C_SMBUS_BYTE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	-168(%rbp), %rax
	movq	%rax, (%rsp)
	xorl	%r14d, %r14d
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_i2c_smbus_xfer
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	movq	_MIP4_R0_INFO@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	%rax, -48(%rbp)
	movq	_MIP4_R1_INFO_PRODUCT_NAME@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	(%rbx), %rcx
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$16, %edx
	movl	$8, %r8d
	callq	_mip4_i2c_xfer
	movq	72(%rbx), %rdi
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_warn
	jmp	LBB0_5
LBB0_1:
	movq	72(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	movq	_ENXIO@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	jmp	LBB0_23
LBB0_4:
	movq	(%rbx), %rcx
	leaq	L_.str.2(%rip), %rsi
	movl	$8, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
LBB0_5:
	movq	(%r14), %rax
	movq	%rax, -48(%rbp)
	movq	_MIP4_R1_INFO_PID@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	leaq	-48(%rbp), %rsi
	leaq	-160(%rbp), %rcx
	movq	%rbx, %rdi
	movl	$16, %edx
	movl	$2, %r8d
	callq	_mip4_i2c_xfer
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movq	72(%rbx), %rdi
	leaq	L_.str.3(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_warn
	jmp	LBB0_8
LBB0_7:
	leaq	-160(%rbp), %rdi
	callq	_get_unaligned_le16
	movl	%eax, 8(%rbx)
	movq	72(%rbx), %rdi
	leaq	L_.str.4(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
LBB0_8:
	movl	8(%rbx), %ecx
	movl	128(%rbx), %edi
	leaq	L_.str.5(%rip), %rdx
	movl	$4, %esi
	callq	_snprintf
	movq	72(%rbx), %rdi
	movl	128(%rbx), %edx
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	(%r14), %rax
	movq	%rax, -48(%rbp)
	movq	_MIP4_R1_INFO_IC_NAME@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	16(%rbx), %rcx
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$16, %edx
	movl	$8, %r8d
	callq	_mip4_i2c_xfer
	movq	72(%rbx), %rdi
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	leaq	L_.str.7(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_warn
	jmp	LBB0_11
LBB0_10:
	movq	16(%rbx), %rcx
	leaq	L_.str.8(%rip), %rsi
	movl	$8, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
LBB0_11:
	movq	%rbx, %rdi
	callq	_mip4_get_fw_version
	movq	72(%rbx), %rdi
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	leaq	L_.str.9(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_warn
	jmp	LBB0_14
LBB0_13:
	movl	124(%rbx), %edx
	movl	120(%rbx), %ecx
	movl	112(%rbx), %r9d
	movl	116(%rbx), %r8d
	leaq	L_.str.10(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_dbg
LBB0_14:
	movq	(%r14), %rax
	movq	%rax, -48(%rbp)
	movq	_MIP4_R1_INFO_RESOLUTION_X@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	leaq	-48(%rbp), %rsi
	leaq	-160(%rbp), %rcx
	movq	%rbx, %rdi
	movl	$16, %edx
	movl	$14, %r8d
	callq	_mip4_i2c_xfer
	testl	%eax, %eax
	je	LBB0_16
## %bb.15:
	movq	72(%rbx), %rdi
	leaq	L_.str.11(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_warn
	jmp	LBB0_18
LBB0_16:
	leaq	-160(%rbp), %rdi
	callq	_get_unaligned_le16
	movl	%eax, 24(%rbx)
	leaq	-144(%rbp), %rdi
	callq	_get_unaligned_le16
	movq	%rax, 32(%rbx)
	movq	72(%rbx), %rdi
	movl	24(%rbx), %edx
	leaq	L_.str.12(%rip), %rsi
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	-128(%rbp), %rdx
	movq	%rdx, 104(%rbx)
	movq	-120(%rbp), %rcx
	movq	%rcx, 96(%rbx)
	movq	-112(%rbp), %r8
	movq	%r8, 80(%rbx)
	movq	72(%rbx), %rdi
	leaq	L_.str.13(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	-64(%rbp), %edx
	movl	%edx, 40(%rbx)
	movq	-56(%rbp), %rcx
	movq	%rcx, 48(%rbx)
	movq	72(%rbx), %rdi
	leaq	L_.str.14(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	80(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	movq	%rax, 88(%rbx)
LBB0_18:
	movq	_MIP4_R0_EVENT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MIP4_R1_EVENT_SUPPORTED_FUNC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	leaq	-48(%rbp), %rsi
	leaq	-160(%rbp), %rcx
	movq	%rbx, %rdi
	movl	$16, %edx
	movl	$7, %r8d
	callq	_mip4_i2c_xfer
	testl	%eax, %eax
	je	LBB0_20
## %bb.19:
	movq	72(%rbx), %rdi
	leaq	L_.str.15(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_warn
	movl	$255, 56(%rbx)
	xorl	%r14d, %r14d
	jmp	LBB0_23
LBB0_20:
	leaq	-128(%rbp), %rdi
	callq	_get_unaligned_le16
	movl	%eax, 56(%rbx)
	movq	-112(%rbp), %rcx
	movq	%rcx, 64(%rbx)
	movq	72(%rbx), %rdi
	leaq	L_.str.16(%rip), %rsi
	xorl	%r14d, %r14d
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	56(%rbx), %edx
	cmpl	$2, %edx
	je	LBB0_22
## %bb.21:
	cmpl	$4, %edx
	jl	LBB0_23
LBB0_22:
	movq	72(%rbx), %rdi
	leaq	L_.str.17(%rip), %rsi
	callq	_dev_warn
LBB0_23:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_25
## %bb.24:
	movl	%r14d, %eax
	addq	$160, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_25:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_SMBUS_READ,4,2             ## @I2C_SMBUS_READ
	.comm	_I2C_SMBUS_BYTE,4,2             ## @I2C_SMBUS_BYTE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nothing at this address\n"

	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_MIP4_R0_INFO,8,3               ## @MIP4_R0_INFO
	.comm	_MIP4_R1_INFO_PRODUCT_NAME,8,3  ## @MIP4_R1_INFO_PRODUCT_NAME
L_.str.1:                               ## @.str.1
	.asciz	"Failed to retrieve product name: %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"product name: %.*s\n"

	.comm	_MIP4_R1_INFO_PID,8,3           ## @MIP4_R1_INFO_PID
L_.str.3:                               ## @.str.3
	.asciz	"Failed to retrieve product id: %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"product id: %04X\n"

L_.str.5:                               ## @.str.5
	.asciz	"melfas_mip4_%04X.fw"

L_.str.6:                               ## @.str.6
	.asciz	"firmware name: %s\n"

	.comm	_MIP4_R1_INFO_IC_NAME,8,3       ## @MIP4_R1_INFO_IC_NAME
L_.str.7:                               ## @.str.7
	.asciz	"Failed to retrieve IC name: %d\n"

L_.str.8:                               ## @.str.8
	.asciz	"IC name: %.*s\n"

L_.str.9:                               ## @.str.9
	.asciz	"Failed to retrieve FW version: %d\n"

L_.str.10:                              ## @.str.10
	.asciz	"F/W Version: %04X %04X %04X %04X\n"

	.comm	_MIP4_R1_INFO_RESOLUTION_X,8,3  ## @MIP4_R1_INFO_RESOLUTION_X
L_.str.11:                              ## @.str.11
	.asciz	"Failed to retrieve touchscreen parameters: %d\n"

L_.str.12:                              ## @.str.12
	.asciz	"max_x: %d, max_y: %d\n"

L_.str.13:                              ## @.str.13
	.asciz	"node_x: %d, node_y: %d, node_key: %d\n"

L_.str.14:                              ## @.str.14
	.asciz	"ppm_x: %d, ppm_y: %d\n"

	.comm	_MIP4_R0_EVENT,8,3              ## @MIP4_R0_EVENT
	.comm	_MIP4_R1_EVENT_SUPPORTED_FUNC,8,3 ## @MIP4_R1_EVENT_SUPPORTED_FUNC
L_.str.15:                              ## @.str.15
	.asciz	"Failed to retrieve device type: %d\n"

L_.str.16:                              ## @.str.16
	.asciz	"event_format: %d, event_size: %d\n"

L_.str.17:                              ## @.str.17
	.asciz	"Unknown event format %d\n"

	.no_dead_strip	_mip4_query_device
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mip4_query_device
_mip4_query_device:                     ; @mip4_query_device
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	ldr	x8, [x0, #72]
	ldp	w1, w0, [x8, #4]
Lloh3:
	adrp	x8, _I2C_SMBUS_READ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I2C_SMBUS_READ@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
Lloh6:
	adrp	x8, _I2C_SMBUS_BYTE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _I2C_SMBUS_BYTE@GOTPAGEOFF]
Lloh8:
	ldr	w5, [x8]
	add	x6, sp, #32
	mov	w2, #0
	mov	w4, #0
	bl	_i2c_smbus_xfer
	tbnz	x0, #63, LBB0_3
; %bb.1:
Lloh9:
	adrp	x20, _MIP4_R0_INFO@GOTPAGE
Lloh10:
	ldr	x20, [x20, _MIP4_R0_INFO@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh11:
	adrp	x9, _MIP4_R1_INFO_PRODUCT_NAME@GOTPAGE
Lloh12:
	ldr	x9, [x9, _MIP4_R1_INFO_PRODUCT_NAME@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	stp	x8, x9, [x29, #-40]
	ldr	x3, [x19]
	sub	x1, x29, #40
	mov	x0, x19
	mov	w2, #16
	mov	w4, #8
	bl	_mip4_i2c_xfer
	mov	x2, x0
	ldr	x0, [x19, #72]
	cbz	w2, LBB0_4
; %bb.2:
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_warn
	b	LBB0_5
LBB0_3:
	ldr	x0, [x19, #72]
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
Lloh18:
	adrp	x8, _ENXIO@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_24
LBB0_4:
	ldr	x8, [x19]
	str	x8, [sp]
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w2, #8
	bl	_dev_dbg
LBB0_5:
	ldr	x8, [x20]
Lloh23:
	adrp	x9, _MIP4_R1_INFO_PID@GOTPAGE
Lloh24:
	ldr	x9, [x9, _MIP4_R1_INFO_PID@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	stp	x8, x9, [x29, #-40]
	sub	x1, x29, #40
	add	x3, sp, #40
	mov	x0, x19
	mov	w2, #16
	mov	w4, #2
	bl	_mip4_i2c_xfer
	cbz	w0, LBB0_7
; %bb.6:
	mov	x2, x0
	ldr	x0, [x19, #72]
Lloh26:
	adrp	x1, l_.str.3@PAGE
Lloh27:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dev_warn
	b	LBB0_8
LBB0_7:
	add	x0, sp, #40
	bl	_get_unaligned_le16
	mov	x2, x0
	str	w2, [x19, #8]
	ldr	x0, [x19, #72]
Lloh28:
	adrp	x1, l_.str.4@PAGE
Lloh29:
	add	x1, x1, l_.str.4@PAGEOFF
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_dev_dbg
LBB0_8:
	ldr	w0, [x19, #128]
	ldr	w3, [x19, #8]
Lloh30:
	adrp	x2, l_.str.5@PAGE
Lloh31:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	w1, #4
	bl	_snprintf
	ldr	x0, [x19, #72]
	ldr	w2, [x19, #128]
Lloh32:
	adrp	x1, l_.str.6@PAGE
Lloh33:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_dev_dbg
	ldr	x8, [x20]
Lloh34:
	adrp	x9, _MIP4_R1_INFO_IC_NAME@GOTPAGE
Lloh35:
	ldr	x9, [x9, _MIP4_R1_INFO_IC_NAME@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	stp	x8, x9, [x29, #-40]
	ldr	x3, [x19, #16]
	sub	x1, x29, #40
	mov	x0, x19
	mov	w2, #16
	mov	w4, #8
	bl	_mip4_i2c_xfer
	mov	x2, x0
	ldr	x0, [x19, #72]
	cbz	w2, LBB0_10
; %bb.9:
Lloh37:
	adrp	x1, l_.str.7@PAGE
Lloh38:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_dev_warn
	b	LBB0_11
LBB0_10:
	ldr	x8, [x19, #16]
	str	x8, [sp]
Lloh39:
	adrp	x1, l_.str.8@PAGE
Lloh40:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	w2, #8
	bl	_dev_dbg
LBB0_11:
	mov	x0, x19
	bl	_mip4_get_fw_version
	mov	x2, x0
	ldr	x0, [x19, #72]
	cbz	w2, LBB0_13
; %bb.12:
Lloh41:
	adrp	x1, l_.str.9@PAGE
Lloh42:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_dev_warn
	b	LBB0_14
LBB0_13:
	ldp	w8, w2, [x19, #120]
	ldp	w10, w9, [x19, #112]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh43:
	adrp	x1, l_.str.10@PAGE
Lloh44:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_dev_dbg
LBB0_14:
	ldr	x8, [x20]
Lloh45:
	adrp	x9, _MIP4_R1_INFO_RESOLUTION_X@GOTPAGE
Lloh46:
	ldr	x9, [x9, _MIP4_R1_INFO_RESOLUTION_X@GOTPAGEOFF]
Lloh47:
	ldr	x9, [x9]
	stp	x8, x9, [x29, #-40]
	add	x20, sp, #40
	sub	x1, x29, #40
	add	x3, sp, #40
	mov	x0, x19
	mov	w2, #16
	mov	w4, #14
	bl	_mip4_i2c_xfer
	cbz	w0, LBB0_16
; %bb.15:
	mov	x2, x0
	ldr	x0, [x19, #72]
Lloh48:
	adrp	x1, l_.str.11@PAGE
Lloh49:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_dev_warn
	b	LBB0_18
LBB0_16:
	add	x0, sp, #40
	bl	_get_unaligned_le16
	str	w0, [x19, #24]
	add	x0, x20, #16
	bl	_get_unaligned_le16
	str	x0, [x19, #32]
	ldr	x8, [x19, #72]
	ldr	w2, [x19, #24]
	str	x0, [sp]
Lloh50:
	adrp	x1, l_.str.12@PAGE
Lloh51:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x8
	bl	_dev_dbg
	ldp	x2, x8, [sp, #72]
	stp	x8, x2, [x19, #96]
	ldr	x9, [sp, #88]
	str	x9, [x19, #80]
	ldr	x0, [x19, #72]
	stp	x8, x9, [sp]
Lloh52:
	adrp	x1, l_.str.13@PAGE
Lloh53:
	add	x1, x1, l_.str.13@PAGEOFF
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_dev_dbg
	ldr	w2, [sp, #136]
	str	w2, [x19, #40]
	ldr	x8, [sp, #144]
	str	x8, [x19, #48]
	ldr	x0, [x19, #72]
	str	x8, [sp]
Lloh54:
	adrp	x1, l_.str.14@PAGE
Lloh55:
	add	x1, x1, l_.str.14@PAGEOFF
	bl	_dev_dbg
	ldr	x8, [x19, #80]
	cbz	x8, LBB0_18
; %bb.17:
	str	x8, [x19, #88]
LBB0_18:
Lloh56:
	adrp	x8, _MIP4_R0_EVENT@GOTPAGE
Lloh57:
	ldr	x8, [x8, _MIP4_R0_EVENT@GOTPAGEOFF]
Lloh58:
	ldr	x8, [x8]
Lloh59:
	adrp	x9, _MIP4_R1_EVENT_SUPPORTED_FUNC@GOTPAGE
Lloh60:
	ldr	x9, [x9, _MIP4_R1_EVENT_SUPPORTED_FUNC@GOTPAGEOFF]
Lloh61:
	ldr	x9, [x9]
	stp	x8, x9, [x29, #-40]
	add	x20, sp, #40
	sub	x1, x29, #40
	add	x3, sp, #40
	mov	x0, x19
	mov	w2, #16
	mov	w4, #7
	bl	_mip4_i2c_xfer
	cbz	w0, LBB0_20
; %bb.19:
	mov	x2, x0
	ldr	x0, [x19, #72]
Lloh62:
	adrp	x1, l_.str.15@PAGE
Lloh63:
	add	x1, x1, l_.str.15@PAGEOFF
	bl	_dev_warn
	mov	w0, #0
	mov	w8, #255
	str	w8, [x19, #56]
	b	LBB0_24
LBB0_20:
	add	x0, x20, #32
	bl	_get_unaligned_le16
	mov	x2, x0
	str	w2, [x19, #56]
	ldr	x8, [sp, #88]
	str	x8, [x19, #64]
	ldr	x0, [x19, #72]
	str	x8, [sp]
Lloh64:
	adrp	x1, l_.str.16@PAGE
Lloh65:
	add	x1, x1, l_.str.16@PAGEOFF
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_dev_dbg
	ldr	w2, [x19, #56]
	cmp	w2, #2
	b.eq	LBB0_22
; %bb.21:
	cmp	w2, #4
	b.lt	LBB0_23
LBB0_22:
	ldr	x0, [x19, #72]
Lloh66:
	adrp	x1, l_.str.17@PAGE
Lloh67:
	add	x1, x1, l_.str.17@PAGEOFF
	bl	_dev_warn
LBB0_23:
	mov	w0, #0
LBB0_24:
	ldur	x8, [x29, #-24]
Lloh68:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh69:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh70:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_26
; %bb.25:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_26:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_SMBUS_READ,4,2             ; @I2C_SMBUS_READ
	.comm	_I2C_SMBUS_BYTE,4,2             ; @I2C_SMBUS_BYTE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nothing at this address\n"

	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_MIP4_R0_INFO,8,3               ; @MIP4_R0_INFO
	.comm	_MIP4_R1_INFO_PRODUCT_NAME,8,3  ; @MIP4_R1_INFO_PRODUCT_NAME
l_.str.1:                               ; @.str.1
	.asciz	"Failed to retrieve product name: %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"product name: %.*s\n"

	.comm	_MIP4_R1_INFO_PID,8,3           ; @MIP4_R1_INFO_PID
l_.str.3:                               ; @.str.3
	.asciz	"Failed to retrieve product id: %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"product id: %04X\n"

l_.str.5:                               ; @.str.5
	.asciz	"melfas_mip4_%04X.fw"

l_.str.6:                               ; @.str.6
	.asciz	"firmware name: %s\n"

	.comm	_MIP4_R1_INFO_IC_NAME,8,3       ; @MIP4_R1_INFO_IC_NAME
l_.str.7:                               ; @.str.7
	.asciz	"Failed to retrieve IC name: %d\n"

l_.str.8:                               ; @.str.8
	.asciz	"IC name: %.*s\n"

l_.str.9:                               ; @.str.9
	.asciz	"Failed to retrieve FW version: %d\n"

l_.str.10:                              ; @.str.10
	.asciz	"F/W Version: %04X %04X %04X %04X\n"

	.comm	_MIP4_R1_INFO_RESOLUTION_X,8,3  ; @MIP4_R1_INFO_RESOLUTION_X
l_.str.11:                              ; @.str.11
	.asciz	"Failed to retrieve touchscreen parameters: %d\n"

l_.str.12:                              ; @.str.12
	.asciz	"max_x: %d, max_y: %d\n"

l_.str.13:                              ; @.str.13
	.asciz	"node_x: %d, node_y: %d, node_key: %d\n"

l_.str.14:                              ; @.str.14
	.asciz	"ppm_x: %d, ppm_y: %d\n"

	.comm	_MIP4_R0_EVENT,8,3              ; @MIP4_R0_EVENT
	.comm	_MIP4_R1_EVENT_SUPPORTED_FUNC,8,3 ; @MIP4_R1_EVENT_SUPPORTED_FUNC
l_.str.15:                              ; @.str.15
	.asciz	"Failed to retrieve device type: %d\n"

l_.str.16:                              ; @.str.16
	.asciz	"event_format: %d, event_size: %d\n"

l_.str.17:                              ; @.str.17
	.asciz	"Unknown event format %d\n"

	.no_dead_strip	_mip4_query_device
.subsections_via_symbols
