	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function espi_setup_for_vsc7321
_espi_setup_for_vsc7321:                ## @espi_setup_for_vsc7321
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_A_ESPI_SCH_TOKEN0@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rdi), %rsi
	movl	$500, %edi                      ## imm = 0x1F4
	callq	_writel
	movq	_A_ESPI_SCH_TOKEN1@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	movl	$32768500, %edi                 ## imm = 0x1F401F4
	callq	_writel
	movq	_A_ESPI_SCH_TOKEN2@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	movl	$500, %edi                      ## imm = 0x1F4
	callq	_writel
	movq	_A_ESPI_RX_FIFO_ALMOST_FULL_WATERMARK@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	movl	$2560, %edi                     ## imm = 0xA00
	callq	_writel
	movq	_A_ESPI_RX_FIFO_ALMOST_EMPTY_WATERMARK@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	movl	$511, %edi                      ## imm = 0x1FF
	callq	_writel
	movq	_A_ESPI_CALENDAR_LENGTH@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	movl	$1, %edi
	callq	_writel
	movl	$4, %edi
	callq	_V_RX_NPORTS
	movl	%eax, %ebx
	movl	$4, %edi
	callq	_V_TX_NPORTS
	orl	%eax, %ebx
	movq	_A_PORT_CONFIG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	movl	%ebx, %edi
	callq	_writel
	movq	_A_ESPI_TRAIN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	movl	$134217736, %edi                ## imm = 0x8000008
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_A_ESPI_SCH_TOKEN0,8,3          ## @A_ESPI_SCH_TOKEN0
	.comm	_A_ESPI_SCH_TOKEN1,8,3          ## @A_ESPI_SCH_TOKEN1
	.comm	_A_ESPI_SCH_TOKEN2,8,3          ## @A_ESPI_SCH_TOKEN2
	.comm	_A_ESPI_RX_FIFO_ALMOST_FULL_WATERMARK,8,3 ## @A_ESPI_RX_FIFO_ALMOST_FULL_WATERMARK
	.comm	_A_ESPI_RX_FIFO_ALMOST_EMPTY_WATERMARK,8,3 ## @A_ESPI_RX_FIFO_ALMOST_EMPTY_WATERMARK
	.comm	_A_ESPI_CALENDAR_LENGTH,8,3     ## @A_ESPI_CALENDAR_LENGTH
	.comm	_A_PORT_CONFIG,8,3              ## @A_PORT_CONFIG
	.comm	_A_ESPI_TRAIN,8,3               ## @A_ESPI_TRAIN
	.no_dead_strip	_espi_setup_for_vsc7321
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function espi_setup_for_vsc7321
_espi_setup_for_vsc7321:                ; @espi_setup_for_vsc7321
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _A_ESPI_SCH_TOKEN0@GOTPAGE
Lloh1:
	ldr	x9, [x9, _A_ESPI_SCH_TOKEN0@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #500
	bl	_writel
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _A_ESPI_SCH_TOKEN1@GOTPAGE
Lloh4:
	ldr	x9, [x9, _A_ESPI_SCH_TOKEN1@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #500
	movk	w0, #500, lsl #16
	bl	_writel
	ldr	x8, [x19]
Lloh6:
	adrp	x9, _A_ESPI_SCH_TOKEN2@GOTPAGE
Lloh7:
	ldr	x9, [x9, _A_ESPI_SCH_TOKEN2@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #500
	bl	_writel
	ldr	x8, [x19]
Lloh9:
	adrp	x9, _A_ESPI_RX_FIFO_ALMOST_FULL_WATERMARK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _A_ESPI_RX_FIFO_ALMOST_FULL_WATERMARK@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #2560
	bl	_writel
	ldr	x8, [x19]
Lloh12:
	adrp	x9, _A_ESPI_RX_FIFO_ALMOST_EMPTY_WATERMARK@GOTPAGE
Lloh13:
	ldr	x9, [x9, _A_ESPI_RX_FIFO_ALMOST_EMPTY_WATERMARK@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #511
	bl	_writel
	ldr	x8, [x19]
Lloh15:
	adrp	x9, _A_ESPI_CALENDAR_LENGTH@GOTPAGE
Lloh16:
	ldr	x9, [x9, _A_ESPI_CALENDAR_LENGTH@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #1
	bl	_writel
	mov	w0, #4
	bl	_V_RX_NPORTS
	mov	x20, x0
	mov	w0, #4
	bl	_V_TX_NPORTS
	orr	w0, w0, w20
	ldr	x8, [x19]
Lloh18:
	adrp	x9, _A_PORT_CONFIG@GOTPAGE
Lloh19:
	ldr	x9, [x9, _A_PORT_CONFIG@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19]
Lloh21:
	adrp	x9, _A_ESPI_TRAIN@GOTPAGE
Lloh22:
	ldr	x9, [x9, _A_ESPI_TRAIN@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #8
	movk	w0, #2048, lsl #16
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_writel
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_A_ESPI_SCH_TOKEN0,8,3          ; @A_ESPI_SCH_TOKEN0
	.comm	_A_ESPI_SCH_TOKEN1,8,3          ; @A_ESPI_SCH_TOKEN1
	.comm	_A_ESPI_SCH_TOKEN2,8,3          ; @A_ESPI_SCH_TOKEN2
	.comm	_A_ESPI_RX_FIFO_ALMOST_FULL_WATERMARK,8,3 ; @A_ESPI_RX_FIFO_ALMOST_FULL_WATERMARK
	.comm	_A_ESPI_RX_FIFO_ALMOST_EMPTY_WATERMARK,8,3 ; @A_ESPI_RX_FIFO_ALMOST_EMPTY_WATERMARK
	.comm	_A_ESPI_CALENDAR_LENGTH,8,3     ; @A_ESPI_CALENDAR_LENGTH
	.comm	_A_PORT_CONFIG,8,3              ; @A_PORT_CONFIG
	.comm	_A_ESPI_TRAIN,8,3               ; @A_ESPI_TRAIN
	.no_dead_strip	_espi_setup_for_vsc7321
.subsections_via_symbols
