	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qdev_output_init
_qdev_output_init:                      ## @qdev_output_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movq	%rdi, %r14
	movq	8(%rdi), %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$16, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movl	%r12d, (%rax)
	leaq	8(%rax), %r13
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movq	%rax, %r12
	addq	$4, %r12
	movq	_DRM_MODE_CONNECTOR_VIRTUAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_qxl_connector_funcs@GOTPCREL(%rip), %rdx
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_drm_connector_init
	movq	_DRM_MODE_ENCODER_VIRTUAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_qxl_enc_funcs@GOTPCREL(%rip), %rdx
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	movq	%r12, %rsi
	xorl	%r8d, %r8d
	callq	_drm_encoder_init
	movq	_DRM_CONNECTOR_POLL_HPD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movl	$1, %eax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	movl	%eax, 4(%rbx)
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_drm_connector_attach_encoder
	movq	_qxl_enc_helper_funcs@GOTPCREL(%rip), %rsi
	movq	%r12, %rdi
	callq	_drm_encoder_helper_add
	movq	_qxl_connector_helper_funcs@GOTPCREL(%rip), %rsi
	movq	%r13, %rdi
	callq	_drm_connector_helper_add
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_drm_object_attach_property
	movl	4(%r14), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_drm_object_attach_property
	movl	(%r14), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_drm_object_attach_property
	jmp	LBB0_3
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_3:
	movl	%r15d, %eax
	addq	$24, %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
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_qxl_connector_funcs,4,2        ## @qxl_connector_funcs
	.comm	_DRM_MODE_CONNECTOR_VIRTUAL,4,2 ## @DRM_MODE_CONNECTOR_VIRTUAL
	.comm	_qxl_enc_funcs,4,2              ## @qxl_enc_funcs
	.comm	_DRM_MODE_ENCODER_VIRTUAL,4,2   ## @DRM_MODE_ENCODER_VIRTUAL
	.comm	_DRM_CONNECTOR_POLL_HPD,4,2     ## @DRM_CONNECTOR_POLL_HPD
	.comm	_qxl_enc_helper_funcs,4,2       ## @qxl_enc_helper_funcs
	.comm	_qxl_connector_helper_funcs,4,2 ## @qxl_connector_helper_funcs
	.no_dead_strip	_qdev_output_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qdev_output_init
_qdev_output_init:                      ; @qdev_output_init
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x1
	mov	x19, x0
	ldr	x24, [x0, #8]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #16
	bl	_kzalloc
	cbz	x0, LBB0_2
; %bb.1:
	mov	x22, x0
	str	w21, [x0]
	add	x20, x0, #8
	add	x23, x0, #4
Lloh3:
	adrp	x8, _DRM_MODE_CONNECTOR_VIRTUAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DRM_MODE_CONNECTOR_VIRTUAL@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
Lloh6:
	adrp	x2, _qxl_connector_funcs@GOTPAGE
Lloh7:
	ldr	x2, [x2, _qxl_connector_funcs@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, x20
	bl	_drm_connector_init
Lloh8:
	adrp	x8, _DRM_MODE_ENCODER_VIRTUAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DRM_MODE_ENCODER_VIRTUAL@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
Lloh11:
	adrp	x2, _qxl_enc_funcs@GOTPAGE
Lloh12:
	ldr	x2, [x2, _qxl_enc_funcs@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, x23
	mov	x4, #0
	bl	_drm_encoder_init
Lloh13:
	adrp	x8, _DRM_CONNECTOR_POLL_HPD@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DRM_CONNECTOR_POLL_HPD@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [x22, #12]
	mov	w8, #1
	lsl	w8, w8, w21
	str	w8, [x22, #4]
	mov	x0, x20
	mov	x1, x23
	bl	_drm_connector_attach_encoder
Lloh16:
	adrp	x1, _qxl_enc_helper_funcs@GOTPAGE
Lloh17:
	ldr	x1, [x1, _qxl_enc_helper_funcs@GOTPAGEOFF]
	mov	x0, x23
	bl	_drm_encoder_helper_add
Lloh18:
	adrp	x1, _qxl_connector_helper_funcs@GOTPAGE
Lloh19:
	ldr	x1, [x1, _qxl_connector_helper_funcs@GOTPAGEOFF]
	mov	x0, x20
	bl	_drm_connector_helper_add
	ldr	w1, [x24]
	mov	x0, x20
	mov	w2, #0
	bl	_drm_object_attach_property
	ldr	w1, [x19, #4]
	mov	x0, x20
	mov	w2, #0
	bl	_drm_object_attach_property
	ldr	w1, [x19]
	mov	x0, x20
	mov	w2, #0
	bl	_drm_object_attach_property
	mov	w0, #0
	b	LBB0_3
LBB0_2:
Lloh20:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_qxl_connector_funcs,4,2        ; @qxl_connector_funcs
	.comm	_DRM_MODE_CONNECTOR_VIRTUAL,4,2 ; @DRM_MODE_CONNECTOR_VIRTUAL
	.comm	_qxl_enc_funcs,4,2              ; @qxl_enc_funcs
	.comm	_DRM_MODE_ENCODER_VIRTUAL,4,2   ; @DRM_MODE_ENCODER_VIRTUAL
	.comm	_DRM_CONNECTOR_POLL_HPD,4,2     ; @DRM_CONNECTOR_POLL_HPD
	.comm	_qxl_enc_helper_funcs,4,2       ; @qxl_enc_helper_funcs
	.comm	_qxl_connector_helper_funcs,4,2 ; @qxl_connector_helper_funcs
	.no_dead_strip	_qdev_output_init
.subsections_via_symbols
