	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function gpmc_omap_onenand_calc_sync_timings
LCPI0_0:
	.long	9600                            ## 0x2580
	.long	3000                            ## 0xbb8
	.long	4000                            ## 0xfa0
	.long	2000                            ## 0x7d0
LCPI0_1:
	.long	15000                           ## 0x3a98
	.long	6000                            ## 0x1770
	.long	5000                            ## 0x1388
	.long	2000                            ## 0x7d0
LCPI0_2:
	.long	12000                           ## 0x2ee0
	.long	5000                            ## 0x1388
	.long	4000                            ## 0xfa0
	.long	2000                            ## 0x7d0
LCPI0_3:
	.long	18500                           ## 0x4844
	.long	7000                            ## 0x1b58
	.long	7000                            ## 0x1b58
	.long	7000                            ## 0x1b58
LCPI0_4:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_gpmc_omap_onenand_calc_sync_timings:   ## @gpmc_omap_onenand_calc_sync_timings
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movq	%rsi, %r15
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	cmpl	$66, %edx
	je	LBB0_6
## %bb.1:
	cmpl	$104, %edx
	je	LBB0_2
## %bb.3:
	cmpl	$83, %edx
	jne	LBB0_7
## %bb.4:
	movaps	LCPI0_2(%rip), %xmm0            ## xmm0 = [12000,5000,4000,2000]
	movaps	%xmm0, -64(%rbp)                ## 16-byte Spill
	movl	$9000, %ebx                     ## imm = 0x2328
	jmp	LBB0_5
LBB0_6:
	movaps	LCPI0_1(%rip), %xmm0            ## xmm0 = [15000,6000,5000,2000]
	movaps	%xmm0, -64(%rbp)                ## 16-byte Spill
	movl	$11000, %ebx                    ## imm = 0x2AF8
LBB0_5:
	movl	$6000, %r13d                    ## imm = 0x1770
	movl	$6000, %r14d                    ## imm = 0x1770
	jmp	LBB0_8
LBB0_2:
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [9600,3000,4000,2000]
	movaps	%xmm0, -64(%rbp)                ## 16-byte Spill
	movl	$6000, %r14d                    ## imm = 0x1770
	movl	$3000, %r13d                    ## imm = 0xBB8
	movl	$6000, %ebx                     ## imm = 0x1770
	jmp	LBB0_8
LBB0_7:
	movaps	LCPI0_3(%rip), %xmm0            ## xmm0 = [18500,7000,7000,7000]
	movaps	%xmm0, -64(%rbp)                ## 16-byte Spill
	movl	$15000, %ebx                    ## imm = 0x3A98
	movl	$7000, %r14d                    ## imm = 0x1B58
	movl	$9000, %r13d                    ## imm = 0x2328
LBB0_8:
	leaq	-152(%rbp), %rdi
	xorl	%esi, %esi
	movl	$76, %edx
	callq	_memset
	cmpl	$0, (%r15)
	jne	LBB0_10
## %bb.9:
	movl	$12, %edi
	movl	$15, %esi
	callq	_max
	imull	$1000, %eax, %eax               ## imm = 0x3E8
	movl	%eax, -152(%rbp)
	movabsq	$128849018920000, %rax          ## imm = 0x753000009C40
	movq	%rax, -148(%rbp)
	movl	%r14d, -140(%rbp)
LBB0_10:
	movaps	LCPI0_4(%rip), %xmm0            ## xmm0 = [1,1,1,1]
	movups	%xmm0, -136(%rbp)
	movdqa	-64(%rbp), %xmm0                ## 16-byte Reload
	movd	%xmm0, %eax
	addl	%eax, %ebx
	movd	%xmm0, -120(%rbp)
	movdqu	%xmm0, -116(%rbp)
	movl	%r13d, -100(%rbp)
	incl	%r12d
	movl	%r12d, -96(%rbp)
	movabsq	$85899345940000, %rax           ## imm = 0x4E2000004E20
	movq	%rax, -92(%rbp)
	movl	$1, -84(%rbp)
	movl	%ebx, -80(%rbp)
	leaq	-152(%rbp), %rdx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_gpmc_calc_timings
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_gpmc_omap_onenand_calc_sync_timings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function gpmc_omap_onenand_calc_sync_timings
lCPI0_0:
	.long	9600                            ; 0x2580
	.long	3000                            ; 0xbb8
	.long	4000                            ; 0xfa0
	.long	2000                            ; 0x7d0
