	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function evergreen_line_buffer_adjust
_evergreen_line_buffer_adjust:          ## @evergreen_line_buffer_adjust
	.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, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	cmpq	$0, 8(%rsi)
	setne	%al
	testq	%rdx, %rdx
	setne	%dl
	testq	%rcx, %rcx
	sete	%cl
	andb	%dl, %cl
	andb	%al, %cl
	movzbl	%cl, %eax
	movl	(%rsi), %ecx
	shll	$2, %ecx
	andl	$4, %ecx
	leal	(%rcx,%rax,2), %r12d
	movq	_DC_LB_MEMORY_SPLIT@GOTPCREL(%rip), %rax
	movq	16(%rsi), %rdi
	addq	(%rax), %rdi
	movl	%r12d, %esi
	callq	_WREG32
	xorl	%eax, %eax
	testq	%r15, %r15
	je	LBB0_5
## %bb.1:
	cmpq	$0, 8(%rbx)
	je	LBB0_5
## %bb.2:
	orl	$4, %r12d
	movq	%r14, %rdi
	cmpl	$6, %r12d
	jne	LBB0_3
## %bb.4:
	callq	_ASIC_IS_DCE5
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	setne	%al
	shll	$10, %eax
	addl	$15360, %eax                    ## imm = 0x3C00
	jmp	LBB0_5
LBB0_3:
	callq	_ASIC_IS_DCE5
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	setne	%al
	shll	$9, %eax
	addl	$7680, %eax                     ## imm = 0x1E00
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DC_LB_MEMORY_SPLIT,8,3         ## @DC_LB_MEMORY_SPLIT
	.no_dead_strip	_evergreen_line_buffer_adjust
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function evergreen_line_buffer_adjust
_evergreen_line_buffer_adjust:          ; @evergreen_line_buffer_adjust
	.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	x22, x2
	mov	x20, x1
	mov	x19, x0
	ldp	x8, x9, [x1, #8]
	cmp	x8, #0
	ccmp	x2, #0, #4, ne
	ccmp	x3, #0, #0, ne
	mov	w8, #2
	csel	w21, w8, wzr, eq
	ldr	w8, [x1]
	bfi	w21, w8, #2, #1
Lloh0:
	adrp	x8, _DC_LB_MEMORY_SPLIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DC_LB_MEMORY_SPLIT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x0, x9, x8
	mov	x1, x21
	bl	_WREG32
	mov	w0, #0
	cbz	x22, LBB0_6
; %bb.1:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_6
; %bb.2:
	orr	w8, w21, #0x4
	mov	x0, x19
	cmp	w8, #6
	b.ne	LBB0_4
; %bb.3:
	bl	_ASIC_IS_DCE5
	mov	w8, #16384
	mov	w9, #15360
	b	LBB0_5
LBB0_4:
	bl	_ASIC_IS_DCE5
	mov	w8, #8192
	mov	w9, #7680
LBB0_5:
	cmp	w0, #0
	csel	w0, w9, w8, eq
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
	.cfi_endproc
                                        ; -- End function
	.comm	_DC_LB_MEMORY_SPLIT,8,3         ; @DC_LB_MEMORY_SPLIT
	.no_dead_strip	_evergreen_line_buffer_adjust
.subsections_via_symbols
