	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vb2_dc_get_dmabuf
_vb2_dc_get_dmabuf:                     ## @vb2_dc_get_dmabuf
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_exp_info@GOTPCREL(%rip), %rbx
	movups	(%rbx), %xmm0
	movups	16(%rbx), %xmm1
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	callq	_DEFINE_DMA_BUF_EXPORT_INFO
	movq	_vb2_dc_dmabuf_ops@GOTPCREL(%rip), %rax
	movq	%rax, 24(%rbx)
	movl	16(%r15), %eax
	movl	%eax, 16(%rbx)
	movq	%r14, (%rbx)
	movq	%r15, 8(%rbx)
	movq	8(%r15), %rax
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_vb2_dc_get_base_sgt
	movq	%rax, 8(%r15)
LBB0_2:
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:
	movq	_exp_info@GOTPCREL(%rip), %rdi
	callq	_dma_buf_export
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_6
LBB0_3:
	xorl	%r14d, %r14d
LBB0_7:
	movq	%r14, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%r15, %rdi
	callq	_refcount_inc
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_exp_info,32,3                  ## @exp_info
	.comm	_vb2_dc_dmabuf_ops,4,2          ## @vb2_dc_dmabuf_ops
	.no_dead_strip	_vb2_dc_get_dmabuf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vb2_dc_get_dmabuf
_vb2_dc_get_dmabuf:                     ; @vb2_dc_get_dmabuf
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _exp_info@GOTPAGE
Lloh1:
	ldr	x21, [x21, _exp_info@GOTPAGEOFF]
	ldp	q0, q1, [x21]
	stp	q0, q1, [sp]
	mov	x0, sp
	bl	_DEFINE_DMA_BUF_EXPORT_INFO
Lloh2:
	adrp	x8, _vb2_dc_dmabuf_ops@GOTPAGE
Lloh3:
	ldr	x8, [x8, _vb2_dc_dmabuf_ops@GOTPAGEOFF]
	str	x8, [x21, #24]
	ldr	w8, [x19, #16]
	str	w8, [x21, #16]
	stp	x20, x19, [x21]
	ldr	x0, [x19, #8]
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_vb2_dc_get_base_sgt
	str	x0, [x19, #8]
LBB0_2:
	cmp	x0, #0
	cset	w0, eq
	bl	_WARN_ON
	cbnz	x0, LBB0_4
; %bb.3:
Lloh4:
	adrp	x0, _exp_info@GOTPAGE
Lloh5:
	ldr	x0, [x0, _exp_info@GOTPAGEOFF]
	bl	_dma_buf_export
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_6
LBB0_4:
	mov	x20, #0
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_6:
	mov	x0, x19
	bl	_refcount_inc
	b	LBB0_5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_exp_info,32,3                  ; @exp_info
	.comm	_vb2_dc_dmabuf_ops,4,2          ; @vb2_dc_dmabuf_ops
	.no_dead_strip	_vb2_dc_get_dmabuf
.subsections_via_symbols
