	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_buffersrc_parameters_set    ## -- Begin function av_buffersrc_parameters_set
	.p2align	4, 0x90
_av_buffersrc_parameters_set:           ## @av_buffersrc_parameters_set
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	8(%rdi), %r15
	cmpq	$0, 40(%rsi)
	jle	LBB0_3
## %bb.1:
	cmpq	$0, 48(%rbx)
	jle	LBB0_3
## %bb.2:
	leaq	40(%rbx), %rax
	movups	(%rax), %xmm0
	movups	%xmm0, 48(%r15)
LBB0_3:
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	cmpl	$129, %eax
	je	LBB0_20
## %bb.4:
	cmpl	$128, %eax
	jne	LBB0_26
## %bb.5:
	movl	8(%rbx), %eax
	movq	_AV_PIX_FMT_NONE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_7
## %bb.6:
	movl	$1, (%r15)
	movl	%eax, 44(%r15)
LBB0_7:
	movl	36(%rbx), %eax
	testl	%eax, %eax
	jle	LBB0_9
## %bb.8:
	movl	%eax, 40(%r15)
LBB0_9:
	movl	32(%rbx), %eax
	testl	%eax, %eax
	jle	LBB0_11
## %bb.10:
	movl	%eax, 36(%r15)
LBB0_11:
	cmpl	$0, 28(%rbx)
	jle	LBB0_14
## %bb.12:
	cmpl	$0, 24(%rbx)
	jle	LBB0_14
## %bb.13:
	movq	24(%rbx), %rax
	movq	%rax, 28(%r15)
LBB0_14:
	cmpl	$0, 20(%rbx)
	jle	LBB0_17
## %bb.15:
	cmpl	$0, 16(%rbx)
	jle	LBB0_17
## %bb.16:
	movq	16(%rbx), %rax
	movq	%rax, 20(%r15)
LBB0_17:
	xorl	%r14d, %r14d
	cmpl	$0, 12(%rbx)
	je	LBB0_27
## %bb.18:
	leaq	16(%r15), %rdi
	callq	_av_buffer_unref
	movl	12(%rbx), %edi
	callq	_av_buffer_ref
	movl	%eax, 16(%r15)
	testl	%eax, %eax
	jne	LBB0_27
## %bb.19:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_20:
	movl	8(%rbx), %eax
	movq	_AV_SAMPLE_FMT_NONE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_22
## %bb.21:
	movl	$1, (%r15)
	movl	%eax, 12(%r15)
LBB0_22:
	movl	4(%rbx), %eax
	testl	%eax, %eax
	jle	LBB0_24
## %bb.23:
	movl	%eax, 8(%r15)
LBB0_24:
	movl	(%rbx), %eax
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_27
## %bb.25:
	movl	%eax, 4(%r15)
	jmp	LBB0_27
LBB0_26:
	movq	_AVERROR_BUG@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_27:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_PIX_FMT_NONE,4,2            ## @AV_PIX_FMT_NONE
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_AV_SAMPLE_FMT_NONE,4,2         ## @AV_SAMPLE_FMT_NONE
	.comm	_AVERROR_BUG,4,2                ## @AVERROR_BUG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_buffersrc_parameters_set    ; -- Begin function av_buffersrc_parameters_set
	.p2align	2
_av_buffersrc_parameters_set:           ; @av_buffersrc_parameters_set
	.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, x1
	ldr	x20, [x0, #8]
	mov	x8, x1
	ldr	x9, [x8, #40]!
	cmp	x9, #1
	b.lt	LBB0_3
; %bb.1:
	ldr	x9, [x19, #48]
	cmp	x9, #1
	b.lt	LBB0_3
; %bb.2:
	ldr	q0, [x8]
	str	q0, [x20, #48]
LBB0_3:
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	w8, [x8]
	cmp	w8, #129
	b.eq	LBB0_20
; %bb.4:
	cmp	w8, #128
	b.ne	LBB0_27
; %bb.5:
	ldr	w8, [x19, #8]
Lloh0:
	adrp	x9, _AV_PIX_FMT_NONE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AV_PIX_FMT_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_7
; %bb.6:
	mov	w9, #1
	str	w9, [x20]
	str	w8, [x20, #44]
LBB0_7:
	ldr	w8, [x19, #36]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.8:
	str	w8, [x20, #40]
LBB0_9:
	ldr	w8, [x19, #32]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.10:
	str	w8, [x20, #36]
LBB0_11:
	ldr	w8, [x19, #28]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.12:
	ldr	w8, [x19, #24]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.13:
	ldr	x8, [x19, #24]
	stur	x8, [x20, #28]
LBB0_14:
	ldr	w8, [x19, #20]
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.15:
	ldr	w8, [x19, #16]
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.16:
	ldr	x8, [x19, #16]
	stur	x8, [x20, #20]
LBB0_17:
	ldr	w8, [x19, #12]
	cbz	w8, LBB0_26
; %bb.18:
	add	x0, x20, #16
	bl	_av_buffer_unref
	ldr	w0, [x19, #12]
	bl	_av_buffer_ref
	str	w0, [x20, #16]
	cbnz	w0, LBB0_26
; %bb.19:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_AVERROR
LBB0_20:
	ldr	w8, [x19, #8]
Lloh6:
	adrp	x9, _AV_SAMPLE_FMT_NONE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _AV_SAMPLE_FMT_NONE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_22
; %bb.21:
	mov	w9, #1
	str	w9, [x20]
	str	w8, [x20, #12]
LBB0_22:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_24
; %bb.23:
	str	w8, [x20, #8]
LBB0_24:
	ldr	w8, [x19]
	cbz	w8, LBB0_26
; %bb.25:
	mov	w0, #0
	str	w8, [x20, #4]
	b	LBB0_28
LBB0_26:
	mov	w0, #0
	b	LBB0_28
LBB0_27:
Lloh9:
	adrp	x8, _AVERROR_BUG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AVERROR_BUG@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
LBB0_28:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_PIX_FMT_NONE,4,2            ; @AV_PIX_FMT_NONE
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_AV_SAMPLE_FMT_NONE,4,2         ; @AV_SAMPLE_FMT_NONE
	.comm	_AVERROR_BUG,4,2                ; @AVERROR_BUG
.subsections_via_symbols
