	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vmw_kms_init                   ## -- Begin function vmw_kms_init
	.p2align	4, 0x90
_vmw_kms_init:                          ## @vmw_kms_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, %r14
	movq	8(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_drm_mode_config_init
	movq	_vmw_kms_funcs@GOTPCREL(%rip), %rax
	movq	%rax, 16(%rbx)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, (%rbx)
	movl	4(%r14), %eax
	movl	%eax, 12(%rbx)
	movl	(%r14), %eax
	movl	%eax, 8(%rbx)
	movq	%rbx, %rdi
	callq	_drm_mode_create_suggested_offset_properties
	movq	%r14, %rdi
	callq	_vmw_kms_create_hotplug_mode_update_property
	movq	%r14, %rdi
	callq	_vmw_kms_stdu_init_display
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_vmw_kms_sou_init_display
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_vmw_kms_ldu_init_display       ## TAILCALL
LBB0_2:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_vmw_kms_funcs,4,2              ## @vmw_kms_funcs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vmw_kms_init                   ; -- Begin function vmw_kms_init
	.p2align	2
_vmw_kms_init:                          ; @vmw_kms_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
	ldr	x20, [x0, #8]
	mov	x0, x20
	bl	_drm_mode_config_init
Lloh0:
	adrp	x8, _vmw_kms_funcs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _vmw_kms_funcs@GOTPAGEOFF]
	str	x8, [x20, #16]
	movi.2s	v0, #1
	str	d0, [x20]
	ldr	d0, [x19]
	str	d0, [x20, #8]
	mov	x0, x20
	bl	_drm_mode_create_suggested_offset_properties
	mov	x0, x19
	bl	_vmw_kms_create_hotplug_mode_update_property
	mov	x0, x19
	bl	_vmw_kms_stdu_init_display
	cbz	w0, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_vmw_kms_sou_init_display
	cbz	w0, LBB0_3
; %bb.2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_vmw_kms_ldu_init_display
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_vmw_kms_funcs,4,2              ; @vmw_kms_funcs
.subsections_via_symbols
