	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function opencl_frames_init
_opencl_frames_init:                    ## @opencl_frames_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	cmpl	$0, 8(%rdi)
	jne	LBB0_3
## %bb.1:
	movq	_opencl_pool_alloc@GOTPCREL(%rip), %rdx
	movl	$4, %edi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	callq	_av_buffer_pool_init2
	movq	(%rbx), %rcx
	movl	%eax, (%rcx)
	testl	%eax, %eax
	je	LBB0_2
LBB0_3:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_opencl_frames_init_command_queue ## TAILCALL
LBB0_2:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_opencl_pool_alloc,4,2          ## @opencl_pool_alloc
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_opencl_frames_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function opencl_frames_init
_opencl_frames_init:                    ; @opencl_frames_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, x0
	ldr	w8, [x0, #8]
	cbnz	w8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x2, _opencl_pool_alloc@GOTPAGE
Lloh1:
	ldr	x2, [x2, _opencl_pool_alloc@GOTPAGEOFF]
	mov	w0, #4
	mov	x1, x19
	mov	x3, #0
	bl	_av_buffer_pool_init2
	ldr	x8, [x19]
	str	w0, [x8]
	cbz	w0, LBB0_3
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_opencl_frames_init_command_queue
LBB0_3:
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_AVERROR
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_opencl_pool_alloc,4,2          ; @opencl_pool_alloc
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_opencl_frames_init
.subsections_via_symbols
