	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_port_to_tc               ## -- Begin function intel_port_to_tc
	.p2align	4, 0x90
_intel_port_to_tc:                      ## @intel_port_to_tc
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_intel_port_to_phy
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_intel_phy_is_tc
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_INTEL_GEN
	cmpl	$12, %eax
	jl	LBB0_4
## %bb.3:
	movq	_PORT_D@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	movq	_PORT_TC_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_6
LBB0_4:
	movq	_PORT_C@GOTPCREL(%rip), %rax
LBB0_5:
	subl	(%rax), %r14d
LBB0_6:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PORT_TC_NONE,4,2               ## @PORT_TC_NONE
	.comm	_PORT_D,4,2                     ## @PORT_D
	.comm	_PORT_C,4,2                     ## @PORT_C
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_port_to_tc               ; -- Begin function intel_port_to_tc
	.p2align	2
_intel_port_to_tc:                      ; @intel_port_to_tc
	.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, x1
	mov	x20, x0
	bl	_intel_port_to_phy
	mov	x1, x0
	mov	x0, x20
	bl	_intel_phy_is_tc
	cbz	w0, LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_INTEL_GEN
	cmp	w0, #12
	b.lt	LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _PORT_D@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PORT_D@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
Lloh2:
	adrp	x8, _PORT_TC_NONE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PORT_TC_NONE@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	b	LBB0_6
LBB0_4:
Lloh5:
	adrp	x8, _PORT_C@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PORT_C@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	sub	w0, w19, w8
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_PORT_TC_NONE,4,2               ; @PORT_TC_NONE
	.comm	_PORT_D,4,2                     ; @PORT_D
	.comm	_PORT_C,4,2                     ; @PORT_C
.subsections_via_symbols
