	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mxm_dcb_sanitise
_mxm_dcb_sanitise:                      ## @mxm_dcb_sanitise
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_nouveau_bios
	movq	%rax, %rbx
	leaq	-20(%rbp), %rsi
	leaq	-32(%rbp), %rdx
	leaq	-28(%rbp), %rcx
	leaq	-24(%rbp), %r8
	movq	%rax, %rdi
	callq	_dcb_table
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	cmpl	$64, -20(%rbp)
	jne	LBB0_2
## %bb.3:
	movq	_mxm_dcb_sanitise_entry@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_dcb_outp_foreach
	movq	_mxm_show_unmatched@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$1, %esi
	xorl	%ecx, %ecx
	callq	_mxms_foreach
	jmp	LBB0_4
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_nv_debug
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unsupported DCB version\n"

	.comm	_mxm_dcb_sanitise_entry,4,2     ## @mxm_dcb_sanitise_entry
	.comm	_mxm_show_unmatched,4,2         ## @mxm_show_unmatched
	.no_dead_strip	_mxm_dcb_sanitise
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mxm_dcb_sanitise
_mxm_dcb_sanitise:                      ; @mxm_dcb_sanitise
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	bl	_nouveau_bios
	mov	x20, x0
	add	x1, sp, #12
	add	x2, sp, #8
	add	x3, sp, #4
	mov	x4, sp
	bl	_dcb_table
	cbz	w0, LBB0_3
; %bb.1:
	ldr	w8, [sp, #12]
	cmp	w8, #64
	b.ne	LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _mxm_dcb_sanitise_entry@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mxm_dcb_sanitise_entry@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, #0
	bl	_dcb_outp_foreach
Lloh3:
	adrp	x8, _mxm_show_unmatched@GOTPAGE
Lloh4:
	ldr	x8, [x8, _mxm_show_unmatched@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #1
	mov	x3, #0
	bl	_mxms_foreach
	b	LBB0_4
LBB0_3:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_nv_debug
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unsupported DCB version\n"

	.comm	_mxm_dcb_sanitise_entry,4,2     ; @mxm_dcb_sanitise_entry
	.comm	_mxm_show_unmatched,4,2         ; @mxm_show_unmatched
	.no_dead_strip	_mxm_dcb_sanitise
.subsections_via_symbols
