	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qxl_display_read_client_monitors_config ## -- Begin function qxl_display_read_client_monitors_config
	.p2align	4, 0x90
_qxl_display_read_client_monitors_config: ## @qxl_display_read_client_monitors_config
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_qxl_display_copy_rom_client_monitors_config
	movl	%eax, %ebx
	movq	_MONITORS_CONFIG_BAD_CRC@GOTPCREL(%rip), %r15
	cmpl	(%r15), %eax
	jne	LBB0_11
## %bb.1:
	movl	$5, %edi
	callq	_udelay
	movq	%r14, %rdi
	callq	_qxl_display_copy_rom_client_monitors_config
	movl	%eax, %ebx
	cmpl	(%r15), %eax
	jne	LBB0_11
## %bb.2:
	movl	$5, %edi
	callq	_udelay
	movq	%r14, %rdi
	callq	_qxl_display_copy_rom_client_monitors_config
	movl	%eax, %ebx
	cmpl	(%r15), %eax
	jne	LBB0_11
## %bb.3:
	movl	$5, %edi
	callq	_udelay
	movq	%r14, %rdi
	callq	_qxl_display_copy_rom_client_monitors_config
	movl	%eax, %ebx
	cmpl	(%r15), %eax
	jne	LBB0_11
## %bb.4:
	movl	$5, %edi
	callq	_udelay
	movq	%r14, %rdi
	callq	_qxl_display_copy_rom_client_monitors_config
	movl	%eax, %ebx
	cmpl	(%r15), %eax
	jne	LBB0_11
## %bb.5:
	movl	$5, %edi
	callq	_udelay
	movq	%r14, %rdi
	callq	_qxl_display_copy_rom_client_monitors_config
	movl	%eax, %ebx
	cmpl	(%r15), %eax
	jne	LBB0_11
## %bb.6:
	movl	$5, %edi
	callq	_udelay
	movq	%r14, %rdi
	callq	_qxl_display_copy_rom_client_monitors_config
	movl	%eax, %ebx
	cmpl	(%r15), %eax
	jne	LBB0_11
## %bb.7:
	movl	$5, %edi
	callq	_udelay
	movq	%r14, %rdi
	callq	_qxl_display_copy_rom_client_monitors_config
	movl	%eax, %ebx
	cmpl	(%r15), %eax
	jne	LBB0_11
## %bb.8:
	movl	$5, %edi
	callq	_udelay
	movq	%r14, %rdi
	callq	_qxl_display_copy_rom_client_monitors_config
	movl	%eax, %ebx
	cmpl	(%r15), %eax
	jne	LBB0_11
## %bb.9:
	movl	$5, %edi
	callq	_udelay
	movq	%r14, %rdi
	callq	_qxl_display_copy_rom_client_monitors_config
	movl	%eax, %ebx
	cmpl	(%r15), %eax
	jne	LBB0_11
## %bb.10:
	movl	$5, %edi
	callq	_udelay
LBB0_11:
	movq	_MONITORS_CONFIG_ERROR@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_14
## %bb.12:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_13
LBB0_14:
	cmpl	(%r15), %ebx
	jne	LBB0_16
## %bb.15:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_13
LBB0_16:
	movq	_MONITORS_CONFIG_UNCHANGED@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_18
## %bb.17:
	leaq	L_.str.2(%rip), %rdi
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DRM_DEBUG_KMS                  ## TAILCALL
LBB0_18:
	movq	%r14, %rdi
	callq	_drm_modeset_lock_all
	movq	%r14, %rdi
	callq	_qxl_update_offset_props
	movq	%r14, %rdi
	callq	_drm_modeset_unlock_all
	movq	%r14, %rdi
	callq	_drm_helper_hpd_irq_event
	testl	%eax, %eax
	je	LBB0_20
## %bb.19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_drm_kms_helper_hotplug_event   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MONITORS_CONFIG_BAD_CRC,4,2    ## @MONITORS_CONFIG_BAD_CRC
	.comm	_MONITORS_CONFIG_ERROR,4,2      ## @MONITORS_CONFIG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ignoring client monitors config: error"