lCPI0_1:
	.long	15000                           ; 0x3a98
	.long	6000                            ; 0x1770
	.long	5000                            ; 0x1388
	.long	2000                            ; 0x7d0
lCPI0_2:
	.long	12000                           ; 0x2ee0
	.long	5000                            ; 0x1388
	.long	4000                            ; 0xfa0
	.long	2000                            ; 0x7d0
lCPI0_3:
	.long	18500                           ; 0x4844
	.long	7000                            ; 0x1b58
	.long	7000                            ; 0x1b58
	.long	7000                            ; 0x1b58
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
lCPI0_4:
	.long	40000                           ; 0x9c40
	.long	30000                           ; 0x7530
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_gpmc_omap_onenand_calc_sync_timings:   ; @gpmc_omap_onenand_calc_sync_timings
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	mov	x21, x3
	mov	x19, x1
	mov	x20, x0
	cmp	w2, #66
	b.eq	LBB0_4
; %bb.1:
	cmp	w2, #104
	b.eq	LBB0_6
; %bb.2:
	cmp	w2, #83
	b.ne	LBB0_7
; %bb.3:
Lloh0:
	adrp	x8, lCPI0_2@PAGE
Lloh1:
	ldr	q0, [x8, lCPI0_2@PAGEOFF]
	str	q0, [sp]                        ; 16-byte Folded Spill
	mov	w22, #9000
	b	LBB0_5
LBB0_4:
Lloh2:
	adrp	x8, lCPI0_1@PAGE
Lloh3:
	ldr	q0, [x8, lCPI0_1@PAGEOFF]
	str	q0, [sp]                        ; 16-byte Folded Spill
	mov	w22, #11000
LBB0_5:
	mov	w23, #6000
	mov	w24, #6000
	b	LBB0_8
LBB0_6:
Lloh4:
	adrp	x8, lCPI0_0@PAGE
Lloh5:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	str	q0, [sp]                        ; 16-byte Folded Spill
	mov	w24, #6000
	mov	w23, #3000
	mov	w22, #6000
	b	LBB0_8
LBB0_7:
Lloh6:
	adrp	x8, lCPI0_3@PAGE
Lloh7:
	ldr	q0, [x8, lCPI0_3@PAGEOFF]
	str	q0, [sp]                        ; 16-byte Folded Spill
	mov	w22, #15000
	mov	w24, #7000
	mov	w23, #9000
LBB0_8:
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #76
	bl	_memset
	ldr	w8, [x19]
	cbnz	w8, LBB0_10
; %bb.9:
	mov	w0, #12
	mov	w1, #15
	bl	_max
	mov	w8, #1000
	mul	w8, w0, w8
	str	w8, [sp, #16]
Lloh8:
	adrp	x8, lCPI0_4@PAGE
Lloh9:
	ldr	d0, [x8, lCPI0_4@PAGEOFF]
	stur	d0, [sp, #20]
	str	w24, [sp, #28]
LBB0_10:
	mov	w8, #20000
	dup.2s	v0, w8
	movi.4s	v1, #1
	str	q1, [sp, #32]
	ldr	q1, [sp]                        ; 16-byte Folded Reload
	fmov	w8, s1
	str	s1, [sp, #48]
	stur	q1, [sp, #52]
	add	w9, w21, #1
	stp	w23, w9, [sp, #68]
	stur	d0, [sp, #76]
	mov	w9, #1
	add	w8, w22, w8
	stp	w9, w8, [sp, #84]
	add	x2, sp, #16
	mov	x0, x20
	mov	x1, x19
	bl	_gpmc_calc_timings
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpLdr	Lloh4, Lloh5
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdr	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_gpmc_omap_onenand_calc_sync_timings
.subsections_via_symbols
