	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dpp1_dscl_set_lb
_dpp1_dscl_set_lb:                      ## @dpp1_dscl_set_lb
	.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
	movl	%edx, %r14d
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	_DSCL_DATA_PRCESSING_FIXED_FORMAT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	%rsi, %rbx
	movl	16(%rsi), %edi
	callq	_dpp1_dscl_get_pixel_depth_val
	movl	12(%rbx), %ecx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	_LB_DATA_FORMAT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_PIXEL_DEPTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_PIXEL_EXPAN_MODE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movl	8(%rbx), %r9d
	movq	_PIXEL_REDUCE_MODE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	_DYNAMIC_PIXEL_DEPTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	movq	_DITHER_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	movq	_INTERLEAVE_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
	movq	_LB_DATA_FORMAT__ALPHA_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	movl	(%rbx), %r11d
	movl	4(%rbx), %ebx
	xorl	%esi, %esi
	movl	%eax, %ecx
	pushq	%rbx
	pushq	%r10
	pushq	%r11
	pushq	%r13
	pushq	$0
	pushq	%r12
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	pushq	%r15
	pushq	$1
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	callq	_REG_SET_7
	addq	$80, %rsp
LBB0_2:
	movq	_LB_MEMORY_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MEMORY_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_LB_MAX_PARTITIONS@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%esi, %esi
	movl	%r14d, %ecx
	movl	$63, %r9d
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_REG_SET_2                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DSCL_DATA_PRCESSING_FIXED_FORMAT,8,3 ## @DSCL_DATA_PRCESSING_FIXED_FORMAT
	.comm	_LB_DATA_FORMAT,4,2             ## @LB_DATA_FORMAT
	.comm	_PIXEL_DEPTH,4,2                ## @PIXEL_DEPTH
	.comm	_PIXEL_EXPAN_MODE,4,2           ## @PIXEL_EXPAN_MODE
	.comm	_PIXEL_REDUCE_MODE,4,2          ## @PIXEL_REDUCE_MODE
	.comm	_DYNAMIC_PIXEL_DEPTH,4,2        ## @DYNAMIC_PIXEL_DEPTH
	.comm	_DITHER_EN,4,2                  ## @DITHER_EN
	.comm	_INTERLEAVE_EN,4,2              ## @INTERLEAVE_EN
	.comm	_LB_DATA_FORMAT__ALPHA_EN,4,2   ## @LB_DATA_FORMAT__ALPHA_EN
	.comm	_LB_MEMORY_CTRL,4,2             ## @LB_MEMORY_CTRL
	.comm	_MEMORY_CONFIG,4,2              ## @MEMORY_CONFIG
	.comm	_LB_MAX_PARTITIONS,4,2          ## @LB_MAX_PARTITIONS
	.no_dead_strip	_dpp1_dscl_set_lb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dpp1_dscl_set_lb
_dpp1_dscl_set_lb:                      ; @dpp1_dscl_set_lb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _DSCL_DATA_PRCESSING_FIXED_FORMAT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DSCL_DATA_PRCESSING_FIXED_FORMAT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x20, x1
	ldr	w0, [x1, #16]
	bl	_dpp1_dscl_get_pixel_depth_val
	mov	x3, x0
Lloh3:
	adrp	x8, _LB_DATA_FORMAT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LB_DATA_FORMAT@GOTPAGEOFF]
Lloh5:
	adrp	x9, _PIXEL_DEPTH@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PIXEL_DEPTH@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	ldr	w2, [x9]
Lloh9:
	adrp	x8, _PIXEL_EXPAN_MODE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PIXEL_EXPAN_MODE@GOTPAGEOFF]
Lloh11:
	ldr	w4, [x8]
	ldp	w5, w8, [x20, #8]
Lloh12:
	adrp	x9, _PIXEL_REDUCE_MODE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _PIXEL_REDUCE_MODE@GOTPAGEOFF]
Lloh14:
	ldr	w6, [x9]
Lloh15:
	adrp	x9, _DYNAMIC_PIXEL_DEPTH@GOTPAGE
Lloh16:
	ldr	x9, [x9, _DYNAMIC_PIXEL_DEPTH@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
Lloh18:
	adrp	x10, _DITHER_EN@GOTPAGE
Lloh19:
	ldr	x10, [x10, _DITHER_EN@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
Lloh21:
	adrp	x11, _INTERLEAVE_EN@GOTPAGE
Lloh22:
	ldr	x11, [x11, _INTERLEAVE_EN@GOTPAGEOFF]
Lloh23:
	ldr	w11, [x11]
Lloh24:
	adrp	x12, _LB_DATA_FORMAT__ALPHA_EN@GOTPAGE
Lloh25:
	ldr	x12, [x12, _LB_DATA_FORMAT__ALPHA_EN@GOTPAGEOFF]
Lloh26:
	ldr	w12, [x12]
	ldp	w13, w14, [x20]
	stp	w12, w14, [sp, #24]
	stp	w11, w13, [sp, #16]
	stp	w10, wzr, [sp, #8]
	stp	w9, w8, [sp]
	mov	w1, #0
	mov	w7, #1
	bl	_REG_SET_7
LBB0_2:
Lloh27:
	adrp	x8, _LB_MEMORY_CTRL@GOTPAGE
Lloh28:
	ldr	x8, [x8, _LB_MEMORY_CTRL@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
Lloh30:
	adrp	x8, _MEMORY_CONFIG@GOTPAGE
Lloh31:
	ldr	x8, [x8, _MEMORY_CONFIG@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
Lloh33:
	adrp	x8, _LB_MAX_PARTITIONS@GOTPAGE
Lloh34:
	ldr	x8, [x8, _LB_MAX_PARTITIONS@GOTPAGEOFF]
Lloh35:
	ldr	w4, [x8]
	mov	w1, #0
	mov	x3, x19
	mov	w5, #63
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_REG_SET_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_DSCL_DATA_PRCESSING_FIXED_FORMAT,8,3 ; @DSCL_DATA_PRCESSING_FIXED_FORMAT
	.comm	_LB_DATA_FORMAT,4,2             ; @LB_DATA_FORMAT
	.comm	_PIXEL_DEPTH,4,2                ; @PIXEL_DEPTH
	.comm	_PIXEL_EXPAN_MODE,4,2           ; @PIXEL_EXPAN_MODE
	.comm	_PIXEL_REDUCE_MODE,4,2          ; @PIXEL_REDUCE_MODE
	.comm	_DYNAMIC_PIXEL_DEPTH,4,2        ; @DYNAMIC_PIXEL_DEPTH
	.comm	_DITHER_EN,4,2                  ; @DITHER_EN
	.comm	_INTERLEAVE_EN,4,2              ; @INTERLEAVE_EN
	.comm	_LB_DATA_FORMAT__ALPHA_EN,4,2   ; @LB_DATA_FORMAT__ALPHA_EN
	.comm	_LB_MEMORY_CTRL,4,2             ; @LB_MEMORY_CTRL
	.comm	_MEMORY_CONFIG,4,2              ; @MEMORY_CONFIG
	.comm	_LB_MAX_PARTITIONS,4,2          ; @LB_MAX_PARTITIONS
	.no_dead_strip	_dpp1_dscl_set_lb
.subsections_via_symbols
