	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mdc_list_desc_config
_mdc_list_desc_config:                  ## @mdc_list_desc_config
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_MDC_GENERAL_CONFIG_IEN@GOTPCREL(%rip), %rax
	movq	_MDC_GENERAL_CONFIG_LIST_IEN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ebx
	orl	(%rax), %ebx
	movq	_MDC_GENERAL_CONFIG_LEVEL_INT@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	%rcx, %r10
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_MDC_GENERAL_CONFIG_PHYSICAL_W@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	24(%rdi), %r13
	movq	_MDC_GENERAL_CONFIG_PHYSICAL_R@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	%ebx, (%rsi)
	movl	(%rdi), %eax
	movq	_MDC_READ_PORT_CONFIG_STHREAD_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%eax, %esi
	shll	%cl, %esi
	movq	_MDC_READ_PORT_CONFIG_RTHREAD_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%eax, %ebx
	shll	%cl, %ebx
	movq	%r8, %rdi
	orl	%esi, %ebx
	movq	_MDC_READ_PORT_CONFIG_WTHREAD_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	orl	%ebx, %eax
	movq	%r10, %rbx
	movl	%eax, 4(%r15)
	movq	%r10, 56(%r15)
	movq	%r8, 48(%r15)
	decq	%r9
	movq	%r9, 8(%r15)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%r15)
	movq	_MDC_CONTROL_AND_STATUS_LIST_EN@GOTPCREL(%rip), %rax
	movq	_MDC_CONTROL_AND_STATUS_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%edx, %r12d
	movl	%ecx, 16(%r15)
	movq	$0, 24(%r15)
	movl	(%r13), %esi
	callq	_IS_ALIGNED
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_IS_ALIGNED
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	(%r13), %esi
	movl	4(%r13), %ebx
	jmp	LBB0_4
LBB0_3:
	movl	(%r13), %esi
	movl	4(%r13), %ebx
	decl	%ebx
LBB0_4:
	imull	%esi, %ebx
	movq	_DMA_MEM_TO_DEV@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jne	LBB0_7
## %bb.5:
	movq	_MDC_GENERAL_CONFIG_INC_R@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
	movq	_MDC_READ_PORT_CONFIG_DREQ_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%r15)
	movq	%r15, %rdi
	callq	_mdc_set_read_width
	movl	4(%r14), %esi
	movq	%r15, %rdi
	callq	_mdc_set_write_width
	movl	4(%r14), %esi
	imull	8(%r14), %esi
	jmp	LBB0_6
LBB0_7:
	movq	_DMA_DEV_TO_MEM@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jne	LBB0_9
## %bb.8:
	movq	_MDC_GENERAL_CONFIG_INC_W@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
	movq	_MDC_READ_PORT_CONFIG_DREQ_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%r15)
	movl	12(%r14), %esi
	movq	%r15, %rdi
	callq	_mdc_set_read_width
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_mdc_set_write_width
	movl	12(%r14), %esi
	imull	16(%r14), %esi
LBB0_6:
	movl	%ebx, %edi
	callq	_min
	movl	%eax, %ebx
	jmp	LBB0_10
