	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_optgroup                 ## -- Begin function parse_optgroup
	.p2align	4, 0x90
_parse_optgroup:                        ## @parse_optgroup
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%rbx), %rax
	movl	4(%rax), %ecx
	movl	4(%rbx), %r8d
	leaq	L_.str(%rip), %rdx
	xorl	%edi, %edi
	xorl	%eax, %eax
	callq	_av_log
	cmpl	$0, (%rbx)
	jle	LBB0_7
## %bb.1:
	movl	$8, %r14d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rax
	movq	16(%rbx), %r12
	movl	(%rax), %ecx
	movq	(%r12,%r14), %rdx
	testl	%ecx, %ecx
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%ecx, (%rdx)
	je	LBB0_9
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-8(%r12,%r14), %r9d
	movl	-4(%r12,%r14), %ecx
	movl	4(%rdx), %r8d
	xorl	%edi, %edi
	leaq	L_.str.2(%rip), %rdx
	xorl	%eax, %eax
	callq	_av_log
	movq	(%r12,%r14), %rsi
	movl	-8(%r12,%r14), %ecx
	movl	-4(%r12,%r14), %edx
	movq	%r15, %rdi
	callq	_write_option
	testl	%eax, %eax
	js	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	movslq	(%rbx), %rax
	addq	$16, %r14
	cmpq	%rax, %r13
	jl	LBB0_2
LBB0_7:
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	xorl	%edi, %edi
	xorl	%eax, %eax
	callq	_av_log
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_5:
                                        ## kill: def $eax killed $eax def $rax
LBB0_8:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	-4(%r12,%r14), %ecx
	movl	4(%rdx), %r8d
	movl	4(%rax), %r9d
	movl	4(%rbx), %eax
	movl	%eax, (%rsp)
	leaq	L_.str.1(%rip), %rdx
	xorl	%edi, %edi
	xorl	%eax, %eax
	callq	_av_log
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_DEBUG,4,2               ## @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Parsing a group of options: %s %s.\n"

	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"Option %s (%s) cannot be applied to %s %s -- you are trying to apply an input option to an output file or vice versa. Move this option before the file it belongs to.\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.2:                               ## @.str.2
	.asciz	"Applying option %s (%s) with argument %s.\n"

L_.str.3:                               ## @.str.3
	.asciz	"Successfully parsed a group of options.\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_optgroup                 ; -- Begin function parse_optgroup
	.p2align	2
_parse_optgroup:                        ; @parse_optgroup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _AV_LOG_DEBUG@GOTPAGE
Lloh1:
	ldr	x22, [x22, _AV_LOG_DEBUG@GOTPAGEOFF]
	ldr	w1, [x22]
	ldr	x8, [x19, #8]
	ldr	w8, [x8, #4]
	ldr	w9, [x19, #4]
	stp	x8, x9, [sp]
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, #0
	bl	_av_log
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x23, #0
	mov	x24, #0
Lloh4:
	adrp	x21, l_.str.2@PAGE
Lloh5:
	add	x21, x21, l_.str.2@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x9, x10, [x19, #8]
	ldr	w11, [x9]
	add	x25, x10, x23
	ldr	x8, [x25, #8]
	cbz	w11, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w12, [x8]
	tst	w12, w11
	b.eq	LBB0_8
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [x22]
	ldp	w10, w9, [x25]
	ldr	w8, [x8, #4]
	stp	x8, x10, [sp, #8]
	str	x9, [sp]
	mov	x0, #0
	mov	x2, x21
	bl	_av_log
	ldr	x1, [x25, #8]
	ldp	w3, w2, [x25]
	mov	x0, x20
	bl	_write_option
	tbnz	w0, #31, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x19]
	add	x23, x23, #16
	cmp	x24, x8
	b.lt	LBB0_2
LBB0_6:
	ldr	w1, [x22]
Lloh6:
	adrp	x2, l_.str.3@PAGE
Lloh7:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, #0
	bl	_av_log
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_8:
Lloh8:
	adrp	x11, _AV_LOG_ERROR@GOTPAGE
Lloh9:
	ldr	x11, [x11, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x11]
	add	x10, x10, x23
	ldr	w10, [x10, #4]
	ldr	w8, [x8, #4]
	ldr	w9, [x9, #4]
	ldr	w11, [x19, #4]
	stp	x9, x11, [sp, #16]
	stp	x10, x8, [sp]
Lloh11:
	adrp	x2, l_.str.1@PAGE
Lloh12:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, #0
	bl	_av_log
Lloh13:
	adrp	x8, _EINVAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_AVERROR
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_DEBUG,4,2               ; @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Parsing a group of options: %s %s.\n"

	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"Option %s (%s) cannot be applied to %s %s -- you are trying to apply an input option to an output file or vice versa. Move this option before the file it belongs to.\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.2:                               ; @.str.2
	.asciz	"Applying option %s (%s) with argument %s.\n"

l_.str.3:                               ; @.str.3
	.asciz	"Successfully parsed a group of options.\n"

.subsections_via_symbols
