	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function a6xx_crashdumper_init
_a6xx_crashdumper_init:                 ## @a6xx_crashdumper_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movl	(%rdi), %ecx
	movl	4(%rdi), %edi
	movq	_SZ_1M@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MSM_BO_UNCACHED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	4(%rbx), %r14
	leaq	8(%rbx), %r9
	movq	%r14, %r8
	callq	_msm_gem_kernel_new_locked
	movl	%eax, (%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_msm_gem_object_set_name
LBB0_2:
	movl	(%rbx), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_PTR_ERR_OR_ZERO                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SZ_1M,4,2                      ## @SZ_1M
	.comm	_MSM_BO_UNCACHED,4,2            ## @MSM_BO_UNCACHED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"crashdump"

	.no_dead_strip	_a6xx_crashdumper_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function a6xx_crashdumper_init
_a6xx_crashdumper_init:                 ; @a6xx_crashdumper_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
Lloh0:
	adrp	x8, _SZ_1M@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SZ_1M@GOTPAGEOFF]
Lloh2:
	adrp	x9, _MSM_BO_UNCACHED@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MSM_BO_UNCACHED@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	ldr	w2, [x9]
	ldp	w3, w8, [x0]
	add	x20, x19, #4
	add	x5, x19, #8
	mov	x0, x8
	mov	x4, x20
	bl	_msm_gem_kernel_new_locked
	str	w0, [x19]
	bl	_IS_ERR
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w0, [x20]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_msm_gem_object_set_name
LBB0_2:
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_PTR_ERR_OR_ZERO
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_SZ_1M,4,2                      ; @SZ_1M
	.comm	_MSM_BO_UNCACHED,4,2            ; @MSM_BO_UNCACHED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"crashdump"

	.no_dead_strip	_a6xx_crashdumper_init
.subsections_via_symbols
