	.file	"extr_wcove.c_wcove_to_typec_cc.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	wcove_to_typec_cc, @function
wcove_to_typec_cc:
.LFB0:
	.cfi_startproc
	endbr64
	test	DWORD PTR UCSC_CC_STATUS_SNK_RP[rip], edi
	je	.L2
	test	DWORD PTR UCSC_CC_STATUS_PWRDEFSNK[rip], edi
	jne	.L19
	test	DWORD PTR UCSC_CC_STATUS_PWR_1P5A_SNK[rip], edi
	jne	.L20
	test	DWORD PTR UCSC_CC_STATUS_PWR_3A_SNK[rip], edi
	jne	.L21
	mov	eax, DWORD PTR TYPEC_CC_OPEN[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L19:
	mov	eax, DWORD PTR TYPEC_CC_RP_DEF[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	call	UCSC_CC_STATUS_RX@PLT
	mov	edx, eax
	mov	eax, DWORD PTR TYPEC_CC_RD[rip]
	cmp	edx, 128
	je	.L1
	mov	eax, DWORD PTR TYPEC_CC_RA[rip]
	cmp	edx, 129
	je	.L1
	mov	eax, DWORD PTR TYPEC_CC_OPEN[rip]
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L21:
	mov	eax, DWORD PTR TYPEC_CC_RP_3_0[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L20:
	mov	eax, DWORD PTR TYPEC_CC_RP_1_5[rip]
	ret
	.cfi_endproc
.LFE0:
	.size	wcove_to_typec_cc, .-wcove_to_typec_cc
	.comm	UCSC_CC_STATUS_SNK_RP,4,4
	.comm	UCSC_CC_STATUS_PWR_3A_SNK,4,4
	.comm	UCSC_CC_STATUS_PWR_1P5A_SNK,4,4
	.comm	UCSC_CC_STATUS_PWRDEFSNK,4,4
	.comm	TYPEC_CC_RP_DEF,4,4
	.comm	TYPEC_CC_RP_3_0,4,4
	.comm	TYPEC_CC_RP_1_5,4,4
	.comm	TYPEC_CC_RD,4,4
	.comm	TYPEC_CC_RA,4,4
	.comm	TYPEC_CC_OPEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_wcove.c_wcove_to_typec_cc.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wcove_to_typec_cc, %function
wcove_to_typec_cc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L20
	ldr	r2, [r2]
	tst	r0, r2
	beq	.L2
	ldr	r2, .L20+4
	ldr	r2, [r2]
	tst	r0, r2
	bne	.L17
	ldr	r2, .L20+8
	ldr	r2, [r2]
	tst	r0, r2
	bne	.L18
	ldr	r2, .L20+12
	ldr	r2, [r2]
	tst	r0, r2
	bne	.L19
	ldr	r3, .L20+16
	ldr	r0, [r3]
	bx	lr
.L17:
	ldr	r3, .L20+20
	ldr	r0, [r3]
	bx	lr
.L2:
	push	{r4, lr}
	bl	UCSC_CC_STATUS_RX
	cmp	r0, #128
	beq	.L7
	cmp	r0, #129
	beq	.L8
	ldr	r3, .L20+16
	ldr	r0, [r3]
	pop	{r4, pc}
.L8:
	ldr	r3, .L20+24
	ldr	r0, [r3]
	pop	{r4, pc}
.L19:
	ldr	r3, .L20+28
	ldr	r0, [r3]
	bx	lr
.L18:
	ldr	r3, .L20+32
	ldr	r0, [r3]
	bx	lr
.L7:
	ldr	r3, .L20+36
	ldr	r0, [r3]
	pop	{r4, pc}
.L21:
	.align	2
.L20:
	.word	UCSC_CC_STATUS_SNK_RP
	.word	UCSC_CC_STATUS_PWRDEFSNK
	.word	UCSC_CC_STATUS_PWR_1P5A_SNK
	.word	UCSC_CC_STATUS_PWR_3A_SNK
	.word	TYPEC_CC_OPEN
	.word	TYPEC_CC_RP_DEF
	.word	TYPEC_CC_RA
	.word	TYPEC_CC_RP_3_0
	.word	TYPEC_CC_RP_1_5
	.word	TYPEC_CC_RD
	.size	wcove_to_typec_cc, .-wcove_to_typec_cc
	.comm	UCSC_CC_STATUS_SNK_RP,4,4
	.comm	UCSC_CC_STATUS_PWR_3A_SNK,4,4
	.comm	UCSC_CC_STATUS_PWR_1P5A_SNK,4,4
	.comm	UCSC_CC_STATUS_PWRDEFSNK,4,4
	.comm	TYPEC_CC_RP_DEF,4,4
	.comm	TYPEC_CC_RP_3_0,4,4
	.comm	TYPEC_CC_RP_1_5,4,4
	.comm	TYPEC_CC_RD,4,4
	.comm	TYPEC_CC_RA,4,4
	.comm	TYPEC_CC_OPEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
