	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stm32_fmc2_timings_init
_stm32_fmc2_timings_init:               ## @stm32_fmc2_timings_init
	.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	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_to_stm32_nfc
	movq	%rax, %r14
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_to_fmc2_nand
	movq	%rax, %r13
	movq	_FMC2_PCR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r14), %rdi
	callq	_readl_relaxed
	movq	_FMC2_PCR_TCLR_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movl	28(%r13), %edi
	callq	_FMC2_PCR_TCLR
	orl	%eax, %ebx
	movq	_FMC2_PCR_TAR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	notl	%r15d
	andl	%ebx, %r15d
	movl	24(%r13), %edi
	callq	_FMC2_PCR_TAR
	orl	%eax, %r15d
	movl	20(%r13), %edi
	callq	_FMC2_PMEM_MEMSET
	movl	%eax, %ebx
	movl	8(%r13), %edi
	callq	_FMC2_PMEM_MEMWAIT
	orl	%eax, %ebx
	movl	16(%r13), %edi
	callq	_FMC2_PMEM_MEMHOLD
	movl	%eax, %r14d
	movl	(%r13), %edi
	callq	_FMC2_PMEM_MEMHIZ
	orl	%eax, %r14d
	orl	%ebx, %r14d
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movl	12(%r13), %edi
	callq	_FMC2_PATT_ATTSET
	movl	%eax, %r14d
	movl	8(%r13), %edi
	callq	_FMC2_PATT_ATTWAIT
	orl	%eax, %r14d
	movl	4(%r13), %edi
	callq	_FMC2_PATT_ATTHOLD
	movl	%eax, %r12d
	movl	(%r13), %edi
	callq	_FMC2_PATT_ATTHIZ
	orl	%eax, %r12d
	orl	%r14d, %r12d
	movq	_FMC2_PCR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	addq	(%rbx), %rsi
	movl	%r15d, %edi
	callq	_writel_relaxed
	movq	_FMC2_PMEM@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_writel_relaxed
	movq	_FMC2_PATT@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	movl	%r12d, %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel_relaxed                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FMC2_PCR,8,3                   ## @FMC2_PCR
	.comm	_FMC2_PCR_TCLR_MASK,4,2         ## @FMC2_PCR_TCLR_MASK
	.comm	_FMC2_PCR_TAR_MASK,4,2          ## @FMC2_PCR_TAR_MASK
	.comm	_FMC2_PMEM,8,3                  ## @FMC2_PMEM
	.comm	_FMC2_PATT,8,3                  ## @FMC2_PATT
	.no_dead_strip	_stm32_fmc2_timings_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stm32_fmc2_timings_init
_stm32_fmc2_timings_init:               ; @stm32_fmc2_timings_init
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x0
	ldr	w0, [x0]
	bl	_to_stm32_nfc
	mov	x19, x0
	mov	x0, x20
	bl	_to_fmc2_nand
	mov	x20, x0
	ldr	x8, [x19]
Lloh0:
	adrp	x24, _FMC2_PCR@GOTPAGE
Lloh1:
	ldr	x24, [x24, _FMC2_PCR@GOTPAGEOFF]
	ldr	x9, [x24]
	add	x0, x9, x8
	bl	_readl_relaxed
Lloh2:
	adrp	x8, _FMC2_PCR_TCLR_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FMC2_PCR_TCLR_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	bic	w21, w0, w8
	ldr	w0, [x20, #28]
	bl	_FMC2_PCR_TCLR
	orr	w8, w0, w21
Lloh5:
	adrp	x9, _FMC2_PCR_TAR_MASK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _FMC2_PCR_TAR_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	bic	w21, w8, w9
	ldr	w0, [x20, #24]
	bl	_FMC2_PCR_TAR
	orr	w21, w0, w21
	ldr	w0, [x20, #20]
	bl	_FMC2_PMEM_MEMSET
	mov	x22, x0
	ldr	w0, [x20, #8]
	bl	_FMC2_PMEM_MEMWAIT
	orr	w22, w0, w22
	ldr	w0, [x20, #16]
	bl	_FMC2_PMEM_MEMHOLD
	orr	w22, w22, w0
	ldr	w0, [x20]
	bl	_FMC2_PMEM_MEMHIZ
	orr	w22, w22, w0
	ldr	w0, [x20, #12]
	bl	_FMC2_PATT_ATTSET
	mov	x23, x0
	ldr	w0, [x20, #8]
	bl	_FMC2_PATT_ATTWAIT
	orr	w23, w0, w23
	ldr	w0, [x20, #4]
	bl	_FMC2_PATT_ATTHOLD
	orr	w23, w23, w0
	ldr	w0, [x20]
	bl	_FMC2_PATT_ATTHIZ
	orr	w20, w23, w0
	ldr	x8, [x19]
	ldr	x9, [x24]
	add	x1, x9, x8
	mov	x0, x21
	bl	_writel_relaxed
	ldr	x8, [x19]
Lloh8:
	adrp	x9, _FMC2_PMEM@GOTPAGE
Lloh9:
	ldr	x9, [x9, _FMC2_PMEM@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x22
	bl	_writel_relaxed
	ldr	x8, [x19]
Lloh11:
	adrp	x9, _FMC2_PATT@GOTPAGE
Lloh12:
	ldr	x9, [x9, _FMC2_PATT@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_writel_relaxed
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_FMC2_PCR,8,3                   ; @FMC2_PCR
	.comm	_FMC2_PCR_TCLR_MASK,4,2         ; @FMC2_PCR_TCLR_MASK
	.comm	_FMC2_PCR_TAR_MASK,4,2          ; @FMC2_PCR_TAR_MASK
	.comm	_FMC2_PMEM,8,3                  ; @FMC2_PMEM
	.comm	_FMC2_PATT,8,3                  ; @FMC2_PATT
	.no_dead_strip	_stm32_fmc2_timings_init
.subsections_via_symbols
