	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dma_buf_getfile
_dma_buf_getfile:                       ## @dma_buf_getfile
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	_dma_buf_mnt@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movl	(%rax), %edi
	callq	_alloc_anon_inode
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_1
## %bb.5:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_CAST                       ## TAILCALL
LBB0_1:
	movl	(%r15), %esi
	movl	%esi, 24(%rbx)
	movq	%rbx, %rdi
	callq	_inode_set_bytes
	movq	(%r12), %rsi
	leaq	L_.str(%rip), %rdx
	movq	_dma_buf_fops@GOTPCREL(%rip), %r8
	movq	%rbx, %rdi
	movl	%r14d, %ecx
	callq	_alloc_file_pseudo
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rbx, %rdi
	callq	_iput
	jmp	LBB0_4
LBB0_2:
	movq	_O_ACCMODE@GOTPCREL(%rip), %rax
	movq	_O_NONBLOCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	andl	%r14d, %ecx
	movl	%ecx, (%r12)
	movq	%r15, 16(%r12)
	movq	8(%r12), %rax
	movq	%r15, (%rax)
LBB0_4:
	movq	%r12, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dma_buf_mnt,8,3                ## @dma_buf_mnt
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dmabuf"

	.comm	_dma_buf_fops,4,2               ## @dma_buf_fops
	.comm	_O_ACCMODE,4,2                  ## @O_ACCMODE
	.comm	_O_NONBLOCK,4,2                 ## @O_NONBLOCK
	.no_dead_strip	_dma_buf_getfile
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dma_buf_getfile
_dma_buf_getfile:                       ; @dma_buf_getfile
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _dma_buf_mnt@GOTPAGE
Lloh1:
	ldr	x22, [x22, _dma_buf_mnt@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	w0, [x8]
	bl	_alloc_anon_inode
	mov	x21, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ERR_CAST
LBB0_2:
	ldr	w1, [x19]
	str	w1, [x21, #24]
	mov	x0, x21
	bl	_inode_set_bytes
	ldr	x1, [x22]
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
Lloh4:
	adrp	x4, _dma_buf_fops@GOTPAGE
Lloh5:
	ldr	x4, [x4, _dma_buf_fops@GOTPAGEOFF]
	mov	x0, x21
	mov	x3, x20
	bl	_alloc_file_pseudo
	mov	x22, x0
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x21
	bl	_iput
	b	LBB0_5
LBB0_4:
Lloh6:
	adrp	x8, _O_ACCMODE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _O_ACCMODE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _O_NONBLOCK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _O_NONBLOCK@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8
	and	w8, w8, w20
	str	w8, [x22]
	str	x19, [x22, #16]
	ldr	x8, [x22, #8]
	str	x19, [x8]
LBB0_5:
	mov	x0, x22
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_dma_buf_mnt,8,3                ; @dma_buf_mnt
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dmabuf"

	.comm	_dma_buf_fops,4,2               ; @dma_buf_fops
	.comm	_O_ACCMODE,4,2                  ; @O_ACCMODE
	.comm	_O_NONBLOCK,4,2                 ; @O_NONBLOCK
	.no_dead_strip	_dma_buf_getfile
.subsections_via_symbols
