	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enable_crtc_mem_req_v1
_enable_crtc_mem_req_v1:                ## @enable_crtc_mem_req_v1
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edx, %r14d
	movl	%esi, %eax
	movq	_BP_RESULT_BADINPUT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	(%rdi), %rcx
	leaq	-20(%rbp), %rsi
	movl	%eax, %edi
	callq	*(%rcx)
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movl	-20(%rbp), %esi
	shlq	$32, %rsi
	movq	_EnableCRTCMemReq@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	testl	%r14d, %r14d
	jne	LBB0_2
## %bb.3:
	movq	_ATOM_DISABLE@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_ATOM_ENABLE@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	orq	%rax, %rsi
	xorl	%edx, %edx
	callq	_EXEC_BIOS_CMD_TABLE
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_BP_RESULT_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	_BP_RESULT_FAILURE@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BP_RESULT_BADINPUT,4,2         ## @BP_RESULT_BADINPUT
	.comm	_ATOM_ENABLE,4,2                ## @ATOM_ENABLE
	.comm	_ATOM_DISABLE,4,2               ## @ATOM_DISABLE
	.comm	_EnableCRTCMemReq,4,2           ## @EnableCRTCMemReq
	.comm	_BP_RESULT_OK,4,2               ## @BP_RESULT_OK
	.comm	_BP_RESULT_FAILURE,4,2          ## @BP_RESULT_FAILURE
	.no_dead_strip	_enable_crtc_mem_req_v1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enable_crtc_mem_req_v1
_enable_crtc_mem_req_v1:                ; @enable_crtc_mem_req_v1
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x2
	mov	x8, x1
Lloh0:
	adrp	x9, _BP_RESULT_BADINPUT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BP_RESULT_BADINPUT@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x9]
	ldr	x9, [x0]
	ldr	x9, [x9]
	add	x1, sp, #12
	mov	x0, x8
	blr	x9
	cbz	x0, LBB0_5
; %bb.1:
Lloh3:
	adrp	x8, _ATOM_DISABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ATOM_DISABLE@GOTPAGEOFF]
Lloh5:
	adrp	x9, _ATOM_ENABLE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ATOM_ENABLE@GOTPAGEOFF]
Lloh7:
	adrp	x10, _EnableCRTCMemReq@GOTPAGE
Lloh8:
	ldr	x10, [x10, _EnableCRTCMemReq@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x10]
	ldr	w10, [sp, #12]
	cmp	w20, #0
	csel	x8, x8, x9, eq
	ldr	w1, [x8]
	bfi	x1, x10, #32, #32
	mov	x2, #0
	bl	_EXEC_BIOS_CMD_TABLE
	cbz	x0, LBB0_3
; %bb.2:
Lloh10:
	adrp	x8, _BP_RESULT_OK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _BP_RESULT_OK@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh12:
	adrp	x8, _BP_RESULT_FAILURE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BP_RESULT_FAILURE@GOTPAGEOFF]
LBB0_4:
	ldr	w19, [x8]
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_BP_RESULT_BADINPUT,4,2         ; @BP_RESULT_BADINPUT
	.comm	_ATOM_ENABLE,4,2                ; @ATOM_ENABLE
	.comm	_ATOM_DISABLE,4,2               ; @ATOM_DISABLE
	.comm	_EnableCRTCMemReq,4,2           ; @EnableCRTCMemReq
	.comm	_BP_RESULT_OK,4,2               ; @BP_RESULT_OK
	.comm	_BP_RESULT_FAILURE,4,2          ; @BP_RESULT_FAILURE
	.no_dead_strip	_enable_crtc_mem_req_v1
.subsections_via_symbols
