	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function amdgpu_dm_mode_config_init
LCPI0_0:
	.long	16384                           ## 0x4000
	.long	16384                           ## 0x4000
	.long	24                              ## 0x18
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_amdgpu_dm_mode_config_init:            ## @amdgpu_dm_mode_config_init
	.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, %rbx
	movl	$1, 20(%rdi)
	movq	8(%rdi), %rax
	movq	_amdgpu_dm_mode_funcs@GOTPCREL(%rip), %rcx
	movq	%rcx, 32(%rax)
	movq	_amdgpu_dm_mode_config_helperfuncs@GOTPCREL(%rip), %rcx
	movq	%rcx, 24(%rax)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [16384,16384,24,1]
	movups	%xmm0, (%rax)
	movl	$1, 16(%rax)
	movl	16(%rdi), %ecx
	movl	%ecx, 20(%rax)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$8, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movl	4(%rbx), %edi
	callq	_dc_create_state
	movl	%eax, 4(%r14)
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	4(%rbx), %edi
	movl	%eax, %esi
	callq	_dc_resource_state_copy_construct_current
	movq	8(%rbx), %rdi
	movq	_dm_atomic_state_funcs@GOTPCREL(%rip), %rcx
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_drm_atomic_private_obj_init
	movq	%rbx, %rdi
	callq	_amdgpu_display_modeset_create_props
	testl	%eax, %eax
	jne	LBB0_5
## %bb.6:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_amdgpu_dm_audio_init           ## TAILCALL
LBB0_3:
	movq	%r14, %rdi
	callq	_kfree
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_amdgpu_dm_mode_funcs,4,2       ## @amdgpu_dm_mode_funcs
	.comm	_amdgpu_dm_mode_config_helperfuncs,4,2 ## @amdgpu_dm_mode_config_helperfuncs
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_dm_atomic_state_funcs,4,2      ## @dm_atomic_state_funcs
	.no_dead_strip	_amdgpu_dm_mode_config_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function amdgpu_dm_mode_config_init
lCPI0_0:
	.long	16384                           ; 0x4000
	.long	16384                           ; 0x4000
	.long	24                              ; 0x18
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_amdgpu_dm_mode_config_init:            ; @amdgpu_dm_mode_config_init
	.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	x19, x0
	mov	w8, #1
	str	w8, [x0, #20]
Lloh0:
	adrp	x9, _amdgpu_dm_mode_funcs@GOTPAGE
Lloh1:
	ldr	x9, [x9, _amdgpu_dm_mode_funcs@GOTPAGEOFF]
Lloh2:
	adrp	x10, _amdgpu_dm_mode_config_helperfuncs@GOTPAGE
Lloh3:
	ldr	x10, [x10, _amdgpu_dm_mode_config_helperfuncs@GOTPAGEOFF]
	ldr	x11, [x0, #8]
	stp	x10, x9, [x11, #24]
Lloh4:
	adrp	x9, lCPI0_0@PAGE
Lloh5:
	ldr	q0, [x9, lCPI0_0@PAGEOFF]
	str	q0, [x11]
	ldr	w9, [x0, #16]
	stp	w8, w9, [x11, #16]
Lloh6:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	w0, #8
	bl	_kzalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
	ldr	w0, [x19, #4]
	bl	_dc_create_state
	str	w0, [x20, #4]
	cbz	w0, LBB0_4
; %bb.2:
	mov	x1, x0
	ldr	w0, [x19, #4]
	bl	_dc_resource_state_copy_construct_current
	ldr	x0, [x19, #8]
Lloh9:
	adrp	x3, _dm_atomic_state_funcs@GOTPAGE
Lloh10:
	ldr	x3, [x3, _dm_atomic_state_funcs@GOTPAGEOFF]
	mov	x1, x19
	mov	x2, x20
	bl	_drm_atomic_private_obj_init
	mov	x0, x19
	bl	_amdgpu_display_modeset_create_props
	cbnz	w0, LBB0_6
; %bb.3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_amdgpu_dm_audio_init
LBB0_4:
	mov	x0, x20
	bl	_kfree
LBB0_5:
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdr	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_amdgpu_dm_mode_funcs,4,2       ; @amdgpu_dm_mode_funcs
	.comm	_amdgpu_dm_mode_config_helperfuncs,4,2 ; @amdgpu_dm_mode_config_helperfuncs
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_dm_atomic_state_funcs,4,2      ; @dm_atomic_state_funcs
	.no_dead_strip	_amdgpu_dm_mode_config_init
.subsections_via_symbols
