	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dsi_tx_buf_alloc_6g            ## -- Begin function dsi_tx_buf_alloc_6g
	.p2align	4, 0x90
_dsi_tx_buf_alloc_6g:                   ## @dsi_tx_buf_alloc_6g
	.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	%rdi, %rbx
	movq	16(%rdi), %rdi
	movq	(%rdi), %rax
	movq	_MSM_BO_UNCACHED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	(%rax), %rax
	movl	(%rax), %ecx
	leaq	-20(%rbp), %r9
	movq	%rbx, %r8
	callq	_msm_gem_kernel_new
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	$0, (%rbx)
	movq	%r14, %rdi
	callq	_PTR_ERR
	jmp	LBB0_3
LBB0_2:
	movq	(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_msm_gem_object_set_name
	movq	(%rbx), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	xorl	%eax, %eax
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
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tx_gem"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dsi_tx_buf_alloc_6g            ; -- Begin function dsi_tx_buf_alloc_6g
	.p2align	2
_dsi_tx_buf_alloc_6g:                   ; @dsi_tx_buf_alloc_6g
	.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	x19, x0
	ldr	x0, [x0, #16]
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _MSM_BO_UNCACHED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MSM_BO_UNCACHED@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x9]
	ldr	x8, [x8]
	ldr	w3, [x8]
	add	x5, sp, #12
	mov	x4, x19
	bl	_msm_gem_kernel_new
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	str	xzr, [x19]
	mov	x0, x20
	bl	_PTR_ERR
	b	LBB0_3
LBB0_2:
	ldr	x0, [x19]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_msm_gem_object_set_name
	mov	w0, #0
	ldr	x8, [x19]
	ldr	w8, [x8]
	str	w8, [x19, #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	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MSM_BO_UNCACHED,4,2            ; @MSM_BO_UNCACHED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tx_gem"

.subsections_via_symbols
