	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cht_wc_extcon_get_id
_cht_wc_extcon_get_id:                  ## @cht_wc_extcon_get_id
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_CHT_WC_PWRSRC_USBID_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %esi
	movq	_CHT_WC_PWRSRC_USBID_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %esi
	cmpl	$128, %esi
	jne	LBB0_1
## %bb.2:
	movq	_INTEL_USB_ID_GND@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_INTEL_USB_ID_FLOAT@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHT_WC_PWRSRC_USBID_MASK,4,2   ## @CHT_WC_PWRSRC_USBID_MASK
	.comm	_CHT_WC_PWRSRC_USBID_SHIFT,4,2  ## @CHT_WC_PWRSRC_USBID_SHIFT
	.comm	_INTEL_USB_ID_GND,4,2           ## @INTEL_USB_ID_GND
	.comm	_INTEL_USB_ID_FLOAT,4,2         ## @INTEL_USB_ID_FLOAT
	.no_dead_strip	_cht_wc_extcon_get_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cht_wc_extcon_get_id
_cht_wc_extcon_get_id:                  ; @cht_wc_extcon_get_id
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _CHT_WC_PWRSRC_USBID_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CHT_WC_PWRSRC_USBID_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w1
Lloh3:
	adrp	x9, _CHT_WC_PWRSRC_USBID_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CHT_WC_PWRSRC_USBID_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	asr	w8, w8, w9
Lloh6:
	adrp	x9, _INTEL_USB_ID_GND@GOTPAGE
Lloh7:
	ldr	x9, [x9, _INTEL_USB_ID_GND@GOTPAGEOFF]
Lloh8:
	adrp	x10, _INTEL_USB_ID_FLOAT@GOTPAGE
Lloh9:
	ldr	x10, [x10, _INTEL_USB_ID_FLOAT@GOTPAGEOFF]
	cmp	w8, #128
	csel	x8, x9, x10, eq
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CHT_WC_PWRSRC_USBID_MASK,4,2   ; @CHT_WC_PWRSRC_USBID_MASK
	.comm	_CHT_WC_PWRSRC_USBID_SHIFT,4,2  ; @CHT_WC_PWRSRC_USBID_SHIFT
	.comm	_INTEL_USB_ID_GND,4,2           ; @INTEL_USB_ID_GND
	.comm	_INTEL_USB_ID_FLOAT,4,2         ; @INTEL_USB_ID_FLOAT
	.no_dead_strip	_cht_wc_extcon_get_id
.subsections_via_symbols