LBB0_9:
	movq	_MDC_GENERAL_CONFIG_INC_R@GOTPCREL(%rip), %rax
	movq	_MDC_GENERAL_CONFIG_INC_W@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	%ecx, (%r15)
	movq	%r15, %rdi
	callq	_mdc_set_read_width
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_mdc_set_write_width
LBB0_10:
	decl	%ebx
	movq	_MDC_READ_PORT_CONFIG_BURST_SIZE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %ebx
	orl	%ebx, 4(%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MDC_GENERAL_CONFIG_IEN,4,2     ## @MDC_GENERAL_CONFIG_IEN
	.comm	_MDC_GENERAL_CONFIG_LIST_IEN,4,2 ## @MDC_GENERAL_CONFIG_LIST_IEN
	.comm	_MDC_GENERAL_CONFIG_LEVEL_INT,4,2 ## @MDC_GENERAL_CONFIG_LEVEL_INT
	.comm	_MDC_GENERAL_CONFIG_PHYSICAL_W,4,2 ## @MDC_GENERAL_CONFIG_PHYSICAL_W
	.comm	_MDC_GENERAL_CONFIG_PHYSICAL_R,4,2 ## @MDC_GENERAL_CONFIG_PHYSICAL_R
	.comm	_MDC_READ_PORT_CONFIG_STHREAD_SHIFT,4,2 ## @MDC_READ_PORT_CONFIG_STHREAD_SHIFT
	.comm	_MDC_READ_PORT_CONFIG_RTHREAD_SHIFT,4,2 ## @MDC_READ_PORT_CONFIG_RTHREAD_SHIFT
	.comm	_MDC_READ_PORT_CONFIG_WTHREAD_SHIFT,4,2 ## @MDC_READ_PORT_CONFIG_WTHREAD_SHIFT
	.comm	_MDC_CONTROL_AND_STATUS_LIST_EN,4,2 ## @MDC_CONTROL_AND_STATUS_LIST_EN
	.comm	_MDC_CONTROL_AND_STATUS_EN,4,2  ## @MDC_CONTROL_AND_STATUS_EN
	.comm	_DMA_MEM_TO_DEV,4,2             ## @DMA_MEM_TO_DEV
	.comm	_MDC_GENERAL_CONFIG_INC_R,4,2   ## @MDC_GENERAL_CONFIG_INC_R
	.comm	_MDC_READ_PORT_CONFIG_DREQ_ENABLE,4,2 ## @MDC_READ_PORT_CONFIG_DREQ_ENABLE
	.comm	_DMA_DEV_TO_MEM,4,2             ## @DMA_DEV_TO_MEM
	.comm	_MDC_GENERAL_CONFIG_INC_W,4,2   ## @MDC_GENERAL_CONFIG_INC_W
	.comm	_MDC_READ_PORT_CONFIG_BURST_SIZE_SHIFT,4,2 ## @MDC_READ_PORT_CONFIG_BURST_SIZE_SHIFT
	.no_dead_strip	_mdc_list_desc_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mdc_list_desc_config
_mdc_list_desc_config:                  ; @mdc_list_desc_config
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x23, [x0, #24]
Lloh0:
	adrp	x8, _MDC_GENERAL_CONFIG_IEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MDC_GENERAL_CONFIG_IEN@GOTPAGEOFF]
Lloh2:
	adrp	x9, _MDC_GENERAL_CONFIG_LIST_IEN@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MDC_GENERAL_CONFIG_LIST_IEN@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _MDC_GENERAL_CONFIG_LEVEL_INT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MDC_GENERAL_CONFIG_LEVEL_INT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh9:
	adrp	x9, _MDC_GENERAL_CONFIG_PHYSICAL_W@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MDC_GENERAL_CONFIG_PHYSICAL_W@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _MDC_GENERAL_CONFIG_PHYSICAL_R@GOTPAGE
Lloh13:
	ldr	x10, [x10, _MDC_GENERAL_CONFIG_PHYSICAL_R@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh14:
	ldr	w9, [x10]
	orr	w8, w8, w9
	str	w8, [x1]
Lloh15:
	adrp	x8, _MDC_READ_PORT_CONFIG_STHREAD_SHIFT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MDC_READ_PORT_CONFIG_STHREAD_SHIFT@GOTPAGEOFF]
	ldr	w9, [x0]
Lloh17:
	ldr	w8, [x8]
	lsl	w8, w9, w8
Lloh18:
	adrp	x10, _MDC_READ_PORT_CONFIG_RTHREAD_SHIFT@GOTPAGE
Lloh19:
	ldr	x10, [x10, _MDC_READ_PORT_CONFIG_RTHREAD_SHIFT@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	lsl	w10, w9, w10
	orr	w8, w10, w8
Lloh21:
	adrp	x10, _MDC_READ_PORT_CONFIG_WTHREAD_SHIFT@GOTPAGE
Lloh22:
	ldr	x10, [x10, _MDC_READ_PORT_CONFIG_WTHREAD_SHIFT@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w8, w9
	str	w8, [x1, #4]
	stp	x4, x3, [x1, #48]
	sub	x8, x5, #1
	str	x8, [x1, #8]
	str	xzr, [x1, #40]
Lloh24:
	adrp	x8, _MDC_CONTROL_AND_STATUS_LIST_EN@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MDC_CONTROL_AND_STATUS_LIST_EN@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
Lloh27:
	adrp	x9, _MDC_CONTROL_AND_STATUS_EN@GOTPAGE
Lloh28:
	ldr	x9, [x9, _MDC_CONTROL_AND_STATUS_EN@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x1, #16]
	stp	xzr, xzr, [x1, #24]
	ldr	w1, [x23]
	mov	x0, x4
	bl	_IS_ALIGNED
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w1, [x23]
	mov	x0, x21
	bl	_IS_ALIGNED
	cbz	x0, LBB0_3
; %bb.2:
	ldp	w1, w8, [x23]
	b	LBB0_4
LBB0_3:
	ldp	w1, w8, [x23]
	sub	w8, w8, #1
LBB0_4:
	mul	w21, w8, w1
Lloh30:
	adrp	x8, _DMA_MEM_TO_DEV@GOTPAGE
Lloh31:
	ldr	x8, [x8, _DMA_MEM_TO_DEV@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	cmp	w8, w22
	b.ne	LBB0_6
; %bb.5:
Lloh33:
	adrp	x8, _MDC_GENERAL_CONFIG_INC_R@GOTPAGE
Lloh34:
	ldr	x8, [x8, _MDC_GENERAL_CONFIG_INC_R@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	ldp	w9, w10, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
Lloh36:
	adrp	x8, _MDC_READ_PORT_CONFIG_DREQ_ENABLE@GOTPAGE
Lloh37:
	ldr	x8, [x8, _MDC_READ_PORT_CONFIG_DREQ_ENABLE@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	orr	w8, w10, w8
	str	w8, [x19, #4]
	mov	x0, x19
	bl	_mdc_set_read_width
	ldr	w1, [x20, #4]
	mov	x0, x19
	bl	_mdc_set_write_width
	ldp	w9, w8, [x20, #4]
	b	LBB0_8
LBB0_6:
Lloh39:
	adrp	x8, _DMA_DEV_TO_MEM@GOTPAGE
Lloh40:
	ldr	x8, [x8, _DMA_DEV_TO_MEM@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	cmp	w8, w22
	b.ne	LBB0_9
; %bb.7:
Lloh42:
	adrp	x8, _MDC_GENERAL_CONFIG_INC_W@GOTPAGE
Lloh43:
	ldr	x8, [x8, _MDC_GENERAL_CONFIG_INC_W@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	ldp	w9, w10, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
Lloh45:
	adrp	x8, _MDC_READ_PORT_CONFIG_DREQ_ENABLE@GOTPAGE
Lloh46:
	ldr	x8, [x8, _MDC_READ_PORT_CONFIG_DREQ_ENABLE@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	orr	w8, w10, w8
	str	w8, [x19, #4]
	ldr	w1, [x20, #12]
	mov	x0, x19
	bl	_mdc_set_read_width
	ldr	w1, [x23]
	mov	x0, x19
	bl	_mdc_set_write_width
	ldp	w9, w8, [x20, #12]
LBB0_8:
	mul	w1, w9, w8
	mov	x0, x21
	bl	_min
	mov	x21, x0
	b	LBB0_10
LBB0_9:
Lloh48:
	adrp	x8, _MDC_GENERAL_CONFIG_INC_R@GOTPAGE
Lloh49:
	ldr	x8, [x8, _MDC_GENERAL_CONFIG_INC_R@GOTPAGEOFF]
Lloh50:
	adrp	x9, _MDC_GENERAL_CONFIG_INC_W@GOTPAGE
Lloh51:
	ldr	x9, [x9, _MDC_GENERAL_CONFIG_INC_W@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
Lloh53:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x19]
	orr	w8, w8, w9
	str	w8, [x19]
	mov	x0, x19
	bl	_mdc_set_read_width
	ldr	w1, [x23]
	mov	x0, x19
	bl	_mdc_set_write_width
LBB0_10:
Lloh54:
	adrp	x8, _MDC_READ_PORT_CONFIG_BURST_SIZE_SHIFT@GOTPAGE
Lloh55:
	ldr	x8, [x8, _MDC_READ_PORT_CONFIG_BURST_SIZE_SHIFT@GOTPAGEOFF]
	sub	w9, w21, #1
Lloh56:
	ldr	w8, [x8]
	lsl	w8, w9, w8
	ldr	w9, [x19, #4]
	orr	w8, w9, w8
	str	w8, [x19, #4]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh52
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.cfi_endproc
                                        ; -- End function
	.comm	_MDC_GENERAL_CONFIG_IEN,4,2     ; @MDC_GENERAL_CONFIG_IEN
	.comm	_MDC_GENERAL_CONFIG_LIST_IEN,4,2 ; @MDC_GENERAL_CONFIG_LIST_IEN
	.comm	_MDC_GENERAL_CONFIG_LEVEL_INT,4,2 ; @MDC_GENERAL_CONFIG_LEVEL_INT
	.comm	_MDC_GENERAL_CONFIG_PHYSICAL_W,4,2 ; @MDC_GENERAL_CONFIG_PHYSICAL_W
	.comm	_MDC_GENERAL_CONFIG_PHYSICAL_R,4,2 ; @MDC_GENERAL_CONFIG_PHYSICAL_R
	.comm	_MDC_READ_PORT_CONFIG_STHREAD_SHIFT,4,2 ; @MDC_READ_PORT_CONFIG_STHREAD_SHIFT
	.comm	_MDC_READ_PORT_CONFIG_RTHREAD_SHIFT,4,2 ; @MDC_READ_PORT_CONFIG_RTHREAD_SHIFT
	.comm	_MDC_READ_PORT_CONFIG_WTHREAD_SHIFT,4,2 ; @MDC_READ_PORT_CONFIG_WTHREAD_SHIFT
	.comm	_MDC_CONTROL_AND_STATUS_LIST_EN,4,2 ; @MDC_CONTROL_AND_STATUS_LIST_EN
	.comm	_MDC_CONTROL_AND_STATUS_EN,4,2  ; @MDC_CONTROL_AND_STATUS_EN
	.comm	_DMA_MEM_TO_DEV,4,2             ; @DMA_MEM_TO_DEV
	.comm	_MDC_GENERAL_CONFIG_INC_R,4,2   ; @MDC_GENERAL_CONFIG_INC_R
	.comm	_MDC_READ_PORT_CONFIG_DREQ_ENABLE,4,2 ; @MDC_READ_PORT_CONFIG_DREQ_ENABLE
	.comm	_DMA_DEV_TO_MEM,4,2             ; @DMA_DEV_TO_MEM
	.comm	_MDC_GENERAL_CONFIG_INC_W,4,2   ; @MDC_GENERAL_CONFIG_INC_W
	.comm	_MDC_READ_PORT_CONFIG_BURST_SIZE_SHIFT,4,2 ; @MDC_READ_PORT_CONFIG_BURST_SIZE_SHIFT
	.no_dead_strip	_mdc_list_desc_config
.subsections_via_symbols
