	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_general_features
_parse_general_features:                ## @parse_general_features
	.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	%rsi, %rax
	movq	%rdi, %rbx
	movq	24(%rdi), %r14
	movq	_BDB_GENERAL_FEATURES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_find_section
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %r15
	movl	20(%rax), %eax
	movl	%eax, 20(%rbx)
	movl	16(%r15), %eax
	movl	%eax, 16(%rbx)
	movl	12(%r15), %eax
	movl	%eax, 12(%rbx)
	movl	8(%r15), %esi
	movq	%r14, %rdi
	callq	_intel_bios_ssc_frequency
	movl	%eax, 8(%rbx)
	movl	4(%r15), %r9d
	movl	%r9d, 4(%rbx)
	movl	(%r15), %edi
	movl	%edi, (%rbx)
	movl	20(%rbx), %esi
	movl	12(%rbx), %ecx
	movl	16(%rbx), %edx
	movl	%edi, (%rsp)
	leaq	L_.str(%rip), %rdi
	movl	%eax, %r8d
	callq	_DRM_DEBUG_KMS
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BDB_GENERAL_FEATURES,4,2       ## @BDB_GENERAL_FEATURES
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"BDB_GENERAL_FEATURES int_tv_support %d int_crt_support %d lvds_use_ssc %d lvds_ssc_freq %d display_clock_mode %d fdi_rx_polarity_inverted %d\n"

	.no_dead_strip	_parse_general_features
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_general_features
_parse_general_features:                ; @parse_general_features
	.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	x8, x1
	mov	x19, x0
	ldr	x20, [x0, #24]
Lloh0:
	adrp	x9, _BDB_GENERAL_FEATURES@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BDB_GENERAL_FEATURES@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	mov	x0, x8
	bl	_find_section
	cbz	x0, LBB0_2
; %bb.1:
	mov	x21, x0
	ldr	w8, [x0, #20]
	str	w8, [x19, #20]
	ldur	d0, [x0, #12]
	stur	d0, [x19, #12]
	ldr	w1, [x0, #8]
	mov	x0, x20
	bl	_intel_bios_ssc_frequency
	mov	x4, x0
	str	w0, [x19, #8]
	ldp	w6, w5, [x21]
	stp	w6, w5, [x19]
	ldp	w2, w1, [x19, #16]
	ldr	w3, [x19, #12]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	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
	b	_DRM_DEBUG_KMS
LBB0_2:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_BDB_GENERAL_FEATURES,4,2       ; @BDB_GENERAL_FEATURES
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"BDB_GENERAL_FEATURES int_tv_support %d int_crt_support %d lvds_use_ssc %d lvds_ssc_freq %d display_clock_mode %d fdi_rx_polarity_inverted %d\n"

	.no_dead_strip	_parse_general_features
.subsections_via_symbols
