	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_cookies
_get_cookies:                           ## @get_cookies
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %r12
	callq	_av_dict_free
	movl	8(%r12), %edi
	testl	%edi, %edi
	je	LBB0_1
## %bb.2:
	callq	_av_strdup
	movq	%rax, -64(%rbp)
	testq	%rax, %rax
	je	LBB0_31
## %bb.3:
	movq	$0, (%r13)
	leaq	L_.str(%rip), %rsi
	leaq	-64(%rbp), %rdx
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_av_strtok
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %rbx
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	leaq	-48(%rbp), %r14
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	$0, -48(%rbp)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_parse_cookie
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rcx
	callq	_av_log
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_parse_set_cookie
	xorl	%r13d, %r13d
	testq	%rax, %rax
	je	LBB0_9
LBB0_27:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %rdi
	callq	_av_dict_free
	movq	-64(%rbp), %rdi
	leaq	L_.str(%rip), %rsi
	leaq	-64(%rbp), %rdx
	callq	_av_strtok
	testq	%rax, %rax
	je	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %rbx
	testl	%r13d, %r13d
	je	LBB0_6
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rdi
	movq	_AV_DICT_IGNORE_SUFFIX@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%r13d, %r13d
	leaq	L_.str.2(%rip), %rsi
	xorl	%edx, %edx
	callq	_av_dict_get
	testq	%rax, %rax
	je	LBB0_27
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %r15
	cmpq	$0, (%rax)
	je	LBB0_27
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rdi
	leaq	L_.str.3(%rip), %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_av_dict_get
	testq	%rax, %rax
	je	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	$0, -56(%rbp)
	leaq	-56(%rbp), %rsi
	callq	_parse_set_cookie_expiry_time
	testl	%eax, %eax
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	leaq	-56(%rbp), %rdi
	callq	_av_timegm
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_av_gettime
	cltq
	imulq	$1125899907, %rax, %rax         ## imm = 0x431BDE83
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$50, %rax
	addl	%ecx, %eax
	cmpl	%eax, %ebx
	jl	LBB0_27
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rdi
	leaq	L_.str.4(%rip), %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_av_dict_get
	testq	%rax, %rax
	je	LBB0_20
## %bb.16:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %rbx
	cmpq	$0, (%rax)
	je	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_strlen
	movl	%eax, %r14d
	movq	(%rbx), %rdi
	callq	_strlen
	subl	%eax, %r14d
	js	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	%r14d, %edi
	addq	-72(%rbp), %rdi                 ## 8-byte Folded Reload
	movq	(%rbx), %rsi
	callq	_av_strcasecmp
	testq	%rax, %rax
	leaq	-48(%rbp), %r14
	jne	LBB0_27
LBB0_20:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rdi
	xorl	%r13d, %r13d
	leaq	L_.str.5(%rip), %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_av_dict_get
	testq	%rax, %rax
	je	LBB0_27
## %bb.21:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_av_strncasecmp
	testq	%rax, %rax
	jne	LBB0_27
## %bb.22:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	(%r14), %rbx
	movslq	8(%r15), %rdx
	movq	(%r15), %rcx
	testq	%rbx, %rbx
	je	LBB0_23
