	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_driver_features
_parse_driver_features:                 ## @parse_driver_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, %r14
	movq	8(%rdi), %r15
	movq	_BDB_DRIVER_FEATURES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_find_section
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_SUPPORTS_EDP
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	(%rbx), %rax
	movq	_BDB_DRIVER_FEATURE_EDP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movl	$1, 4(%r14)
LBB0_4:
	cmpq	$0, 8(%rbx)
	je	LBB0_6
## %bb.5:
	movl	$1, (%r14)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BDB_DRIVER_FEATURES,4,2        ## @BDB_DRIVER_FEATURES
	.comm	_BDB_DRIVER_FEATURE_EDP,8,3     ## @BDB_DRIVER_FEATURE_EDP
	.no_dead_strip	_parse_driver_features
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_driver_features
_parse_driver_features:                 ; @parse_driver_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	x21, [x0, #8]
Lloh0:
	adrp	x9, _BDB_DRIVER_FEATURES@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BDB_DRIVER_FEATURES@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	mov	x0, x8
	bl	_find_section
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x0
	mov	x0, x21
	bl	_SUPPORTS_EDP
	cbz	x0, LBB0_4
; %bb.2:
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _BDB_DRIVER_FEATURE_EDP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BDB_DRIVER_FEATURE_EDP@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	mov	w8, #1
	str	w8, [x19, #4]
LBB0_4:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_6
; %bb.5:
	mov	w8, #1
	str	w8, [x19]
LBB0_6:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BDB_DRIVER_FEATURES,4,2        ; @BDB_DRIVER_FEATURES
	.comm	_BDB_DRIVER_FEATURE_EDP,8,3     ; @BDB_DRIVER_FEATURE_EDP
	.no_dead_strip	_parse_driver_features
.subsections_via_symbols
