	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_set_cookie
_parse_set_cookie:                      ## @parse_set_cookie
	.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, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	cmpb	$0, (%rdi)
	je	LBB0_13
## %bb.1:
	callq	_av_strdup
	testq	%rax, %rax
	je	LBB0_14
## %bb.2:
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_strlen
	movslq	%eax, %rbx
	movq	_WHITESPACES@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movsbl	-1(%r13,%rbx), %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	decq	%rbx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movb	$0, (%r13,%rbx)
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r14), %edi
	movsbl	-1(%r13,%rbx), %esi
	callq	_strchr
	decq	%rbx
	testq	%rax, %rax
	jne	LBB0_5
LBB0_6:
	movq	%r13, -48(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-48(%rbp), %rdx
	movq	%r13, %rdi
	callq	_av_strtok
	testq	%rax, %rax
	je	LBB0_12
## %bb.7:
	movq	%rax, %r12
	leaq	-64(%rbp), %rbx
	leaq	-48(%rbp), %r15
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	-48(%rbp), %rdi
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdx
	callq	_av_strtok
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_12
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %esi
	movq	%r12, %rdi
	callq	_strspn
	movslq	%eax, %rdi
	addq	%r12, %rdi
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdx
	callq	_av_strtok
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	-64(%rbp), %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	xorl	%ecx, %ecx
	callq	_av_dict_set
	testq	%rax, %rax
	jns	LBB0_11
## %bb.10:
	movq	%r13, %rdi
	callq	_av_free
	movl	$-1, %eax
	jmp	LBB0_13
LBB0_12:
	movq	%r13, %rdi
	callq	_av_free
	xorl	%eax, %eax
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_WHITESPACES,4,2                ## @WHITESPACES
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	";"

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

	.no_dead_strip	_parse_set_cookie
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_set_cookie
_parse_set_cookie:                      ; @parse_set_cookie
	.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
	ldrb	w8, [x0]
	cbz	w8, LBB0_12
; %bb.1:
	mov	x19, x1
	bl	_av_strdup
	cbz	x0, LBB0_14
; %bb.2:
	mov	x20, x0
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	sub	x21, x8, #1
Lloh0:
	adrp	x24, _WHITESPACES@GOTPAGE
Lloh1:
	ldr	x24, [x24, _WHITESPACES@GOTPAGEOFF]
	ldr	w0, [x24]
	ldrsb	w1, [x20, x21]
	bl	_strchr
	cbz	x0, LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	strb	wzr, [x20, x21]
	cbz	x21, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x20, x21
	ldr	w0, [x24]
	ldursb	w1, [x8, #-1]
	bl	_strchr
	sub	x21, x21, #1
	cbnz	x0, LBB0_3
LBB0_5:
	str	x20, [sp, #8]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	mov	x0, x20
	bl	_av_strtok
	cbz	x0, LBB0_11
; %bb.6:
	mov	x23, x0
Lloh4:
	adrp	x21, l_.str.1@PAGE
Lloh5:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh6:
	adrp	x22, l_.str@PAGE
Lloh7:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [sp, #8]
	add	x2, sp, #8
	mov	x1, x22
	bl	_av_strtok
	mov	x23, x0
	cbz	x0, LBB0_11
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x24]
	mov	x0, x23
	bl	_strspn
	add	x0, x23, w0, sxtw
	mov	x2, sp
	mov	x1, x21
	bl	_av_strtok
	cbz	x0, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x1, x0
	ldr	x2, [sp]
	mov	x0, x19
	mov	w3, #0
	bl	_av_dict_set
	tbz	x0, #63, LBB0_7
; %bb.10:
	mov	x0, x20
	bl	_av_free
	mov	w0, #-1
	b	LBB0_13
LBB0_11:
	mov	x0, x20
	bl	_av_free
LBB0_12:
	mov	w0, #0
LBB0_13:
	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_14:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	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
	b	_AVERROR
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_WHITESPACES,4,2                ; @WHITESPACES
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	";"

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

	.no_dead_strip	_parse_set_cookie
.subsections_via_symbols
