	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function save_avio_options
_save_avio_options:                     ## @save_avio_options
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	8(%rdi), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	$0, -64(%rbp)
	leaq	L_.str(%rip), %rsi
	movq	%rsi, -112(%rbp)
	leaq	-104(%rbp), %rbx
	leaq	L_.str.1(%rip), %rax
	movq	%rax, -104(%rbp)
	leaq	L_.str.2(%rip), %rax
	movq	%rax, -96(%rbp)
	leaq	L_.str.3(%rip), %rax
	movq	%rax, -88(%rbp)
	leaq	L_.str.4(%rip), %rax
	movq	%rax, -80(%rbp)
	leaq	L_.str.5(%rip), %rax
	movq	%rax, -72(%rbp)
	movq	$0, -120(%rbp)
	xorl	%r13d, %r13d
	movq	_AV_OPT_SEARCH_CHILDREN@GOTPCREL(%rip), %r14
	leaq	-120(%rbp), %r12
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	callq	_av_freep
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rbx), %rsi
	addq	$8, %rbx
	testq	%rsi, %rsi
	je	LBB0_7
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	movl	(%r14), %edx
	movq	%r12, %rcx
	callq	_av_opt_get
	testq	%rax, %rax
	js	LBB0_6
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-120(%rbp), %rdx
	cmpb	$0, (%rdx)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-8(%rbx), %rsi
	movq	_AV_DICT_DONT_STRDUP_VAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	callq	_av_dict_set
	movl	%eax, %r13d
	testl	%eax, %eax
	jns	LBB0_6
## %bb.4:
	leaq	-120(%rbp), %rdi
	callq	_av_freep
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	movl	%r13d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"headers"

L_.str.1:                               ## @.str.1
	.asciz	"user_agent"

L_.str.2:                               ## @.str.2
	.asciz	"cookies"

L_.str.3:                               ## @.str.3
	.asciz	"http_proxy"

L_.str.4:                               ## @.str.4
	.asciz	"referer"

L_.str.5:                               ## @.str.5
	.asciz	"rw_timeout"

	.comm	_AV_OPT_SEARCH_CHILDREN,4,2     ## @AV_OPT_SEARCH_CHILDREN
	.comm	_AV_DICT_DONT_STRDUP_VAL,4,2    ## @AV_DICT_DONT_STRDUP_VAL
	.no_dead_strip	_save_avio_options
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function save_avio_options
_save_avio_options:                     ; @save_avio_options
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x20, x0
	mov	w19, #0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	ldr	x21, [x0, #8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x8, sp, #16
	add	x22, x8, #8
Lloh5:
	adrp	x8, l_.str.1@PAGE
Lloh6:
	add	x8, x8, l_.str.1@PAGEOFF
	stp	x1, x8, [sp, #16]
Lloh7:
	adrp	x8, l_.str.2@PAGE
Lloh8:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh9:
	adrp	x9, l_.str.3@PAGE
Lloh10:
	add	x9, x9, l_.str.3@PAGEOFF
	stp	x8, x9, [sp, #32]
Lloh11:
	adrp	x8, l_.str.4@PAGE
Lloh12:
	add	x8, x8, l_.str.4@PAGEOFF
Lloh13:
	adrp	x9, l_.str.5@PAGE
Lloh14:
	add	x9, x9, l_.str.5@PAGEOFF
	str	x8, [sp, #48]
	stp	x9, xzr, [sp, #56]
	str	xzr, [sp, #8]
Lloh15:
	adrp	x23, _AV_OPT_SEARCH_CHILDREN@GOTPAGE
Lloh16:
	ldr	x23, [x23, _AV_OPT_SEARCH_CHILDREN@GOTPAGEOFF]
Lloh17:
	adrp	x24, _AV_DICT_DONT_STRDUP_VAL@GOTPAGE
Lloh18:
	ldr	x24, [x24, _AV_DICT_DONT_STRDUP_VAL@GOTPAGEOFF]
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #8
	bl	_av_freep
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [x22], #8
	cbz	x1, LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	ldr	w2, [x23]
	add	x3, sp, #8
	bl	_av_opt_get
	tbnz	x0, #63, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x2, [sp, #8]
	ldrb	w8, [x2]
	cbz	w8, LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldur	x1, [x22, #-8]
	ldr	w3, [x24]
	mov	x0, x21
	bl	_av_dict_set
	mov	x19, x0
	tbz	w0, #31, LBB0_2
; %bb.6:
	add	x0, sp, #8
	bl	_av_freep
LBB0_7:
	ldur	x8, [x29, #-56]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	mov	x0, x19
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"headers"

l_.str.1:                               ; @.str.1
	.asciz	"user_agent"

l_.str.2:                               ; @.str.2
	.asciz	"cookies"

l_.str.3:                               ; @.str.3
	.asciz	"http_proxy"

l_.str.4:                               ; @.str.4
	.asciz	"referer"

l_.str.5:                               ; @.str.5
	.asciz	"rw_timeout"

	.comm	_AV_OPT_SEARCH_CHILDREN,4,2     ; @AV_OPT_SEARCH_CHILDREN
	.comm	_AV_DICT_DONT_STRDUP_VAL,4,2    ; @AV_DICT_DONT_STRDUP_VAL
	.no_dead_strip	_save_avio_options
.subsections_via_symbols
