	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_params
_set_params:                            ## @set_params
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -48(%rbp)
	xorl	%r12d, %r12d
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.1:
	movq	%rdi, %r14
	movq	(%rdi), %r15
	cmpl	$0, 8(%r15)
	jle	LBB0_11
## %bb.2:
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	-52(%rbp), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	movq	%r13, %rcx
	callq	_set_param
	movl	%eax, %r12d
	movq	%r13, %rdi
	callq	_av_free
	testl	%r12d, %r12d
	js	LBB0_11
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%ebx
	cmpl	8(%r15), %ebx
	jge	LBB0_10
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-52(%rbp), %rdi
	movl	%ebx, %esi
	callq	*(%r15)
	movq	-48(%rbp), %rax
	cmpb	$0, (%rax)
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	-48(%rbp), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_av_get_token
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r13
	movq	-48(%rbp), %rax
	cmpb	$0, (%rax)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rax
	movq	%rax, -48(%rbp)
	jmp	LBB0_8
LBB0_10:
	xorl	%r12d, %r12d
	jmp	LBB0_11
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	movl	%eax, %r12d
LBB0_11:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"|"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_set_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_params
_set_params:                            ; @set_params
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	str	x1, [sp, #8]
	cbz	x1, LBB0_9
; %bb.1:
	mov	x19, x0
	ldr	x24, [x0]
	ldr	w8, [x24, #8]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.2:
	mov	w20, #0
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [sp, #4]
	mov	x0, x19
	mov	x2, x20
	mov	x3, x23
	bl	_set_param
	mov	x22, x0
	mov	x0, x23
	bl	_av_free
	tbnz	w22, #31, LBB0_10
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w20, w20, #1
	ldr	w8, [x24, #8]
	cmp	w20, w8
	b.ge	LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	add	x0, sp, #4
	mov	x1, x20
	blr	x8
	ldr	x8, [sp, #8]
	ldrb	w8, [x8]
	cbz	w8, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #8
	mov	x1, x21
	bl	_av_get_token
	cbz	x0, LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x23, x0
	ldr	x8, [sp, #8]
	ldrb	w9, [x8]
	cbz	w9, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x8, #1
	str	x8, [sp, #8]
	b	LBB0_3
LBB0_9:
	mov	w22, #0
LBB0_10:
	mov	x0, x22
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_11:
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_AVERROR
	mov	x22, x0
	b	LBB0_10
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"|"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_set_params
.subsections_via_symbols
