	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_format
_set_format:                            ## @set_format
	.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	%r9, -48(%rbp)                  ## 8-byte Spill
	movl	%r8d, %r14d
	movl	%ecx, %r8d
	movl	%edx, %r15d
	movq	%rsi, %r12
	movq	%rdi, %r13
	leaq	-56(%rbp), %r9
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_av_opt_find2
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	cmpq	$0, -56(%rbp)
	je	LBB0_2
## %bb.3:
	movq	%rax, %rbx
	cmpl	%r14d, (%rax)
	jne	LBB0_4
## %bb.6:
	movl	16(%rbp), %r14d
	movl	12(%rbx), %edi
	movl	$-1, %esi
	callq	_FFMAX
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	8(%rbx), %edi
	decl	%r14d
	movl	%r14d, %esi
	callq	_FFMIN
	movq	-64(%rbp), %r11                 ## 8-byte Reload
	movl	%eax, %r10d
	cmpl	%r15d, %r11d
	jg	LBB0_8
## %bb.7:
	cmpl	%r15d, %r10d
	jl	LBB0_8
## %bb.9:
	movq	-56(%rbp), %rax
	movslq	4(%rbx), %rcx
	movl	%r15d, (%rax,%rcx,4)
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_2:
	movq	_AVERROR_OPTION_NOT_FOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_10
LBB0_4:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rdi
	movq	%r12, %rcx
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	xorl	%eax, %eax
	callq	_av_log
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_8:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r13, %rdi
	movl	%r15d, %ecx
	movq	%r12, %r8
	movq	-48(%rbp), %r9                  ## 8-byte Reload
	xorl	%eax, %eax
	pushq	%r10
	pushq	%r11
	callq	_av_log
	addq	$16, %rsp
	movq	_ERANGE@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %edi
	callq	_AVERROR
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AVERROR_OPTION_NOT_FOUND,4,2   ## @AVERROR_OPTION_NOT_FOUND
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"The value set by option '%s' is not a %s format"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"Value %d for parameter '%s' out of %s format range [%d - %d]\n"

	.comm	_ERANGE,4,2                     ## @ERANGE
	.no_dead_strip	_set_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_format
_set_format:                            ; @set_format
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x23, x6
	mov	x20, x5
	mov	x25, x4
	mov	x4, x3
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	add	x5, sp, #40
	mov	x2, #0
	mov	w3, #0
	bl	_av_opt_find2
	cbz	x0, LBB0_5
; %bb.1:
	ldr	x8, [sp, #40]
	cbz	x8, LBB0_5
; %bb.2:
	mov	x24, x0
	ldr	w8, [x0]
	cmp	w8, w25
	b.ne	LBB0_6
; %bb.3:
	ldr	w0, [x24, #12]
	mov	w1, #-1
	bl	_FFMAX
	mov	x25, x0
	ldr	w0, [x24, #8]
	sub	w1, w23, #1
	bl	_FFMIN
                                        ; kill: def $w0 killed $w0 def $x0
	cmp	w25, w22
	ccmp	w0, w22, #8, le
	b.ge	LBB0_8
; %bb.4:
Lloh0:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	stp	x25, x0, [sp, #24]
	stp	x21, x20, [sp, #8]
	str	x22, [sp]
Lloh3:
	adrp	x2, l_.str.1@PAGE
Lloh4:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_av_log
Lloh5:
	adrp	x8, _ERANGE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERANGE@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh7:
	adrp	x8, _AVERROR_OPTION_NOT_FOUND@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AVERROR_OPTION_NOT_FOUND@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	b	LBB0_9
LBB0_6:
Lloh10:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	stp	x21, x20, [sp]
Lloh13:
	adrp	x2, l_.str@PAGE
Lloh14:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_av_log
Lloh15:
	adrp	x8, _EINVAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	bl	_AVERROR
	b	LBB0_9
LBB0_8:
	mov	w0, #0
	ldr	x8, [sp, #40]
	ldrsw	x9, [x24, #4]
	str	w22, [x8, x9, lsl #2]
LBB0_9:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_AVERROR_OPTION_NOT_FOUND,4,2   ; @AVERROR_OPTION_NOT_FOUND
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"The value set by option '%s' is not a %s format"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"Value %d for parameter '%s' out of %s format range [%d - %d]\n"

	.comm	_ERANGE,4,2                     ; @ERANGE
	.no_dead_strip	_set_format
.subsections_via_symbols
