	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gen8_de_port_aux_mask
_gen8_de_port_aux_mask:                 ## @gen8_de_port_aux_mask
	.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
	movq	%rdi, %rbx
	callq	_INTEL_GEN
	cmpl	$12, %eax
	jl	LBB0_2
## %bb.1:
	movq	_TGL_DE_PORT_AUX_DDIA@GOTPCREL(%rip), %rcx
	movq	_TGL_DE_PORT_AUX_DDIB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_TGL_DE_PORT_AUX_DDIC@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	jmp	LBB0_10
LBB0_2:
	movq	_GEN8_AUX_CHANNEL_A@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	callq	_INTEL_GEN
	cmpl	$9, %eax
	jl	LBB0_4
## %bb.3:
	movq	_GEN9_AUX_CHANNEL_B@GOTPCREL(%rip), %rax
	movq	_GEN9_AUX_CHANNEL_C@GOTPCREL(%rip), %rcx
	movq	_GEN9_AUX_CHANNEL_D@GOTPCREL(%rip), %rdx
	orl	(%rax), %r14d
	orl	(%rcx), %r14d
	orl	(%rdx), %r14d
LBB0_4:
	movq	%rbx, %rdi
	callq	_IS_CNL_WITH_PORT_F
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	movl	$11, %esi
	callq	_IS_GEN
	testq	%rax, %rax
	je	LBB0_7
LBB0_6:
	movq	_CNL_AUX_CHANNEL_F@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
LBB0_7:
	movq	%rbx, %rdi
	movl	$11, %esi
	callq	_IS_GEN
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.8:
	movq	_ICL_AUX_CHANNEL_E@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_9:
	orl	%r14d, %eax
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TGL_DE_PORT_AUX_DDIA,4,2       ## @TGL_DE_PORT_AUX_DDIA
	.comm	_TGL_DE_PORT_AUX_DDIB,4,2       ## @TGL_DE_PORT_AUX_DDIB
	.comm	_TGL_DE_PORT_AUX_DDIC,4,2       ## @TGL_DE_PORT_AUX_DDIC
	.comm	_GEN8_AUX_CHANNEL_A,4,2         ## @GEN8_AUX_CHANNEL_A
	.comm	_GEN9_AUX_CHANNEL_B,4,2         ## @GEN9_AUX_CHANNEL_B
	.comm	_GEN9_AUX_CHANNEL_C,4,2         ## @GEN9_AUX_CHANNEL_C
	.comm	_GEN9_AUX_CHANNEL_D,4,2         ## @GEN9_AUX_CHANNEL_D
	.comm	_CNL_AUX_CHANNEL_F,4,2          ## @CNL_AUX_CHANNEL_F
	.comm	_ICL_AUX_CHANNEL_E,4,2          ## @ICL_AUX_CHANNEL_E
	.no_dead_strip	_gen8_de_port_aux_mask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gen8_de_port_aux_mask
_gen8_de_port_aux_mask:                 ; @gen8_de_port_aux_mask
	.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, x0
	bl	_INTEL_GEN
	cmp	w0, #12
	b.lt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _TGL_DE_PORT_AUX_DDIA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TGL_DE_PORT_AUX_DDIA@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _TGL_DE_PORT_AUX_DDIB@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TGL_DE_PORT_AUX_DDIB@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _TGL_DE_PORT_AUX_DDIC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TGL_DE_PORT_AUX_DDIC@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w0, w8, w9
	b	LBB0_8
LBB0_2:
Lloh9:
	adrp	x8, _GEN8_AUX_CHANNEL_A@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GEN8_AUX_CHANNEL_A@GOTPAGEOFF]
Lloh11:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_INTEL_GEN
	cmp	w0, #9
	b.lt	LBB0_4
; %bb.3:
Lloh12:
	adrp	x8, _GEN9_AUX_CHANNEL_B@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GEN9_AUX_CHANNEL_B@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _GEN9_AUX_CHANNEL_C@GOTPAGE
Lloh16:
	ldr	x9, [x9, _GEN9_AUX_CHANNEL_C@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
Lloh18:
	adrp	x10, _GEN9_AUX_CHANNEL_D@GOTPAGE
Lloh19:
	ldr	x10, [x10, _GEN9_AUX_CHANNEL_D@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	orr	w8, w8, w20
	orr	w8, w8, w9
	orr	w20, w8, w10
LBB0_4:
	mov	x0, x19
	bl	_IS_CNL_WITH_PORT_F
	cbnz	x0, LBB0_6
; %bb.5:
	mov	x0, x19
	mov	w1, #11
	bl	_IS_GEN
	cbz	x0, LBB0_7
LBB0_6:
Lloh21:
	adrp	x8, _CNL_AUX_CHANNEL_F@GOTPAGE
Lloh22:
	ldr	x8, [x8, _CNL_AUX_CHANNEL_F@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	orr	w20, w8, w20
LBB0_7:
	mov	x0, x19
	mov	w1, #11
	bl	_IS_GEN
Lloh24:
	adrp	x8, _ICL_AUX_CHANNEL_E@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ICL_AUX_CHANNEL_E@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w0, w8, w20
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_TGL_DE_PORT_AUX_DDIA,4,2       ; @TGL_DE_PORT_AUX_DDIA
	.comm	_TGL_DE_PORT_AUX_DDIB,4,2       ; @TGL_DE_PORT_AUX_DDIB
	.comm	_TGL_DE_PORT_AUX_DDIC,4,2       ; @TGL_DE_PORT_AUX_DDIC
	.comm	_GEN8_AUX_CHANNEL_A,4,2         ; @GEN8_AUX_CHANNEL_A
	.comm	_GEN9_AUX_CHANNEL_B,4,2         ; @GEN9_AUX_CHANNEL_B
	.comm	_GEN9_AUX_CHANNEL_C,4,2         ; @GEN9_AUX_CHANNEL_C
	.comm	_GEN9_AUX_CHANNEL_D,4,2         ; @GEN9_AUX_CHANNEL_D
	.comm	_CNL_AUX_CHANNEL_F,4,2          ; @CNL_AUX_CHANNEL_F
	.comm	_ICL_AUX_CHANNEL_E,4,2          ; @ICL_AUX_CHANNEL_E
	.no_dead_strip	_gen8_de_port_aux_mask
.subsections_via_symbols
