	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dma_buf_export                 ## -- Begin function dma_buf_export
	.p2align	4, 0x90
_dma_buf_export:                        ## @dma_buf_export
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %r12
	movl	$1, %edi
	testq	%r12, %r12
	je	LBB0_8
## %bb.1:
	testq	%r13, %r13
	je	LBB0_8
## %bb.2:
	cmpl	$0, 20(%r13)
	je	LBB0_8
## %bb.3:
	cmpl	$0, 16(%r13)
	je	LBB0_8
## %bb.4:
	cmpl	$0, 12(%r13)
	je	LBB0_8
## %bb.5:
	cmpl	$0, 8(%r13)
	je	LBB0_8
## %bb.6:
	cmpl	$0, 4(%r13)
	je	LBB0_8
## %bb.7:
	xorl	%edi, %edi
	cmpl	$0, (%r13)
	sete	%dil
LBB0_8:
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_10:
	xorl	%edi, %edi
	subl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_11:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$40, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_12
## %bb.13:
	movq	%rax, %rbx
	movq	%r12, 32(%rax)
	movq	%r13, 24(%rax)
	movq	%r15, (%rax)
	leaq	L_.str(%rip), %rdi
	movq	_dma_buf_fops@GOTPCREL(%rip), %rsi
	movq	%rax, %rdx
	movl	%r14d, %ecx
	callq	_anon_inode_getfile
	movq	%rax, 16(%rbx)
	leaq	12(%rbx), %rdi
	callq	_mutex_init
	movq	%rbx, %rdi
	addq	$8, %rdi
	callq	_INIT_LIST_HEAD
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dmabuf"

	.comm	_dma_buf_fops,4,2               ## @dma_buf_fops
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dma_buf_export                 ; -- Begin function dma_buf_export
	.p2align	2
_dma_buf_export:                        ; @dma_buf_export
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	mov	w0, #1
	cbz	x22, LBB0_13
; %bb.1:
	cbz	x21, LBB0_13
; %bb.2:
	ldr	w8, [x21, #20]
	cbz	w8, LBB0_8
; %bb.3:
	ldr	w8, [x21, #16]
	cbz	w8, LBB0_8
; %bb.4:
	ldr	w8, [x21, #12]
	cbz	w8, LBB0_8
; %bb.5:
	ldr	w8, [x21, #8]
	cbz	w8, LBB0_12
; %bb.6:
	ldr	w8, [x21, #4]
	cbz	w8, LBB0_8
; %bb.7:
	ldr	w8, [x21]
	cmp	w8, #0
	cset	w0, eq
	bl	_WARN_ON
	cbnz	x0, LBB0_14
	b	LBB0_9
LBB0_8:
	mov	w0, #1
	bl	_WARN_ON
	cbnz	x0, LBB0_14
LBB0_9:
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #40
	bl	_kzalloc
	cbz	x0, LBB0_11
; %bb.10:
	mov	x23, x0
	stp	x21, x22, [x0, #24]
	str	x20, [x0]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
Lloh5:
	adrp	x1, _dma_buf_fops@GOTPAGE
Lloh6:
	ldr	x1, [x1, _dma_buf_fops@GOTPAGEOFF]
	mov	x2, x23
	mov	x3, x19
	bl	_anon_inode_getfile
	str	x0, [x23, #16]
	add	x0, x23, #12
	bl	_mutex_init
	add	x0, x23, #8
	bl	_INIT_LIST_HEAD
	mov	x0, x23
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_11:
Lloh7:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_15
LBB0_12:
	mov	w0, #1
LBB0_13:
	bl	_WARN_ON
	cbz	x0, LBB0_9
LBB0_14:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_15:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ERR_PTR
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dmabuf"

	.comm	_dma_buf_fops,4,2               ; @dma_buf_fops
.subsections_via_symbols
