	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mrfld_extcon_get_id
_mrfld_extcon_get_id:                   ## @mrfld_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
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rdi
	movq	_BCOVE_USBIDSTS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %rdx
	callq	_regmap_read
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	movl	-28(%rbp), %r14d
	movq	_BCOVE_USBIDSTS_FLOAT@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_5
LBB0_2:
	movq	_INTEL_USB_ID_FLOAT@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_BCOVE_USBIDSTS_RARBRC_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r14d, %eax
	movq	_BCOVE_USBIDSTS_RARBRC_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shrl	%cl, %eax
	cmpl	$128, %eax
	je	LBB0_10
## %bb.6:
	cmpl	$129, %eax
	je	LBB0_9
## %bb.7:
	cmpl	$130, %eax
	jne	LBB0_11
## %bb.8:
	movq	_INTEL_USB_RID_A@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_9:
	movq	_INTEL_USB_RID_B@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_10:
	movq	_INTEL_USB_RID_C@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_11:
	movq	_BCOVE_USBIDSTS_GND@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	(%rbx), %edi
	callq	_BCOVE_MAJOR
	movsbl	%al, %eax
	cmpl	$1, %eax
	je	LBB0_15
## %bb.12:
	testl	%eax, %eax
	jne	LBB0_2
## %bb.13:
	testl	%r14d, %r15d
	je	LBB0_2
	jmp	LBB0_14
LBB0_15:
	testl	%r14d, %r15d
	jne	LBB0_2
LBB0_14:
	movq	_INTEL_USB_ID_GND@GOTPCREL(%rip), %rax
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_BCOVE_USBIDSTS,4,2             ## @BCOVE_USBIDSTS
	.comm	_BCOVE_USBIDSTS_FLOAT,4,2       ## @BCOVE_USBIDSTS_FLOAT
	.comm	_INTEL_USB_ID_FLOAT,4,2         ## @INTEL_USB_ID_FLOAT
	.comm	_BCOVE_USBIDSTS_RARBRC_MASK,4,2 ## @BCOVE_USBIDSTS_RARBRC_MASK
	.comm	_BCOVE_USBIDSTS_RARBRC_SHIFT,4,2 ## @BCOVE_USBIDSTS_RARBRC_SHIFT
	.comm	_INTEL_USB_RID_A,4,2            ## @INTEL_USB_RID_A
	.comm	_INTEL_USB_RID_B,4,2            ## @INTEL_USB_RID_B
	.comm	_INTEL_USB_RID_C,4,2            ## @INTEL_USB_RID_C
	.comm	_BCOVE_USBIDSTS_GND,4,2         ## @BCOVE_USBIDSTS_GND
	.comm	_INTEL_USB_ID_GND,4,2           ## @INTEL_USB_ID_GND
	.no_dead_strip	_mrfld_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 mrfld_extcon_get_id
