	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mms114_parse_legacy_bindings
_mms114_parse_legacy_bindings:          ## @mms114_parse_legacy_bindings
	.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, %r14
	movq	32(%rdi), %rbx
	leaq	24(%rdi), %rdx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_property_read_u32
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_2
LBB0_3:
	leaq	20(%r14), %rdx
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_property_read_u32
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.3(%rip), %rsi
LBB0_2:
	movq	%rbx, %rdi
	callq	_dev_dbg
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	leaq	4(%r14), %rdx
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_property_read_u32
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_device_property_read_u32
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_property_read_bool
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movl	$1, 8(%r14)
LBB0_7:
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_property_read_bool
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movl	$1, 12(%r14)
LBB0_9:
	movl	$0, 16(%r14)
	xorl	%eax, %eax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"x-size"

L_.str.1:                               ## @.str.1
	.asciz	"failed to get legacy x-size property\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.2:                               ## @.str.2
	.asciz	"y-size"

L_.str.3:                               ## @.str.3
	.asciz	"failed to get legacy y-size property\n"

L_.str.4:                               ## @.str.4
	.asciz	"contact-threshold"

L_.str.5:                               ## @.str.5
	.asciz	"moving-threshold"

L_.str.6:                               ## @.str.6
	.asciz	"x-invert"

L_.str.7:                               ## @.str.7
	.asciz	"y-invert"

	.no_dead_strip	_mms114_parse_legacy_bindings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mms114_parse_legacy_bindings
_mms114_parse_legacy_bindings:          ; @mms114_parse_legacy_bindings
	.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
	ldr	x20, [x0, #32]
	add	x2, x0, #24
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_device_property_read_u32
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_2:
	add	x2, x19, #20
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_device_property_read_u32
	cbz	x0, LBB0_6
; %bb.3:
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_4:
	mov	x0, x20
	bl	_dev_dbg
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	add	x2, x19, #4
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_device_property_read_u32
Lloh13:
	adrp	x1, l_.str.5@PAGE
Lloh14:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_device_property_read_u32
Lloh15:
	adrp	x1, l_.str.6@PAGE
Lloh16:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_device_property_read_bool
	cbz	x0, LBB0_8
; %bb.7:
	mov	w8, #1
	str	w8, [x19, #8]
LBB0_8:
Lloh17:
	adrp	x1, l_.str.7@PAGE
Lloh18:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	_device_property_read_bool
	cbz	x0, LBB0_10
; %bb.9:
	mov	w8, #1
	str	w8, [x19, #12]
LBB0_10:
	mov	w0, #0
	str	wzr, [x19, #16]
	b	LBB0_5
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"x-size"

l_.str.1:                               ; @.str.1
	.asciz	"failed to get legacy x-size property\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.2:                               ; @.str.2
	.asciz	"y-size"

l_.str.3:                               ; @.str.3
	.asciz	"failed to get legacy y-size property\n"

l_.str.4:                               ; @.str.4
	.asciz	"contact-threshold"

l_.str.5:                               ; @.str.5
	.asciz	"moving-threshold"

l_.str.6:                               ; @.str.6
	.asciz	"x-invert"

l_.str.7:                               ; @.str.7
	.asciz	"y-invert"

	.no_dead_strip	_mms114_parse_legacy_bindings
.subsections_via_symbols
