	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_port_from_gmbus0
_get_port_from_gmbus0:                  ## @get_port_from_gmbus0
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	__GMBUS_PIN_SEL_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %edi
	movq	_GMBUS_PIN_VGADDC@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	jne	LBB0_2
## %bb.1:
	movq	_PORT_E@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_2:
	movq	_GMBUS_PIN_DPC@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	jne	LBB0_4
## %bb.3:
	movq	_PORT_C@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_4:
	movq	_GMBUS_PIN_DPB@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	jne	LBB0_6
## %bb.5:
	movq	_PORT_B@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_6:
	movq	_GMBUS_PIN_DPD@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	jne	LBB0_7
## %bb.8:
	movq	_PORT_D@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__GMBUS_PIN_SEL_MASK,4,2        ## @_GMBUS_PIN_SEL_MASK
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GMBUS_PIN_VGADDC,4,2           ## @GMBUS_PIN_VGADDC
	.comm	_PORT_E,4,2                     ## @PORT_E
	.comm	_GMBUS_PIN_DPC,4,2              ## @GMBUS_PIN_DPC
	.comm	_PORT_C,4,2                     ## @PORT_C
	.comm	_GMBUS_PIN_DPB,4,2              ## @GMBUS_PIN_DPB
	.comm	_PORT_B,4,2                     ## @PORT_B
	.comm	_GMBUS_PIN_DPD,4,2              ## @GMBUS_PIN_DPD
	.comm	_PORT_D,4,2                     ## @PORT_D
	.no_dead_strip	_get_port_from_gmbus0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_port_from_gmbus0
_get_port_from_gmbus0:                  ; @get_port_from_gmbus0
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, __GMBUS_PIN_SEL_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, __GMBUS_PIN_SEL_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh3:
	adrp	x9, _GMBUS_PIN_VGADDC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GMBUS_PIN_VGADDC@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _PORT_E@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PORT_E@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ret
LBB0_2:
Lloh9:
	adrp	x9, _GMBUS_PIN_DPC@GOTPAGE
Lloh10:
	ldr	x9, [x9, _GMBUS_PIN_DPC@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.3:
Lloh12:
	adrp	x8, _PORT_C@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PORT_C@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ret
LBB0_4:
Lloh15:
	adrp	x9, _GMBUS_PIN_DPB@GOTPAGE
Lloh16:
	ldr	x9, [x9, _GMBUS_PIN_DPB@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_6
; %bb.5:
Lloh18:
	adrp	x8, _PORT_B@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PORT_B@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	ret
LBB0_6:
Lloh21:
	adrp	x9, _EINVAL@GOTPAGE
Lloh22:
	ldr	x9, [x9, _EINVAL@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	neg	w9, w9
Lloh24:
	adrp	x10, _GMBUS_PIN_DPD@GOTPAGE
Lloh25:
	ldr	x10, [x10, _GMBUS_PIN_DPD@GOTPAGEOFF]
Lloh26:
	ldr	w10, [x10]
Lloh27:
	adrp	x11, _PORT_D@GOTPAGE
Lloh28:
	ldr	x11, [x11, _PORT_D@GOTPAGEOFF]
Lloh29:
	ldr	w11, [x11]
	cmp	w8, w10
	csel	w0, w11, w9, eq
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	__GMBUS_PIN_SEL_MASK,4,2        ; @_GMBUS_PIN_SEL_MASK
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GMBUS_PIN_VGADDC,4,2           ; @GMBUS_PIN_VGADDC
	.comm	_PORT_E,4,2                     ; @PORT_E
	.comm	_GMBUS_PIN_DPC,4,2              ; @GMBUS_PIN_DPC
	.comm	_PORT_C,4,2                     ; @PORT_C
	.comm	_GMBUS_PIN_DPB,4,2              ; @GMBUS_PIN_DPB
	.comm	_PORT_B,4,2                     ; @PORT_B
	.comm	_GMBUS_PIN_DPD,4,2              ; @GMBUS_PIN_DPD
	.comm	_PORT_D,4,2                     ; @PORT_D
	.no_dead_strip	_get_port_from_gmbus0
.subsections_via_symbols
