	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bochs_connector_init
_bochs_connector_init:                  ## @bochs_connector_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
	leaq	8(%r14), %rbx
	movq	_DRM_MODE_CONNECTOR_VIRTUAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_bochs_connector_connector_funcs@GOTPCREL(%rip), %rdx
	movq	%rbx, %rsi
	callq	_drm_connector_init
	movq	_bochs_connector_connector_helper_funcs@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_drm_connector_helper_add
	movq	%rbx, %rdi
	callq	_drm_connector_register
	movq	%r14, %rdi
	callq	_bochs_hw_load_edid
	cmpq	$0, (%r14)
	je	LBB0_1
## %bb.2:
	leaq	L_.str(%rip), %rdi
	callq	_DRM_INFO
	movq	%rbx, %rdi
	callq	_drm_connector_attach_edid_property
	movq	(%r14), %rsi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_drm_connector_update_edid_property ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bochs_connector_connector_funcs,4,2 ## @bochs_connector_connector_funcs
	.comm	_DRM_MODE_CONNECTOR_VIRTUAL,4,2 ## @DRM_MODE_CONNECTOR_VIRTUAL
	.comm	_bochs_connector_connector_helper_funcs,4,2 ## @bochs_connector_connector_helper_funcs
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Found EDID data blob.\n"

	.no_dead_strip	_bochs_connector_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bochs_connector_init
_bochs_connector_init:                  ; @bochs_connector_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
	ldr	x19, [x0]
	add	x20, x19, #8
Lloh0:
	adrp	x8, _DRM_MODE_CONNECTOR_VIRTUAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DRM_MODE_CONNECTOR_VIRTUAL@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
Lloh3:
	adrp	x2, _bochs_connector_connector_funcs@GOTPAGE
Lloh4:
	ldr	x2, [x2, _bochs_connector_connector_funcs@GOTPAGEOFF]
	mov	x1, x20
	bl	_drm_connector_init
Lloh5:
	adrp	x1, _bochs_connector_connector_helper_funcs@GOTPAGE
Lloh6:
	ldr	x1, [x1, _bochs_connector_connector_helper_funcs@GOTPAGEOFF]
	mov	x0, x20
	bl	_drm_connector_helper_add
	mov	x0, x20
	bl	_drm_connector_register
	mov	x0, x19
	bl	_bochs_hw_load_edid
	ldr	x8, [x19]
	cbz	x8, LBB0_2
; %bb.1:
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_INFO
	mov	x0, x20
	bl	_drm_connector_attach_edid_property
	ldr	x1, [x19]
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_drm_connector_update_edid_property
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_bochs_connector_connector_funcs,4,2 ; @bochs_connector_connector_funcs
	.comm	_DRM_MODE_CONNECTOR_VIRTUAL,4,2 ; @DRM_MODE_CONNECTOR_VIRTUAL
	.comm	_bochs_connector_connector_helper_funcs,4,2 ; @bochs_connector_connector_helper_funcs
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Found EDID data blob.\n"

	.no_dead_strip	_bochs_connector_init
.subsections_via_symbols