L_.str.1:                               ## @.str.1
	.asciz	"ignoring client monitors config: bad crc"

	.comm	_MONITORS_CONFIG_UNCHANGED,4,2  ## @MONITORS_CONFIG_UNCHANGED
L_.str.2:                               ## @.str.2
	.asciz	"ignoring client monitors config: unchanged"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qxl_display_read_client_monitors_config ; -- Begin function qxl_display_read_client_monitors_config
	.p2align	2
_qxl_display_read_client_monitors_config: ; @qxl_display_read_client_monitors_config
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	bl	_qxl_display_copy_rom_client_monitors_config
	mov	x20, x0
Lloh0:
	adrp	x21, _MONITORS_CONFIG_BAD_CRC@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MONITORS_CONFIG_BAD_CRC@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_11
; %bb.1:
	mov	w0, #5
	bl	_udelay
	mov	x0, x19
	bl	_qxl_display_copy_rom_client_monitors_config
	mov	x20, x0
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_11
; %bb.2:
	mov	w0, #5
	bl	_udelay
	mov	x0, x19
	bl	_qxl_display_copy_rom_client_monitors_config
	mov	x20, x0
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_11
; %bb.3:
	mov	w0, #5
	bl	_udelay
	mov	x0, x19
	bl	_qxl_display_copy_rom_client_monitors_config
	mov	x20, x0
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_11
; %bb.4:
	mov	w0, #5
	bl	_udelay
	mov	x0, x19
	bl	_qxl_display_copy_rom_client_monitors_config
	mov	x20, x0
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_11
; %bb.5:
	mov	w0, #5
	bl	_udelay
	mov	x0, x19
	bl	_qxl_display_copy_rom_client_monitors_config
	mov	x20, x0
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_11
; %bb.6:
	mov	w0, #5
	bl	_udelay
	mov	x0, x19
	bl	_qxl_display_copy_rom_client_monitors_config
	mov	x20, x0
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_11
; %bb.7:
	mov	w0, #5
	bl	_udelay
	mov	x0, x19
	bl	_qxl_display_copy_rom_client_monitors_config
	mov	x20, x0
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_11
; %bb.8:
	mov	w0, #5
	bl	_udelay
	mov	x0, x19
	bl	_qxl_display_copy_rom_client_monitors_config
	mov	x20, x0
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_11
; %bb.9:
	mov	w0, #5
	bl	_udelay
	mov	x0, x19
	bl	_qxl_display_copy_rom_client_monitors_config
	mov	x20, x0
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_11
; %bb.10:
	mov	w0, #5
	bl	_udelay
LBB0_11:
Lloh2:
	adrp	x8, _MONITORS_CONFIG_ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MONITORS_CONFIG_ERROR@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w20, w8
	b.ne	LBB0_13
; %bb.12:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_17
LBB0_13:
	ldr	w8, [x21]
	cmp	w20, w8
	b.ne	LBB0_15
; %bb.14:
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_17
LBB0_15:
Lloh9:
	adrp	x8, _MONITORS_CONFIG_UNCHANGED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MONITORS_CONFIG_UNCHANGED@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w20, w8
	b.ne	LBB0_18
; %bb.16:
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_17:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_DRM_DEBUG_KMS
LBB0_18:
	mov	x0, x19
	bl	_drm_modeset_lock_all
	mov	x0, x19
	bl	_qxl_update_offset_props
	mov	x0, x19
	bl	_drm_modeset_unlock_all
	mov	x0, x19
	bl	_drm_helper_hpd_irq_event
	cbz	w0, LBB0_20
; %bb.19:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_20:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_drm_kms_helper_hotplug_event
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_MONITORS_CONFIG_BAD_CRC,4,2    ; @MONITORS_CONFIG_BAD_CRC
	.comm	_MONITORS_CONFIG_ERROR,4,2      ; @MONITORS_CONFIG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ignoring client monitors config: error"

l_.str.1:                               ; @.str.1
	.asciz	"ignoring client monitors config: bad crc"

	.comm	_MONITORS_CONFIG_UNCHANGED,4,2  ; @MONITORS_CONFIG_UNCHANGED
l_.str.2:                               ; @.str.2
	.asciz	"ignoring client monitors config: unchanged"

.subsections_via_symbols
