	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mxm_ddc_map                    ## -- Begin function mxm_ddc_map
	.p2align	4, 0x90
_mxm_ddc_map:                           ## @mxm_ddc_map
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	leaq	-32(%rbp), %rsi
	leaq	-28(%rbp), %rdx
	callq	_mxm_table
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	cmpl	$8, -28(%rbp)
	jl	LBB0_7
## %bb.2:
	addl	$6, %eax
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_nv_ro16
	testl	%eax, %eax
	je	LBB0_7
## %bb.3:
	movl	%eax, %r15d
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_nv_ro08
	movl	%eax, -32(%rbp)
	cmpl	$16, %eax
	jne	LBB0_6
## %bb.4:
	leal	3(%r15), %esi
	movq	%rbx, %rdi
	callq	_nv_ro08
	movl	%eax, %ecx
	xorl	%eax, %eax
	cmpl	%r14d, %ecx
	jle	LBB0_8
## %bb.5:
	leal	1(%r15), %esi
	movq	%rbx, %rdi
	callq	_nv_ro08
	addl	%r15d, %r14d
	addl	%eax, %r14d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_nv_ro08
	jmp	LBB0_8
LBB0_6:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_nv_warn
LBB0_7:
	movl	%r14d, %eax
	shll	$4, %eax
	orl	%r14d, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown ddc map v%02x\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mxm_ddc_map                    ; -- Begin function mxm_ddc_map
	.p2align	2
_mxm_ddc_map:                           ; @mxm_ddc_map
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
	add	x1, sp, #12
	add	x2, sp, #8
	bl	_mxm_table
	cbz	w0, LBB0_7
; %bb.1:
	ldr	w8, [sp, #8]
	cmp	w8, #8
	b.lt	LBB0_7
; %bb.2:
	add	w1, w0, #6
	mov	x0, x20
	bl	_nv_ro16
	cbz	w0, LBB0_7
; %bb.3:
	mov	x21, x0
	mov	x0, x20
	mov	x1, x21
	bl	_nv_ro08
	str	w0, [sp, #12]
	cmp	w0, #16
	b.ne	LBB0_6
; %bb.4:
	add	w1, w21, #3
	mov	x0, x20
	bl	_nv_ro08
	cmp	w0, w19
	b.le	LBB0_9
; %bb.5:
	add	w1, w21, #1
	mov	x0, x20
	bl	_nv_ro08
	add	w8, w21, w19
	add	w1, w8, w0
	mov	x0, x20
	bl	_nv_ro08
	b	LBB0_8
LBB0_6:
	mov	x2, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_nv_warn
LBB0_7:
	orr	w0, w19, w19, lsl #4
LBB0_8:
	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
	add	sp, sp, #64
	ret
LBB0_9:
	mov	w0, #0
	b	LBB0_8
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown ddc map v%02x\n"

.subsections_via_symbols
