	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function si_enable_display_gap
_si_enable_display_gap:                 ## @si_enable_display_gap
	.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	_CG_DISPLAY_GAP_CNTL@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_RREG32
	movq	_DISP1_GAP_MASK@GOTPCREL(%rip), %rcx
	movq	_DISP2_GAP_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	orl	(%rcx), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movq	_R600_PM_DISPLAY_GAP_IGNORE@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_DISP1_GAP
	movl	%eax, %r12d
	movl	(%r15), %edi
	callq	_DISP2_GAP
	orl	%eax, %r12d
	orl	%ebx, %r12d
	movq	_DISP1_GAP_MCHG_MASK@GOTPCREL(%rip), %rax
	movq	_DISP2_GAP_MCHG_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	notl	%ebx
	andl	%r12d, %ebx
	movq	_R600_PM_DISPLAY_GAP_VBLANK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DISP1_GAP_MCHG
	movl	%eax, %r12d
	movl	(%r15), %edi
	callq	_DISP2_GAP_MCHG
	orl	%eax, %r12d
	orl	%ebx, %r12d
	movl	(%r14), %edi
	movl	%r12d, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WREG32                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CG_DISPLAY_GAP_CNTL,4,2        ## @CG_DISPLAY_GAP_CNTL
	.comm	_DISP1_GAP_MASK,4,2             ## @DISP1_GAP_MASK
	.comm	_DISP2_GAP_MASK,4,2             ## @DISP2_GAP_MASK
	.comm	_R600_PM_DISPLAY_GAP_IGNORE,4,2 ## @R600_PM_DISPLAY_GAP_IGNORE
	.comm	_DISP1_GAP_MCHG_MASK,4,2        ## @DISP1_GAP_MCHG_MASK
	.comm	_DISP2_GAP_MCHG_MASK,4,2        ## @DISP2_GAP_MCHG_MASK
	.comm	_R600_PM_DISPLAY_GAP_VBLANK,4,2 ## @R600_PM_DISPLAY_GAP_VBLANK
	.no_dead_strip	_si_enable_display_gap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function si_enable_display_gap
_si_enable_display_gap:                 ; @si_enable_display_gap
	.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
Lloh0:
	adrp	x20, _CG_DISPLAY_GAP_CNTL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _CG_DISPLAY_GAP_CNTL@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_RREG32
Lloh2:
	adrp	x8, _DISP1_GAP_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DISP1_GAP_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _DISP2_GAP_MASK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _DISP2_GAP_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w21, w0, w8
Lloh8:
	adrp	x22, _R600_PM_DISPLAY_GAP_IGNORE@GOTPAGE
Lloh9:
	ldr	x22, [x22, _R600_PM_DISPLAY_GAP_IGNORE@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_DISP1_GAP
	mov	x19, x0
	ldr	w0, [x22]
	bl	_DISP2_GAP
	orr	w8, w21, w19
	orr	w8, w8, w0
Lloh10:
	adrp	x9, _DISP1_GAP_MCHG_MASK@GOTPAGE
Lloh11:
	ldr	x9, [x9, _DISP1_GAP_MCHG_MASK@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
Lloh13:
	adrp	x10, _DISP2_GAP_MCHG_MASK@GOTPAGE
Lloh14:
	ldr	x10, [x10, _DISP2_GAP_MCHG_MASK@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
	orr	w9, w10, w9
	bic	w21, w8, w9
Lloh16:
	adrp	x8, _R600_PM_DISPLAY_GAP_VBLANK@GOTPAGE
Lloh17:
	ldr	x8, [x8, _R600_PM_DISPLAY_GAP_VBLANK@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	bl	_DISP1_GAP_MCHG
	mov	x19, x0
	ldr	w0, [x22]
	bl	_DISP2_GAP_MCHG
	orr	w8, w21, w19
	orr	w1, w8, w0
	ldr	w0, [x20]
	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	_WREG32
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CG_DISPLAY_GAP_CNTL,4,2        ; @CG_DISPLAY_GAP_CNTL
	.comm	_DISP1_GAP_MASK,4,2             ; @DISP1_GAP_MASK
	.comm	_DISP2_GAP_MASK,4,2             ; @DISP2_GAP_MASK
	.comm	_R600_PM_DISPLAY_GAP_IGNORE,4,2 ; @R600_PM_DISPLAY_GAP_IGNORE
	.comm	_DISP1_GAP_MCHG_MASK,4,2        ; @DISP1_GAP_MCHG_MASK
	.comm	_DISP2_GAP_MCHG_MASK,4,2        ; @DISP2_GAP_MCHG_MASK
	.comm	_R600_PM_DISPLAY_GAP_VBLANK,4,2 ; @R600_PM_DISPLAY_GAP_VBLANK
	.no_dead_strip	_si_enable_display_gap
.subsections_via_symbols
