	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dce6_line_buffer_adjust
_dce6_line_buffer_adjust:               ## @dce6_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movslq	(%rsi), %r13
	shlq	$5, %r13
	cmpq	$0, 16(%rsi)
	movq	%rdi, %r15
	setne	%al
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	testq	%rdx, %rdx
	setne	%dl
	andb	%al, %dl
	xorl	%eax, %eax
	testq	%rcx, %rcx
	sete	%al
	leaq	1(%rax), %rcx
	andb	%dl, %al
	movzbl	%al, %r12d
	leaq	(%r12,%r12), %rdi
	xorl	%eax, %eax
	testb	%dl, %dl
	cmovneq	%rcx, %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_DC_LB_MEMORY_SPLIT@GOTPCREL(%rip), %rax
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rsi), %r14
	addq	(%rax), %r14
	callq	_DC_LB_MEMORY_CONFIG
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_WREG32
	movq	_PIPE0_DMIF_BUFFER_CONTROL@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	addq	%r13, %rbx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_DMIF_BUFFERS_ALLOCATED
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_WREG32
	cmpq	$0, (%r15)
	jle	LBB0_4
## %bb.1:
	xorl	%ebx, %ebx
	movq	_DMIF_BUFFERS_ALLOCATED_COMPLETED@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_PIPE0_DMIF_BUFFER_CONTROL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%r13, %rdi
	callq	_RREG32
	testl	%eax, (%r14)
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	callq	_udelay
	incq	%rbx
	cmpq	(%r15), %rbx
	jl	LBB0_2
LBB0_4:
	shlq	$13, %r12
	addq	$8192, %r12                     ## imm = 0x2000
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rax
	testq	%rax, %rax
	cmoveq	%rax, %r12
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	cmoveq	%rax, %r12
	movq	%r12, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DC_LB_MEMORY_SPLIT,8,3         ## @DC_LB_MEMORY_SPLIT
	.comm	_PIPE0_DMIF_BUFFER_CONTROL,8,3  ## @PIPE0_DMIF_BUFFER_CONTROL
	.comm	_DMIF_BUFFERS_ALLOCATED_COMPLETED,4,2 ## @DMIF_BUFFERS_ALLOCATED_COMPLETED
	.no_dead_strip	_dce6_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 dce6_line_buffer_adjust
_dce6_line_buffer_adjust:               ; @dce6_line_buffer_adjust
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldrsw	x8, [x1]
	lsl	x24, x8, #5
	ldp	x9, x8, [x1, #8]
	cmp	x8, #0
	cset	w8, ne
	cmp	x2, #0
	cset	w10, ne
	cmp	x3, #0
	cset	w11, eq
	mov	w12, #1
	cinc	x12, x12, eq
	ands	w8, w10, w8
	csel	x22, x12, xzr, ne
	ands	w25, w8, w11
	mov	w8, #2
	csel	x0, x8, xzr, ne
Lloh0:
	adrp	x8, _DC_LB_MEMORY_SPLIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DC_LB_MEMORY_SPLIT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x23, x9, x8
	bl	_DC_LB_MEMORY_CONFIG
	mov	x1, x0
	mov	x0, x23
	bl	_WREG32
Lloh3:
	adrp	x26, _PIPE0_DMIF_BUFFER_CONTROL@GOTPAGE
Lloh4:
	ldr	x26, [x26, _PIPE0_DMIF_BUFFER_CONTROL@GOTPAGEOFF]
	ldr	x8, [x26]
	add	x23, x8, x24
	mov	x0, x22
	bl	_DMIF_BUFFERS_ALLOCATED
	mov	x1, x0
	mov	x0, x23
	bl	_WREG32
	ldr	x8, [x21]
	cmp	x8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x22, #0
Lloh5:
	adrp	x23, _DMIF_BUFFERS_ALLOCATED_COMPLETED@GOTPAGE
Lloh6:
	ldr	x23, [x23, _DMIF_BUFFERS_ALLOCATED_COMPLETED@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x26]
	add	x0, x8, x24
	bl	_RREG32
	ldr	w8, [x23]
	tst	w8, w0
	b.ne	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #1
	bl	_udelay
	add	x22, x22, #1
	ldr	x8, [x21]
	cmp	x22, x8
	b.lt	LBB0_2
LBB0_4:
	tst	w25, #0x1
	mov	w8, #8192
	mov	w9, #16384
	csel	x8, x9, x8, ne
	ldr	x9, [x20, #16]
	cmp	x9, #0
	ccmp	x19, #0, #4, ne
	csel	x0, x8, xzr, ne
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_DC_LB_MEMORY_SPLIT,8,3         ; @DC_LB_MEMORY_SPLIT
	.comm	_PIPE0_DMIF_BUFFER_CONTROL,8,3  ; @PIPE0_DMIF_BUFFER_CONTROL
	.comm	_DMIF_BUFFERS_ALLOCATED_COMPLETED,4,2 ; @DMIF_BUFFERS_ALLOCATED_COMPLETED
	.no_dead_strip	_dce6_line_buffer_adjust
.subsections_via_symbols
