	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dcn20_mmhubbub_create          ## -- Begin function dcn20_mmhubbub_create
	.p2align	4, 0x90
_dcn20_mmhubbub_create:                 ## @dcn20_mmhubbub_create
	.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	%rsi, %rbx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rsi), %rax
	movl	(%rax), %r13d
	xorl	%edi, %edi
	testl	%r13d, %r13d
	setg	%dil
	callq	_ASSERT
	movl	$1, %eax
	testl	%r13d, %r13d
	jle	LBB0_6
## %bb.1:
	shlq	$2, %r13
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r12
	movq	_mcif_wb20_regs@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	addq	%r14, %rdx
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	_mcif_wb20_shift@GOTPCREL(%rip), %rcx
	movq	_mcif_wb20_mask@GOTPCREL(%rip), %r8
	movl	%r15d, %r9d
	callq	_dcn20_mmhubbub_construct
	movq	(%rbx), %rax
	movq	%r12, (%rax,%r14,2)
	incl	%r15d
	addq	$4, %r14
	cmpq	%r14, %r13
	jne	LBB0_2
## %bb.5:
	movl	$1, %eax
	jmp	LBB0_6
LBB0_3:
	leaq	L_.str(%rip), %rdi
	callq	_dm_error
	xorl	%eax, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DC: failed to create mcif_wb20!\n"

	.comm	_mcif_wb20_regs,8,3             ## @mcif_wb20_regs
	.comm	_mcif_wb20_shift,4,2            ## @mcif_wb20_shift
	.comm	_mcif_wb20_mask,4,2             ## @mcif_wb20_mask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dcn20_mmhubbub_create          ; -- Begin function dcn20_mmhubbub_create
	.p2align	2
_dcn20_mmhubbub_create:                 ; @dcn20_mmhubbub_create
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x1, #8]
	ldr	w25, [x8]
	cmp	w25, #0
	cset	w0, gt
	bl	_ASSERT
	cmp	w25, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x21, #0
Lloh0:
	adrp	x26, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x26, [x26, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	adrp	x27, _mcif_wb20_regs@GOTPAGE
Lloh3:
	ldr	x27, [x27, _mcif_wb20_regs@GOTPAGEOFF]
Lloh4:
	adrp	x22, _mcif_wb20_shift@GOTPAGE
Lloh5:
	ldr	x22, [x22, _mcif_wb20_shift@GOTPAGEOFF]
Lloh6:
	adrp	x23, _mcif_wb20_mask@GOTPAGE
Lloh7:
	ldr	x23, [x23, _mcif_wb20_mask@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x26]
	mov	w0, #4
	bl	_kzalloc
	cbz	x0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x24, x0
	ldr	x8, [x27]
	add	x2, x8, x21, lsl #2
	mov	x1, x20
	mov	x3, x22
	mov	x4, x23
	mov	x5, x21
	bl	_dcn20_mmhubbub_construct
	ldr	x8, [x19]
	str	x24, [x8, x21, lsl #3]
	add	x21, x21, #1
	cmp	x21, x25
	b.ne	LBB0_2
LBB0_4:
	mov	w0, #1
	b	LBB0_6
LBB0_5:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dm_error
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DC: failed to create mcif_wb20!\n"

	.comm	_mcif_wb20_regs,8,3             ; @mcif_wb20_regs
	.comm	_mcif_wb20_shift,4,2            ; @mcif_wb20_shift
	.comm	_mcif_wb20_mask,4,2             ; @mcif_wb20_mask
.subsections_via_symbols
