	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function espi_setup_for_pm3393
_espi_setup_for_pm3393:                 ## @espi_setup_for_pm3393
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_t1_is_T1B
	testq	%rax, %rax
	movl	$12800, %eax                    ## imm = 0x3200
	movl	$16384, %r14d                   ## imm = 0x4000
	cmovel	%eax, %r14d
	movq	_A_ESPI_SCH_TOKEN0@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	movl	$500, %edi                      ## imm = 0x1F4
	callq	_writel
	movq	_A_ESPI_SCH_TOKEN1@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	movl	$500, %edi                      ## imm = 0x1F4
	callq	_writel
	movq	_A_ESPI_SCH_TOKEN2@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	movl	$500, %edi                      ## imm = 0x1F4
	callq	_writel
	movq	_A_ESPI_SCH_TOKEN3@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	movl	$500, %edi                      ## imm = 0x1F4
	callq	_writel
	movq	_A_ESPI_RX_FIFO_ALMOST_EMPTY_WATERMARK@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	movl	$256, %edi                      ## imm = 0x100
	callq	_writel
	movq	_A_ESPI_RX_FIFO_ALMOST_FULL_WATERMARK@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	movl	%r14d, %edi
	callq	_writel
	movq	_A_ESPI_CALENDAR_LENGTH@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	movl	$3, %edi
	callq	_writel
	movq	_A_ESPI_TRAIN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	movl	$134217736, %edi                ## imm = 0x8000008
	callq	_writel
	movl	$1, %edi
	callq	_V_RX_NPORTS
	movl	%eax, %ebx
	movl	$1, %edi
	callq	_V_TX_NPORTS
	orl	%eax, %ebx
	movq	_A_PORT_CONFIG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	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_SCH_TOKEN3,8,3          ## @A_ESPI_SCH_TOKEN3
	.comm	_A_ESPI_RX_FIFO_ALMOST_EMPTY_WATERMARK,8,3 ## @A_ESPI_RX_FIFO_ALMOST_EMPTY_WATERMARK
	.comm	_A_ESPI_RX_FIFO_ALMOST_FULL_WATERMARK,8,3 ## @A_ESPI_RX_FIFO_ALMOST_FULL_WATERMARK
	.comm	_A_ESPI_CALENDAR_LENGTH,8,3     ## @A_ESPI_CALENDAR_LENGTH
	.comm	_A_ESPI_TRAIN,8,3               ## @A_ESPI_TRAIN
	.comm	_A_PORT_CONFIG,8,3              ## @A_PORT_CONFIG
	.no_dead_strip	_espi_setup_for_pm3393
.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_pm3393
_espi_setup_for_pm3393:                 ; @espi_setup_for_pm3393
	.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
	bl	_t1_is_T1B
	cmp	x0, #0
	mov	w8, #16384
	mov	w9, #12800
	csel	w20, w9, w8, eq
	ldr	x8, [x19]
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
	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_SCH_TOKEN3@GOTPAGE
Lloh10:
	ldr	x9, [x9, _A_ESPI_SCH_TOKEN3@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #500
	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, #256
	bl	_writel
	ldr	x8, [x19]
Lloh15:
	adrp	x9, _A_ESPI_RX_FIFO_ALMOST_FULL_WATERMARK@GOTPAGE
Lloh16:
	ldr	x9, [x9, _A_ESPI_RX_FIFO_ALMOST_FULL_WATERMARK@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x20
	bl	_writel
	ldr	x8, [x19]
Lloh18:
	adrp	x9, _A_ESPI_CALENDAR_LENGTH@GOTPAGE
Lloh19:
	ldr	x9, [x9, _A_ESPI_CALENDAR_LENGTH@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #3
	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
	bl	_writel
	mov	w0, #1
	bl	_V_RX_NPORTS
	mov	x20, x0
	mov	w0, #1
	bl	_V_TX_NPORTS
	orr	w0, w0, w20
	ldr	x8, [x19]
Lloh24:
	adrp	x9, _A_PORT_CONFIG@GOTPAGE
Lloh25:
	ldr	x9, [x9, _A_PORT_CONFIG@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	add	x1, x9, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_writel
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.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_SCH_TOKEN3,8,3          ; @A_ESPI_SCH_TOKEN3
	.comm	_A_ESPI_RX_FIFO_ALMOST_EMPTY_WATERMARK,8,3 ; @A_ESPI_RX_FIFO_ALMOST_EMPTY_WATERMARK
	.comm	_A_ESPI_RX_FIFO_ALMOST_FULL_WATERMARK,8,3 ; @A_ESPI_RX_FIFO_ALMOST_FULL_WATERMARK
	.comm	_A_ESPI_CALENDAR_LENGTH,8,3     ; @A_ESPI_CALENDAR_LENGTH
	.comm	_A_ESPI_TRAIN,8,3               ; @A_ESPI_TRAIN
	.comm	_A_PORT_CONFIG,8,3              ; @A_PORT_CONFIG
	.no_dead_strip	_espi_setup_for_pm3393
.subsections_via_symbols
