	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function titsc_parse_dt
_titsc_parse_dt:                        ## @titsc_parse_dt
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.3:
	movq	%rsi, %r14
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_of_property_read_u32
	testl	%eax, %eax
	js	LBB0_2
## %bb.4:
	movl	(%r14), %eax
	cmpl	$8, %eax
	ja	LBB0_1
## %bb.5:
	movl	$304, %ecx                      ## imm = 0x130
	btl	%eax, %ecx
	jae	LBB0_1
## %bb.6:
	leaq	4(%r14), %rdx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_of_property_read_u32
	testl	%eax, %eax
	js	LBB0_2
## %bb.7:
	leaq	8(%r14), %r12
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r12, %rdx
	callq	_of_property_read_u32
	testl	%eax, %eax
	jns	LBB0_9
## %bb.8:
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_warn
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r12, %rdx
	callq	_of_property_read_u32
	testl	%eax, %eax
	js	LBB0_2
LBB0_9:
	cmpl	$0, (%r12)
	jg	LBB0_11
## %bb.10:
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_warn
	movl	$5, (%r12)
LBB0_11:
	leaq	12(%r14), %r12
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r12, %rdx
	callq	_of_property_read_u32
	testl	%eax, %eax
	jns	LBB0_13
## %bb.12:
	movq	_CHARGEDLY_OPENDLY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
	leaq	L_.str.7(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_warn
LBB0_13:
	movl	16(%r14), %r14d
	movl	%r14d, %edi
	callq	_ARRAY_SIZE
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	movl	%eax, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_of_property_read_u32_array     ## TAILCALL
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_2:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ti,wires"

L_.str.1:                               ## @.str.1
	.asciz	"ti,x-plate-resistance"

L_.str.2:                               ## @.str.2
	.asciz	"ti,coordinate-readouts"

L_.str.3:                               ## @.str.3
	.asciz	"please use 'ti,coordinate-readouts' instead\n"

L_.str.4:                               ## @.str.4
	.asciz	"ti,coordiante-readouts"

L_.str.5:                               ## @.str.5
	.asciz	"invalid co-ordinate readouts, resetting it to 5\n"

L_.str.6:                               ## @.str.6
	.asciz	"ti,charge-delay"

	.comm	_CHARGEDLY_OPENDLY,4,2          ## @CHARGEDLY_OPENDLY
L_.str.7:                               ## @.str.7
	.asciz	"ti,charge-delay not specified\n"

L_.str.8:                               ## @.str.8
	.asciz	"ti,wire-config"

	.no_dead_strip	_titsc_parse_dt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function titsc_parse_dt
_titsc_parse_dt:                        ; @titsc_parse_dt
	.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
	ldr	x19, [x0]
	cbz	x19, LBB0_11
; %bb.1:
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_of_property_read_u32
	tbnz	w0, #31, LBB0_12
; %bb.2:
	ldr	w8, [x20]
	cmp	w8, #8
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #304
	and	w8, w8, w9
	ccmp	w8, #0, #4, ls
	b.eq	LBB0_11
; %bb.3:
	add	x2, x20, #4
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_of_property_read_u32
	tbnz	w0, #31, LBB0_12
; %bb.4:
	add	x22, x20, #8
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	bl	_of_property_read_u32
	tbz	w0, #31, LBB0_6
; %bb.5:
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_dev_warn
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	bl	_of_property_read_u32
	tbnz	w0, #31, LBB0_12
LBB0_6:
	ldr	w8, [x22]
	cmp	w8, #0
	b.gt	LBB0_8
; %bb.7:
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	bl	_dev_warn
	mov	w8, #5
	str	w8, [x22]
LBB0_8:
	add	x22, x20, #12
Lloh12:
	adrp	x1, l_.str.6@PAGE
Lloh13:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	bl	_of_property_read_u32
	tbz	w0, #31, LBB0_10
; %bb.9:
Lloh14:
	adrp	x8, _CHARGEDLY_OPENDLY@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CHARGEDLY_OPENDLY@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x22]
Lloh17:
	adrp	x1, l_.str.7@PAGE
Lloh18:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x21
	bl	_dev_warn
LBB0_10:
	ldr	w20, [x20, #16]
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x3, x0
Lloh19:
	adrp	x1, l_.str.8@PAGE
Lloh20:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	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	_of_property_read_u32_array
LBB0_11:
Lloh21:
	adrp	x8, _EINVAL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_12:
	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
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ti,wires"

l_.str.1:                               ; @.str.1
	.asciz	"ti,x-plate-resistance"

l_.str.2:                               ; @.str.2
	.asciz	"ti,coordinate-readouts"

l_.str.3:                               ; @.str.3
	.asciz	"please use 'ti,coordinate-readouts' instead\n"

l_.str.4:                               ; @.str.4
	.asciz	"ti,coordiante-readouts"

l_.str.5:                               ; @.str.5
	.asciz	"invalid co-ordinate readouts, resetting it to 5\n"

l_.str.6:                               ; @.str.6
	.asciz	"ti,charge-delay"

	.comm	_CHARGEDLY_OPENDLY,4,2          ; @CHARGEDLY_OPENDLY
l_.str.7:                               ; @.str.7
	.asciz	"ti,charge-delay not specified\n"

l_.str.8:                               ; @.str.8
	.asciz	"ti,wire-config"

	.no_dead_strip	_titsc_parse_dt
.subsections_via_symbols
