	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ti_iodelay_pinconf_set
_ti_iodelay_pinconf_set:                ## @ti_iodelay_pinconf_set
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	24(%rdi), %r15
	movq	8(%rdi), %r12
	movslq	(%rsi), %rbx
	movl	4(%rsi), %eax
	movl	16(%rdi), %r8d
	cltd
	idivl	%r8d
	movl	%eax, %r13d
                                        ## kill: def $edx killed $edx def $rdx
	imulq	$1195121335, %rbx, %rcx         ## imm = 0x473C1AB7
	movq	%rcx, %rax
	shrq	$63, %rax
	sarq	$40, %rcx
	addl	%eax, %ecx
	imull	$920, %ecx, %eax                ## imm = 0x398
	subl	%eax, %ebx
	movswl	%bx, %eax
	imull	$10923, %eax, %eax              ## imm = 0x2AAB
	movl	%eax, %ebx
	shrl	$31, %ebx
	shrl	$16, %eax
	addl	%ebx, %eax
	movswl	%ax, %ebx
	addl	%edx, %edx
	leal	(%rdx,%rdx,4), %eax
	movl	20(%rdi), %r9d
	cltd
	idivl	%r9d
	addl	%ecx, %r13d
	addl	%ebx, %eax
	movslq	%eax, %rcx
	imulq	$1717986919, %rcx, %rax         ## imm = 0x66666667
	movq	%rax, %rdx
	shrq	$63, %rdx
	sarq	$34, %rax
	addl	%edx, %eax
	cmpl	$230, %ecx
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	jl	LBB0_2
## %bb.1:
	imull	%r8d, %r13d
	imull	%r9d, %eax
	addl	%r13d, %eax
                                        ## kill: def $eax killed $eax killed $rax
	cltd
	idivl	%r8d
	movl	%eax, %r13d
	movl	%edx, %eax
	cltd
	idivl	%r9d
                                        ## kill: def $eax killed $eax def $rax
LBB0_2:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%r15), %edi
	movl	4(%r15), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	%edi, -52(%rbp)                 ## 4-byte Spill
	callq	___ffs
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	8(%r15), %r14d
	movl	%r14d, %edi
	callq	___ffs
	movl	%r13d, -64(%rbp)                ## 4-byte Spill
	movl	%eax, %ecx
	shll	%cl, %r13d
	movl	8(%r15), %eax
	notl	%eax
	testl	%eax, %r13d
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movl	%r13d, %edx
	callq	_dev_err
	andl	8(%r15), %r13d
LBB0_4:
	movl	12(%r15), %edi
	movl	%edi, %ebx
	callq	___ffs
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%ecx, %r12d
	movl	%eax, %ecx
	shll	%cl, %r12d
	movl	12(%r15), %eax
	notl	%eax
	testl	%eax, %r12d
	je	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %edx
	callq	_dev_err
	andl	12(%r15), %r12d
LBB0_6:
	orl	-52(%rbp), %r14d                ## 4-byte Folded Reload
	orl	%ebx, %r14d
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
                                        ## kill: def $cl killed $cl killed $ecx
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	shll	%cl, %ebx
	orl	%ebx, %r13d
	movl	16(%r15), %edi
	movl	20(%r15), %r15d
	orl	%edi, %r14d
	callq	___ffs
	movl	%eax, %ecx
	shll	%cl, %r15d
	orl	%r12d, %r15d
	orl	%r13d, %r15d
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movl	8(%rbx), %esi
	movl	%r14d, %edx
	movl	%r15d, %ecx
	callq	_regmap_update_bits
	movl	%eax, %r14d
	movl	8(%rbx), %edx
	movl	(%rbx), %r8d
	movl	4(%rbx), %ecx
	leaq	L_.str.2(%rip), %rsi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	-64(%rbp), %r9d                 ## 4-byte Reload
	pushq	%r15
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	callq	_dev_dbg
	addq	$16, %rsp
	movl	%r14d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Masking overflow of coarse elements %08x\n"

L_.str.1:                               ## @.str.1
	.asciz	"Masking overflow of fine elements %08x\n"

