	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_msm_gem_dumb_create            ## -- Begin function msm_gem_dumb_create
	.p2align	4, 0x90
_msm_gem_dumb_create:                   ## @msm_gem_dumb_create
	.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	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	16(%rdx), %esi
	movl	20(%rdx), %edi
	callq	_align_pitch
	movl	%eax, (%rbx)
	imull	4(%rbx), %eax
	movl	%eax, %edi
	callq	_PAGE_ALIGN
	movl	%eax, 12(%rbx)
	movq	_MSM_BO_SCANOUT@GOTPCREL(%rip), %rdx
	movq	_MSM_BO_WC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rdx), %ecx
	addq	$8, %rbx
	leaq	L_.str(%rip), %r9
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	movq	%rbx, %r8
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_msm_gem_new_handle             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MSM_BO_SCANOUT,4,2             ## @MSM_BO_SCANOUT
	.comm	_MSM_BO_WC,4,2                  ## @MSM_BO_WC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dumb"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_msm_gem_dumb_create            ; -- Begin function msm_gem_dumb_create
	.p2align	2
_msm_gem_dumb_create:                   ; @msm_gem_dumb_create
	.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, x2
	mov	x20, x1
	mov	x21, x0
	ldp	w1, w0, [x2, #16]
	bl	_align_pitch
	str	w0, [x19]
	ldr	w8, [x19, #4]
	mul	w0, w8, w0
	bl	_PAGE_ALIGN
	mov	x2, x0
	str	w0, [x19, #12]
Lloh0:
	adrp	x8, _MSM_BO_SCANOUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSM_BO_SCANOUT@GOTPAGEOFF]
Lloh2:
	adrp	x9, _MSM_BO_WC@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MSM_BO_WC@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	orr	w3, w9, w8
	add	x4, x19, #8
Lloh6:
	adrp	x5, l_.str@PAGE
Lloh7:
	add	x5, x5, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	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	_msm_gem_new_handle
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MSM_BO_SCANOUT,4,2             ; @MSM_BO_SCANOUT
	.comm	_MSM_BO_WC,4,2                  ; @MSM_BO_WC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dumb"

.subsections_via_symbols