## %bb.24:                              ##   in Loop: Header=BB0_6 Depth=1
	leaq	L_.str.7(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_av_asprintf
	movq	%rax, (%r14)
	movq	%rbx, %rdi
	callq	_av_free
	movq	(%r14), %rax
	jmp	LBB0_25
LBB0_18:                                ##   in Loop: Header=BB0_6 Depth=1
	leaq	-48(%rbp), %r14
	jmp	LBB0_27
LBB0_23:                                ##   in Loop: Header=BB0_6 Depth=1
	leaq	L_.str.6(%rip), %rdi
	movq	%rdx, %rsi
	movq	%rcx, %rdx
	xorl	%eax, %eax
	callq	_av_asprintf
	movq	%rax, (%r14)
LBB0_25:                                ##   in Loop: Header=BB0_6 Depth=1
	testq	%rax, %rax
	leaq	-48(%rbp), %r14
	jne	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	movl	%eax, %r13d
	jmp	LBB0_27
LBB0_1:
	xorl	%r13d, %r13d
	jmp	LBB0_30
LBB0_31:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_4:
	xorl	%r13d, %r13d
LBB0_29:
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_av_free
LBB0_30:
	movl	%r13d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
L_.str.1:                               ## @.str.1
	.asciz	"Unable to parse '%s'\n"

L_.str.2:                               ## @.str.2
	.space	1

	.comm	_AV_DICT_IGNORE_SUFFIX,4,2      ## @AV_DICT_IGNORE_SUFFIX
L_.str.3:                               ## @.str.3
	.asciz	"expires"

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

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

L_.str.6:                               ## @.str.6
	.asciz	"%s=%s"

L_.str.7:                               ## @.str.7
	.asciz	"%s; %s=%s"

	.no_dead_strip	_get_cookies
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_cookies
_get_cookies:                           ; @get_cookies
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x24, x2
	mov	x21, x1
	mov	x22, x0
	bl	_av_dict_free
	ldr	w0, [x22, #8]
	cbz	w0, LBB0_29
; %bb.1:
	bl	_av_strdup
	str	x0, [sp, #40]
	cbz	x0, LBB0_30
; %bb.2:
	mov	x20, x0
	str	xzr, [x21]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #40
	bl	_av_strtok
	str	x20, [sp, #16]                  ; 8-byte Folded Spill
	cbz	x0, LBB0_31
; %bb.3:
	mov	x25, x0
	str	x19, [sp, #8]                   ; 8-byte Folded Spill
Lloh2:
	adrp	x23, _AV_DICT_IGNORE_SUFFIX@GOTPAGE
Lloh3:
	ldr	x23, [x23, _AV_DICT_IGNORE_SUFFIX@GOTPAGEOFF]
Lloh4:
	adrp	x19, l_.str.2@PAGE
Lloh5:
	add	x19, x19, l_.str.2@PAGEOFF
Lloh6:
	adrp	x27, l_.str.3@PAGE
Lloh7:
	add	x27, x27, l_.str.3@PAGEOFF
Lloh8:
	adrp	x28, l_.str.4@PAGE
Lloh9:
	add	x28, x28, l_.str.4@PAGEOFF
Lloh10:
	adrp	x20, l_.str@PAGE
Lloh11:
	add	x20, x20, l_.str@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	str	xzr, [sp, #32]
	mov	x0, x22
	mov	x1, x25
	mov	x2, x22
	bl	_parse_cookie
	cbz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh12:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x22
Lloh15:
	adrp	x2, l_.str.1@PAGE
Lloh16:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x3, x25
	bl	_av_log
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x1, sp, #32
	mov	x0, x25
	bl	_parse_set_cookie
	cbz	x0, LBB0_10
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w26, #0
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #32
	bl	_av_dict_free
	ldr	x0, [sp, #40]
	add	x2, sp, #40
	mov	x1, x20
	bl	_av_strtok
	cbz	x0, LBB0_32
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, x0
	cbz	w26, LBB0_4
	b	LBB0_32
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #32]
	ldr	w3, [x23]
	mov	x1, x19
	mov	x2, #0
	bl	_av_dict_get
	mov	x26, x0
	cbz	x0, LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x26]
	cbz	x8, LBB0_7
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #32]
	mov	x1, x27
	mov	x2, #0
	mov	w3, #0
	bl	_av_dict_get
	cbz	x0, LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x0]
	cbz	x0, LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	str	wzr, [sp, #24]
	add	x1, sp, #24
	bl	_parse_set_cookie_expiry_time
	cbnz	w0, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #24
	bl	_av_timegm
	mov	x25, x0
	bl	_av_gettime
	mov	w8, #56963
	movk	w8, #17179, lsl #16
	smull	x8, w0, w8
	lsr	x9, x8, #63
	asr	x8, x8, #50
	add	w8, w8, w9
	cmp	w25, w8
	b.lt	LBB0_7
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #32]
	mov	x1, x28
	mov	x2, #0
	mov	w3, #0
	bl	_av_dict_get
	cbz	x0, LBB0_20
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x28, x19
	mov	x19, x23
	mov	x23, x21
	mov	x21, x24
	ldr	x24, [sp, #8]                   ; 8-byte Folded Reload
	mov	x0, x24
	bl	_strlen
	mov	x20, x0
	ldr	x0, [x25]
	bl	_strlen
	subs	w8, w20, w0
	b.mi	LBB0_25
; %bb.19:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x0, x24, w8, uxtw
	ldr	x1, [x25]
	bl	_av_strcasecmp
	mov	x24, x21
	mov	x21, x23
	mov	x23, x19
	mov	x19, x28
Lloh17:
	adrp	x28, l_.str.4@PAGE
Lloh18:
	add	x28, x28, l_.str.4@PAGEOFF
Lloh19:
	adrp	x20, l_.str@PAGE
Lloh20:
	add	x20, x20, l_.str@PAGEOFF
	cbnz	x0, LBB0_7
LBB0_20:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #32]
Lloh21:
	adrp	x1, l_.str.5@PAGE
Lloh22:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x2, #0
	mov	w3, #0
	bl	_av_dict_get
	cbz	x0, LBB0_7
; %bb.21:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x20, [x0]
	mov	x0, x20
	bl	_strlen
	mov	x2, x0
	mov	x0, x24
	mov	x1, x20
	bl	_av_strncasecmp
	cbz	x0, LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w26, #0
	b	LBB0_26
LBB0_23:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x25, [x21]
	ldrsw	x2, [x26, #8]
	ldr	x8, [x26]
Lloh23:
	adrp	x20, l_.str@PAGE
Lloh24:
	add	x20, x20, l_.str@PAGEOFF
	cbz	x25, LBB0_27
; %bb.24:                               ;   in Loop: Header=BB0_4 Depth=1
	str	x8, [sp]
Lloh25:
	adrp	x0, l_.str.7@PAGE
Lloh26:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	x1, x25
	bl	_av_asprintf
	str	x0, [x21]
	mov	x0, x25
	bl	_av_free
	ldr	x0, [x21]
	cbnz	x0, LBB0_7
	b	LBB0_28
LBB0_25:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w26, #0
	mov	x24, x21
	mov	x21, x23
	mov	x23, x19
	mov	x19, x28
Lloh27:
	adrp	x28, l_.str.4@PAGE
Lloh28:
	add	x28, x28, l_.str.4@PAGEOFF
LBB0_26:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh29:
	adrp	x20, l_.str@PAGE
Lloh30:
	add	x20, x20, l_.str@PAGEOFF
	b	LBB0_8
LBB0_27:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh31:
	adrp	x0, l_.str.6@PAGE
Lloh32:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x1, x2
	mov	x2, x8
	bl	_av_asprintf
	str	x0, [x21]
	cbnz	x0, LBB0_7
LBB0_28:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh33:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	bl	_AVERROR
	mov	x26, x0
	b	LBB0_8
LBB0_29:
	mov	w26, #0
	b	LBB0_33
LBB0_30:
Lloh36:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh37:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
	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
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_AVERROR
LBB0_31:
	mov	w26, #0
LBB0_32:
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	bl	_av_free
LBB0_33:
	mov	x0, x26
	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
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
l_.str.1:                               ; @.str.1
	.asciz	"Unable to parse '%s'\n"

l_.str.2:                               ; @.str.2
	.space	1

	.comm	_AV_DICT_IGNORE_SUFFIX,4,2      ; @AV_DICT_IGNORE_SUFFIX
l_.str.3:                               ; @.str.3
	.asciz	"expires"

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

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

l_.str.6:                               ; @.str.6
	.asciz	"%s=%s"

l_.str.7:                               ; @.str.7
	.asciz	"%s; %s=%s"

	.no_dead_strip	_get_cookies
.subsections_via_symbols
