	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qxl_update_dumb_head
_qxl_update_dumb_head:                  ## @qxl_update_dumb_head
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %rax
	cmpl	%esi, (%rax)
	jle	LBB0_8
## %bb.1:
	movq	%rdi, %r12
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.3:
	cmpq	$0, 16(%rdx)
	je	LBB0_2
## %bb.4:
	movq	(%rdx), %r14
	movq	8(%rdx), %r15
	jmp	LBB0_5
LBB0_2:
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
LBB0_5:
	movq	(%r12), %rax
	movslq	%esi, %rbx
	shlq	$4, %rbx
	movq	(%rax,%rbx), %rdx
	movq	8(%rax,%rbx), %rcx
	cmpq	%r14, %rdx
	jne	LBB0_7
## %bb.6:
	cmpq	%r15, %rcx
	je	LBB0_8
LBB0_7:
	leaq	L_.str(%rip), %rdi
	movq	%r14, %r8
	movq	%r15, %r9
	callq	_DRM_DEBUG
	movq	(%r12), %rax
	movq	%r14, (%rax,%rbx)
	movq	%r15, 8(%rax,%rbx)
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"#%d: %dx%d -> %dx%d\n"

	.no_dead_strip	_qxl_update_dumb_head
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qxl_update_dumb_head
_qxl_update_dumb_head:                  ; @qxl_update_dumb_head
	.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
                                        ; kill: def $w1 killed $w1 def $x1
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
	cmp	w8, w1
	b.le	LBB0_7
; %bb.1:
	mov	x19, x0
	cbz	x2, LBB0_4
; %bb.2:
	ldr	x8, [x2, #16]
	cbz	x8, LBB0_4
; %bb.3:
	ldp	x20, x21, [x2]
	b	LBB0_5
LBB0_4:
	mov	x20, #0
	mov	x21, #0
LBB0_5:
	ldr	x8, [x19]
	add	x8, x8, w1, sxtw #4
	ldp	x2, x3, [x8]
	cmp	x2, x20
	ccmp	x3, x21, #0, eq
	b.eq	LBB0_7
; %bb.6:
	sxtw	x22, w1
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x4, x20
	mov	x5, x21
	bl	_DRM_DEBUG
	ldr	x8, [x19]
	add	x8, x8, x22, lsl #4
	stp	x20, x21, [x8]
LBB0_7:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"#%d: %dx%d -> %dx%d\n"

	.no_dead_strip	_qxl_update_dumb_head
.subsections_via_symbols
