	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dc_create                      ## -- Begin function dc_create
	.p2align	4, 0x90
_dc_create:                             ## @dc_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$56, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_construct
	testl	%eax, %eax
	je	LBB0_5
## %bb.2:
	movq	%rbx, %rdi
	callq	*48(%rbx)
	movq	8(%rbx), %rax
	movq	8(%rax), %rcx
	movq	_NO_UNDERLAY_PIPE@GOTPCREL(%rip), %rdx
	xorl	%esi, %esi
	cmpq	(%rdx), %rcx
	movl	(%rax), %edi
	setne	%sil
	subl	%esi, %edi
	movl	28(%rax), %esi
	callq	_min
	movl	%eax, 36(%rbx)
	movl	40(%rbx), %eax
	movl	%eax, 32(%rbx)
	movq	8(%rbx), %rax
	movl	24(%rax), %ecx
	movl	%ecx, 28(%rbx)
	movl	$64, 24(%rbx)
	movq	_DC_VER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 20(%rbx)
	movq	16(%rax), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
LBB0_4:
	movq	_DC_BUILD_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	leaq	L_.str(%rip), %rdi
	callq	_DC_LOG_DC
	jmp	LBB0_7
LBB0_5:
	movq	%rbx, %rdi
	callq	_kfree
LBB0_6:
	xorl	%ebx, %ebx
LBB0_7:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_NO_UNDERLAY_PIPE,8,3           ## @NO_UNDERLAY_PIPE
	.comm	_DC_VER,4,2                     ## @DC_VER
	.comm	_DC_BUILD_ID,4,2                ## @DC_BUILD_ID
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Display Core initialized\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dc_create                      ; -- Begin function dc_create
	.p2align	2
_dc_create:                             ; @dc_create
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #56
	bl	_kzalloc
	mov	x19, x0
	cbz	x0, LBB0_6
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	bl	_construct
	cbz	w0, LBB0_5
; %bb.2:
	ldr	x8, [x19, #48]
	mov	x0, x19
	blr	x8
	ldr	x8, [x19, #8]
	ldr	w9, [x8]
Lloh3:
	adrp	x10, _NO_UNDERLAY_PIPE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _NO_UNDERLAY_PIPE@GOTPAGEOFF]
	ldr	x11, [x8, #8]
Lloh5:
	ldr	x10, [x10]
	cmp	x11, x10
	cset	w10, ne
	sub	w0, w9, w10
	ldr	w1, [x8, #28]
	bl	_min
	str	w0, [x19, #36]
	ldr	w8, [x19, #40]
	ldr	x9, [x19, #8]
	ldr	w10, [x9, #24]
	stp	w10, w8, [x19, #28]
	mov	w8, #64
Lloh6:
	adrp	x10, _DC_VER@GOTPAGE
Lloh7:
	ldr	x10, [x10, _DC_VER@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	stp	w10, w8, [x19, #20]
	ldr	x8, [x9, #16]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w8, [x8]
	str	w8, [x19, #16]
LBB0_4:
Lloh9:
	adrp	x8, _DC_BUILD_ID@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DC_BUILD_ID@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x19]
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DC_LOG_DC
	b	LBB0_6
LBB0_5:
	mov	x0, x19
	bl	_kfree
	mov	x19, #0
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_NO_UNDERLAY_PIPE,8,3           ; @NO_UNDERLAY_PIPE
	.comm	_DC_VER,4,2                     ; @DC_VER
	.comm	_DC_BUILD_ID,4,2                ; @DC_BUILD_ID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Display Core initialized\n"

.subsections_via_symbols
