	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ti_iodelay_node_iterator
_ti_iodelay_node_iterator:              ## @ti_iodelay_node_iterator
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movl	%r8d, %r13d
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	callq	_pinctrl_dev_get_drvdata
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %rbx
	movq	16(%rax), %rax
	movq	(%r14), %rdx
	cmpq	(%rax), %rdx
	jge	LBB0_4
## %bb.2:
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_4:
	movq	8(%r14), %rax
	movl	(%rax), %esi
	movslq	%r13d, %r13
	leaq	(,%r13,2), %r14
	addq	%r13, %r14
	leaq	(%r12,%r14,4), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	%esi, (%r12,%r14,4)
	movzwl	4(%rax), %ecx
	movl	%ecx, 4(%r12,%r14,4)
	movzwl	8(%rax), %eax
	movl	%eax, 8(%r12,%r14,4)
	movq	%rbx, %rdi
	callq	_ti_iodelay_offset_to_pin
	testl	%eax, %eax
	js	LBB0_6
## %bb.5:
	leaq	(%r12,%r14,4), %rdx
	addq	$4, %rdx
	movl	%eax, (%r15,%r13,4)
	movq	8(%rbx), %rcx
	movl	%eax, %eax
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%rsi, (%rcx,%rax,8)
	movl	(%rbx), %edi
	movl	(%rsi), %ecx
	movl	(%rdx), %r8d
	movl	4(%rdx), %r9d
	leaq	L_.str.2(%rip), %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_dev_dbg
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_6:
	movl	(%rbx), %edi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ecx
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_7:
	subl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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	"invalid args_count for spec: %i\n"

L_.str.1:                               ## @.str.1
	.asciz	"could not add functions for %pOFn %ux\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.2:                               ## @.str.2
	.asciz	"%pOFn offset=%x a_delay = %d g_delay = %d\n"

	.no_dead_strip	_ti_iodelay_node_iterator
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ti_iodelay_node_iterator
_ti_iodelay_node_iterator:              ; @ti_iodelay_node_iterator
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x23, x5
	mov	x21, x4
	mov	x20, x3
	mov	x24, x2
	mov	x19, x1
	bl	_pinctrl_dev_get_drvdata
	cbz	x0, LBB0_3
; %bb.1:
	mov	x22, x0
	ldr	x8, [x0, #16]
	ldr	x2, [x24]
	ldr	x8, [x8]
	cmp	x2, x8
	b.ge	LBB0_5
; %bb.2:
	ldr	w0, [x22]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
LBB0_3:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_7
LBB0_5:
	ldr	x8, [x24, #8]
	ldr	w1, [x8]
	mov	w9, #12
	smaddl	x23, w21, w9, x23
	str	w1, [x23]
	ldrh	w9, [x8, #4]
	mov	x24, x23
	str	w9, [x24, #4]!
	ldrh	w8, [x8, #8]
	mov	x25, x23
	str	w8, [x25, #8]!
	mov	x0, x22
	bl	_ti_iodelay_offset_to_pin
	tbnz	w0, #31, LBB0_8
; %bb.6:
	sxtw	x8, w21
	str	w0, [x20, x8, lsl #2]
	ldr	x8, [x22, #8]
	str	x23, [x8, w0, uxtw #3]
	ldr	w0, [x22]
	ldr	w3, [x23]
	ldr	w4, [x24]
	ldr	w5, [x25]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x19
	bl	_dev_dbg
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_8:
	ldr	w0, [x22]
	ldr	w8, [x23]
	str	x8, [sp]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x19
	bl	_dev_err
Lloh8:
	adrp	x8, _ENODEV@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid args_count for spec: %i\n"

l_.str.1:                               ; @.str.1
	.asciz	"could not add functions for %pOFn %ux\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.2:                               ; @.str.2
	.asciz	"%pOFn offset=%x a_delay = %d g_delay = %d\n"

	.no_dead_strip	_ti_iodelay_node_iterator
.subsections_via_symbols