_mrfld_extcon_get_id:                   ; @mrfld_extcon_get_id
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x0, [x0, #8]
Lloh0:
	adrp	x8, _BCOVE_USBIDSTS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BCOVE_USBIDSTS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_regmap_read
	cbnz	w0, LBB0_4
; %bb.1:
	ldr	w8, [sp, #12]
Lloh3:
	adrp	x9, _BCOVE_USBIDSTS_FLOAT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BCOVE_USBIDSTS_FLOAT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
LBB0_2:
Lloh6:
	adrp	x8, _INTEL_USB_ID_FLOAT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _INTEL_USB_ID_FLOAT@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_5:
Lloh8:
	adrp	x9, _BCOVE_USBIDSTS_RARBRC_MASK@GOTPAGE
Lloh9:
	ldr	x9, [x9, _BCOVE_USBIDSTS_RARBRC_MASK@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	and	w9, w9, w8
Lloh11:
	adrp	x10, _BCOVE_USBIDSTS_RARBRC_SHIFT@GOTPAGE
Lloh12:
	ldr	x10, [x10, _BCOVE_USBIDSTS_RARBRC_SHIFT@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	lsr	w9, w9, w10
	cmp	w9, #128
	b.eq	LBB0_10
; %bb.6:
	cmp	w9, #129
	b.eq	LBB0_9
; %bb.7:
	cmp	w9, #130
	b.ne	LBB0_11
; %bb.8:
Lloh14:
	adrp	x8, _INTEL_USB_RID_A@GOTPAGE
Lloh15:
	ldr	x8, [x8, _INTEL_USB_RID_A@GOTPAGEOFF]
	b	LBB0_3
LBB0_9:
Lloh16:
	adrp	x8, _INTEL_USB_RID_B@GOTPAGE
Lloh17:
	ldr	x8, [x8, _INTEL_USB_RID_B@GOTPAGEOFF]
	b	LBB0_3
LBB0_10:
Lloh18:
	adrp	x8, _INTEL_USB_RID_C@GOTPAGE
Lloh19:
	ldr	x8, [x8, _INTEL_USB_RID_C@GOTPAGEOFF]
	b	LBB0_3
LBB0_11:
Lloh20:
	adrp	x9, _BCOVE_USBIDSTS_GND@GOTPAGE
Lloh21:
	ldr	x9, [x9, _BCOVE_USBIDSTS_GND@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	and	w20, w9, w8
	ldr	w0, [x19]
	bl	_BCOVE_MAJOR
	cmp	w0, #1
	b.eq	LBB0_14
; %bb.12:
	cbnz	w0, LBB0_2
; %bb.13:
Lloh23:
	adrp	x8, _INTEL_USB_ID_GND@GOTPAGE
Lloh24:
	ldr	x8, [x8, _INTEL_USB_ID_GND@GOTPAGEOFF]
Lloh25:
	adrp	x9, _INTEL_USB_ID_FLOAT@GOTPAGE
Lloh26:
	ldr	x9, [x9, _INTEL_USB_ID_FLOAT@GOTPAGEOFF]
	b	LBB0_15
LBB0_14:
Lloh27:
	adrp	x8, _INTEL_USB_ID_FLOAT@GOTPAGE
Lloh28:
	ldr	x8, [x8, _INTEL_USB_ID_FLOAT@GOTPAGEOFF]
Lloh29:
	adrp	x9, _INTEL_USB_ID_GND@GOTPAGE
Lloh30:
	ldr	x9, [x9, _INTEL_USB_ID_GND@GOTPAGEOFF]
LBB0_15:
	cmp	w20, #0
	csel	x8, x9, x8, eq
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_BCOVE_USBIDSTS,4,2             ; @BCOVE_USBIDSTS
	.comm	_BCOVE_USBIDSTS_FLOAT,4,2       ; @BCOVE_USBIDSTS_FLOAT
	.comm	_INTEL_USB_ID_FLOAT,4,2         ; @INTEL_USB_ID_FLOAT
	.comm	_BCOVE_USBIDSTS_RARBRC_MASK,4,2 ; @BCOVE_USBIDSTS_RARBRC_MASK
	.comm	_BCOVE_USBIDSTS_RARBRC_SHIFT,4,2 ; @BCOVE_USBIDSTS_RARBRC_SHIFT
	.comm	_INTEL_USB_RID_A,4,2            ; @INTEL_USB_RID_A
	.comm	_INTEL_USB_RID_B,4,2            ; @INTEL_USB_RID_B
	.comm	_INTEL_USB_RID_C,4,2            ; @INTEL_USB_RID_C
	.comm	_BCOVE_USBIDSTS_GND,4,2         ; @BCOVE_USBIDSTS_GND
	.comm	_INTEL_USB_ID_GND,4,2           ; @INTEL_USB_ID_GND
	.no_dead_strip	_mrfld_extcon_get_id
.subsections_via_symbols