L_.str.2:                               ## @.str.2
	.asciz	"Set reg 0x%x Delay(a: %d g: %d), Elements(C=%d F=%d)0x%x\n"

	.no_dead_strip	_ti_iodelay_pinconf_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ti_iodelay_pinconf_set
_ti_iodelay_pinconf_set:                ; @ti_iodelay_pinconf_set
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	mov	w8, #6839
	movk	w8, #18236, lsl #16
	ldp	w10, w11, [x1]
	smull	x8, w10, w8
	lsr	x12, x8, #63
	asr	x13, x8, #40
	mov	w14, #920
	ldp	w8, w9, [x0, #16]
	sdiv	w15, w11, w8
	add	w12, w13, w12
	add	w21, w15, w12
	msub	w10, w12, w14, w10
	ldr	x25, [x0, #24]
	sxth	w10, w10
	mov	w12, #10923
	mul	w10, w10, w12
	lsr	w12, w10, #16
	add	w10, w12, w10, lsr #31
	ldr	x22, [x0, #8]
	msub	w11, w15, w8, w11
	add	w11, w11, w11, lsl #2
	lsl	w11, w11, #1
	sdiv	w11, w11, w9
	add	w10, w11, w10, sxth
	mov	w11, #26215
	movk	w11, #26214, lsl #16
	smull	x11, w10, w11
	lsr	x12, x11, #63
	asr	x11, x11, #34
	add	w11, w11, w12
	cmp	w10, #230
	b.lt	LBB0_2
; %bb.1:
	mul	w10, w21, w8
	madd	w10, w11, w9, w10
	sdiv	w21, w10, w8
	msub	w8, w21, w8, w10
	sdiv	w8, w8, w9
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	b	LBB0_3
LBB0_2:
	str	w11, [sp, #12]                  ; 4-byte Folded Spill
LBB0_3:
	ldp	w24, w8, [x25]
	str	w8, [sp, #8]                    ; 4-byte Folded Spill
	mov	x0, x24
	bl	___ffs
	str	w0, [sp, #4]                    ; 4-byte Folded Spill
	ldr	w26, [x25, #8]
	mov	x0, x26
	bl	___ffs
	lsl	w27, w21, w0
	ldr	w8, [x25, #8]
	bics	wzr, w27, w8
	b.eq	LBB0_5
; %bb.4:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x23, x22
	mov	x0, x22
	mov	x2, x27
	bl	_dev_err
	ldr	w8, [x25, #8]
	and	w27, w8, w27
	b	LBB0_6
LBB0_5:
	mov	x23, x22
LBB0_6:
	ldr	w28, [x25, #12]
	mov	x0, x28
	bl	___ffs
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	lsl	w22, w8, w0
	ldr	w8, [x25, #12]
	bics	wzr, w22, w8
	b.eq	LBB0_8
; %bb.7:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x23
	mov	x2, x22
	bl	_dev_err
	ldr	w8, [x25, #12]
	and	w22, w8, w22
LBB0_8:
	orr	w8, w26, w24
	orr	w8, w8, w28
	ldp	w10, w9, [sp, #4]               ; 8-byte Folded Reload
	lsl	w9, w9, w10
	orr	w9, w27, w9
	orr	w24, w9, w22
	ldp	w0, w25, [x25, #16]
	orr	w22, w8, w0
	bl	___ffs
	lsl	w8, w25, w0
	orr	w24, w24, w8
	ldr	w0, [x20]
	ldr	w1, [x19, #8]
	mov	x2, x22
	mov	x3, x24
	bl	_regmap_update_bits
	mov	x20, x0
	ldp	w3, w2, [x19, #4]
	ldr	w4, [x19]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x23
	mov	x5, x21
	ldr	w6, [sp, #12]                   ; 4-byte Folded Reload
	mov	x7, x24
	bl	_dev_dbg
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Masking overflow of coarse elements %08x\n"

l_.str.1:                               ; @.str.1
	.asciz	"Masking overflow of fine elements %08x\n"

l_.str.2:                               ; @.str.2
	.asciz	"Set reg 0x%x Delay(a: %d g: %d), Elements(C=%d F=%d)0x%x\n"

	.no_dead_strip	_ti_iodelay_pinconf_set
.subsections_via_symbols
