	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function bios_parser_get_encoder_cap_info
LCPI0_0:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_bios_parser_get_encoder_cap_info:      ## @bios_parser_get_encoder_cap_info
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r15d
	callq	_BP_FROM_DCB
	movq	_BP_RESULT_BADINPUT@GOTPCREL(%rip), %rbx
	testq	%r14, %r14
	je	LBB0_5
## %bb.1:
	movq	%rax, %r12
	movq	%rax, %rdi
	movl	%r15d, %esi
	callq	_get_bios_object
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_get_encoder_cap_record
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movl	(%rax), %eax
	movq	_ATOM_ENCODER_CAP_RECORD_HBR2@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	setne	%dl
	movl	%edx, (%r14)
	movq	_ATOM_ENCODER_CAP_RECORD_HBR2_EN@GOTPCREL(%rip), %rcx
	movq	_ATOM_ENCODER_CAP_RECORD_HBR3_EN@GOTPCREL(%rip), %rdx
	movq	_ATOM_ENCODER_CAP_RECORD_HDMI6Gbps_EN@GOTPCREL(%rip), %rsi
	movd	(%rcx), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	pinsrd	$1, (%rdx), %xmm0
	pinsrd	$2, (%rsi), %xmm0
	movq	_ATOM_ENCODER_CAP_RECORD_USB_C_TYPE@GOTPCREL(%rip), %rcx
	pinsrd	$3, (%rcx), %xmm0
	movd	%eax, %xmm1
	pshufd	$0, %xmm1, %xmm1                ## xmm1 = xmm1[0,0,0,0]
	pand	%xmm0, %xmm1
	pxor	%xmm0, %xmm0
	pcmpeqd	%xmm1, %xmm0
	pandn	LCPI0_0(%rip), %xmm0
	movdqu	%xmm0, 4(%r14)
	movq	_BP_RESULT_OK@GOTPCREL(%rip), %rbx
	jmp	LBB0_5
LBB0_3:
	movq	_BP_RESULT_NORECORD@GOTPCREL(%rip), %rbx
LBB0_5:
	movl	(%rbx), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BP_RESULT_BADINPUT,4,2         ## @BP_RESULT_BADINPUT
	.comm	_BP_RESULT_NORECORD,4,2         ## @BP_RESULT_NORECORD
	.comm	_ATOM_ENCODER_CAP_RECORD_HBR2,4,2 ## @ATOM_ENCODER_CAP_RECORD_HBR2
	.comm	_ATOM_ENCODER_CAP_RECORD_HBR2_EN,4,2 ## @ATOM_ENCODER_CAP_RECORD_HBR2_EN
	.comm	_ATOM_ENCODER_CAP_RECORD_HBR3_EN,4,2 ## @ATOM_ENCODER_CAP_RECORD_HBR3_EN
	.comm	_ATOM_ENCODER_CAP_RECORD_HDMI6Gbps_EN,4,2 ## @ATOM_ENCODER_CAP_RECORD_HDMI6Gbps_EN
	.comm	_ATOM_ENCODER_CAP_RECORD_USB_C_TYPE,4,2 ## @ATOM_ENCODER_CAP_RECORD_USB_C_TYPE
	.comm	_BP_RESULT_OK,4,2               ## @BP_RESULT_OK
	.no_dead_strip	_bios_parser_get_encoder_cap_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bios_parser_get_encoder_cap_info
_bios_parser_get_encoder_cap_info:      ; @bios_parser_get_encoder_cap_info
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x21, x1
	bl	_BP_FROM_DCB
	cbz	x19, LBB0_4
; %bb.1:
	mov	x20, x0
	and	x1, x21, #0xffffffff
	bl	_get_bios_object
	cbz	x0, LBB0_4
; %bb.2:
	mov	x1, x0
	mov	x0, x20
	bl	_get_encoder_cap_record
	cbz	x0, LBB0_5
; %bb.3:
Lloh0:
	adrp	x8, _ATOM_ENCODER_CAP_RECORD_HBR2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATOM_ENCODER_CAP_RECORD_HBR2@GOTPAGEOFF]
	ldr	w9, [x0]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w9
	cset	w8, ne
Lloh3:
	adrp	x10, _ATOM_ENCODER_CAP_RECORD_HBR2_EN@GOTPAGE
Lloh4:
	ldr	x10, [x10, _ATOM_ENCODER_CAP_RECORD_HBR2_EN@GOTPAGEOFF]
Lloh5:
	adrp	x11, _ATOM_ENCODER_CAP_RECORD_HBR3_EN@GOTPAGE
Lloh6:
	ldr	x11, [x11, _ATOM_ENCODER_CAP_RECORD_HBR3_EN@GOTPAGEOFF]
Lloh7:
	adrp	x12, _ATOM_ENCODER_CAP_RECORD_HDMI6Gbps_EN@GOTPAGE
Lloh8:
	ldr	x12, [x12, _ATOM_ENCODER_CAP_RECORD_HDMI6Gbps_EN@GOTPAGEOFF]
Lloh9:
	adrp	x13, _ATOM_ENCODER_CAP_RECORD_USB_C_TYPE@GOTPAGE
Lloh10:
	ldr	x13, [x13, _ATOM_ENCODER_CAP_RECORD_USB_C_TYPE@GOTPAGEOFF]
	str	w8, [x19]
Lloh11:
	ldr	s0, [x10]
	ld1.s	{ v0 }[1], [x11]
	ld1.s	{ v0 }[2], [x12]
	ld1.s	{ v0 }[3], [x13]
	dup.4s	v1, w9
	and.16b	v0, v0, v1
	cmeq.4s	v0, v0, #0
	movi.4s	v1, #1
	bic.16b	v0, v1, v0
	stur	q0, [x19, #4]
Lloh12:
	adrp	x8, _BP_RESULT_OK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BP_RESULT_OK@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
Lloh14:
	adrp	x8, _BP_RESULT_BADINPUT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _BP_RESULT_BADINPUT@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh16:
	adrp	x8, _BP_RESULT_NORECORD@GOTPAGE
Lloh17:
	ldr	x8, [x8, _BP_RESULT_NORECORD@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_BP_RESULT_BADINPUT,4,2         ; @BP_RESULT_BADINPUT
	.comm	_BP_RESULT_NORECORD,4,2         ; @BP_RESULT_NORECORD
	.comm	_ATOM_ENCODER_CAP_RECORD_HBR2,4,2 ; @ATOM_ENCODER_CAP_RECORD_HBR2
	.comm	_ATOM_ENCODER_CAP_RECORD_HBR2_EN,4,2 ; @ATOM_ENCODER_CAP_RECORD_HBR2_EN
	.comm	_ATOM_ENCODER_CAP_RECORD_HBR3_EN,4,2 ; @ATOM_ENCODER_CAP_RECORD_HBR3_EN
	.comm	_ATOM_ENCODER_CAP_RECORD_HDMI6Gbps_EN,4,2 ; @ATOM_ENCODER_CAP_RECORD_HDMI6Gbps_EN
	.comm	_ATOM_ENCODER_CAP_RECORD_USB_C_TYPE,4,2 ; @ATOM_ENCODER_CAP_RECORD_USB_C_TYPE
	.comm	_BP_RESULT_OK,4,2               ; @BP_RESULT_OK
	.no_dead_strip	_bios_parser_get_encoder_cap_info
.subsections_via_symbols
