	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_adreno_fw_create_bo            ## -- Begin function adreno_fw_create_bo
	.p2align	4, 0x90
_adreno_fw_create_bo:                   ## @adreno_fw_create_bo
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r9
	movq	%rsi, %r14
	movl	(%rdi), %ecx
	movl	4(%rdi), %edi
	movq	(%rsi), %rsi
	addq	$-4, %rsi
	movq	_MSM_BO_UNCACHED@GOTPCREL(%rip), %rax
	movq	_MSM_BO_GPU_READONLY@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rax), %edx
	leaq	-24(%rbp), %r8
	callq	_msm_gem_kernel_new_locked
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_ERR_CAST
	jmp	LBB0_3
LBB0_2:
	movq	(%r14), %rdx
	movq	8(%r14), %rsi
	addq	$16, %rsi
	addq	$-4, %rdx
	movq	%rbx, %rdi
	callq	_memcpy
	movq	-24(%rbp), %rdi
	callq	_msm_gem_put_vaddr
	movq	-24(%rbp), %rax
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSM_BO_UNCACHED,4,2            ## @MSM_BO_UNCACHED
	.comm	_MSM_BO_GPU_READONLY,4,2        ## @MSM_BO_GPU_READONLY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_adreno_fw_create_bo            ; -- Begin function adreno_fw_create_bo
	.p2align	2
_adreno_fw_create_bo:                   ; @adreno_fw_create_bo
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x5, x2
	mov	x19, x1
	ldr	x8, [x1]
	sub	x1, x8, #4
Lloh0:
	adrp	x8, _MSM_BO_UNCACHED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSM_BO_UNCACHED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _MSM_BO_GPU_READONLY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MSM_BO_GPU_READONLY@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w2, w9, w8
	ldp	w3, w8, [x0]
	add	x4, sp, #8
	mov	x0, x8
	bl	_msm_gem_kernel_new_locked
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_ERR_CAST
	b	LBB0_3
LBB0_2:
	ldp	x9, x8, [x19]
	add	x1, x8, #16
	sub	x2, x9, #4
	mov	x0, x20
	bl	_memcpy
	ldr	x0, [sp, #8]
	bl	_msm_gem_put_vaddr
	ldr	x0, [sp, #8]
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MSM_BO_UNCACHED,4,2            ; @MSM_BO_UNCACHED
	.comm	_MSM_BO_GPU_READONLY,4,2        ; @MSM_BO_GPU_READONLY
.subsections_via_symbols
