	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_http_auth_handle_header     ## -- Begin function ff_http_auth_handle_header
	.p2align	4, 0x90
_ff_http_auth_handle_header:            ## @ff_http_auth_handle_header
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_av_strcasecmp
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_av_strcasecmp
	testl	%eax, %eax
	je	LBB0_2
## %bb.9:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_av_strcasecmp
	testl	%eax, %eax
	jne	LBB0_10
## %bb.11:
	movq	_handle_digest_update@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	%r14, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ff_parse_key_value             ## TAILCALL
LBB0_2:
	leaq	L_.str.2(%rip), %rsi
	leaq	-32(%rbp), %rdx
	movq	%r15, %rdi
	callq	_av_stristart
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	_HTTP_AUTH_BASIC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, (%r14)
	jle	LBB0_4
LBB0_5:
	leaq	L_.str.3(%rip), %rsi
	leaq	-32(%rbp), %rdx
	movq	%r15, %rdi
	callq	_av_stristart
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:
	movq	_HTTP_AUTH_DIGEST@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, (%r14)
	jg	LBB0_10
## %bb.7:
	movq	%rax, (%r14)
	leaq	16(%r14), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	32(%r14), %rax
	movq	$0, (%rax)
	movl	$0, 8(%r14)
	movq	-32(%rbp), %rdi
	movq	_handle_digest_params@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdx
	callq	_ff_parse_key_value
	movl	24(%r14), %edi
	movl	$4, %esi
	callq	_choose_qop
	movq	16(%r14), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_av_strcasecmp
	testl	%eax, %eax
	jne	LBB0_10
## %bb.8:
	movl	$1, 8(%r14)
	jmp	LBB0_10
LBB0_4:
	movq	%rax, (%r14)
	movq	32(%r14), %rax
	movq	$0, (%rax)
	movl	$0, 8(%r14)
	movq	-32(%rbp), %rdi
	movq	_handle_basic_params@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdx
	callq	_ff_parse_key_value
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WWW-Authenticate"

L_.str.1:                               ## @.str.1
	.asciz	"Proxy-Authenticate"

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

	.comm	_HTTP_AUTH_BASIC,8,3            ## @HTTP_AUTH_BASIC
	.comm	_handle_basic_params,8,3        ## @handle_basic_params
L_.str.3:                               ## @.str.3
	.asciz	"Digest "

	.comm	_HTTP_AUTH_DIGEST,8,3           ## @HTTP_AUTH_DIGEST
	.comm	_handle_digest_params,8,3       ## @handle_digest_params
L_.str.4:                               ## @.str.4
	.asciz	"true"

L_.str.5:                               ## @.str.5
	.asciz	"Authentication-Info"

	.comm	_handle_digest_update,8,3       ## @handle_digest_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_http_auth_handle_header     ; -- Begin function ff_http_auth_handle_header
	.p2align	2
_ff_http_auth_handle_header:            ; @ff_http_auth_handle_header
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_av_strcasecmp
	cbz	w0, LBB0_4
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_av_strcasecmp
	cbz	w0, LBB0_4
; %bb.2:
Lloh4:
	adrp	x1, l_.str.5@PAGE
Lloh5:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	bl	_av_strcasecmp
	cbnz	w0, LBB0_11
; %bb.3:
Lloh6:
	adrp	x8, _handle_digest_update@GOTPAGE
Lloh7:
	ldr	x8, [x8, _handle_digest_update@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_ff_parse_key_value
LBB0_4:
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #8
	mov	x0, x20
	bl	_av_stristart
	cbz	x0, LBB0_6
; %bb.5:
	ldr	x9, [x19]
Lloh11:
	adrp	x8, _HTTP_AUTH_BASIC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _HTTP_AUTH_BASIC@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x9, x8
	b.le	LBB0_10
LBB0_6:
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x2, sp, #8
	mov	x0, x20
	bl	_av_stristart
	cbz	x0, LBB0_11
; %bb.7:
	ldr	x9, [x19]
Lloh16:
	adrp	x8, _HTTP_AUTH_DIGEST@GOTPAGE
Lloh17:
	ldr	x8, [x8, _HTTP_AUTH_DIGEST@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	cmp	x9, x8
	b.gt	LBB0_11
; %bb.8:
	str	x8, [x19]
	add	x0, x19, #16
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	x8, [x19, #32]
	str	xzr, [x8]
	str	wzr, [x19, #8]
	ldr	x0, [sp, #8]
Lloh19:
	adrp	x8, _handle_digest_params@GOTPAGE
Lloh20:
	ldr	x8, [x8, _handle_digest_params@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_ff_parse_key_value
	ldr	w0, [x19, #24]
	mov	w1, #4
	bl	_choose_qop
	ldr	x0, [x19, #16]
Lloh22:
	adrp	x1, l_.str.4@PAGE
Lloh23:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_av_strcasecmp
	cbnz	w0, LBB0_11
; %bb.9:
	mov	w8, #1
	str	w8, [x19, #8]
	b	LBB0_11
LBB0_10:
	str	x8, [x19]
	ldr	x8, [x19, #32]
	str	xzr, [x8]
	str	wzr, [x19, #8]
	ldr	x0, [sp, #8]
Lloh24:
	adrp	x8, _handle_basic_params@GOTPAGE
Lloh25:
	ldr	x8, [x8, _handle_basic_params@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_ff_parse_key_value
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WWW-Authenticate"

l_.str.1:                               ; @.str.1
	.asciz	"Proxy-Authenticate"

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

	.comm	_HTTP_AUTH_BASIC,8,3            ; @HTTP_AUTH_BASIC
	.comm	_handle_basic_params,8,3        ; @handle_basic_params
l_.str.3:                               ; @.str.3
	.asciz	"Digest "

	.comm	_HTTP_AUTH_DIGEST,8,3           ; @HTTP_AUTH_DIGEST
	.comm	_handle_digest_params,8,3       ; @handle_digest_params
l_.str.4:                               ; @.str.4
	.asciz	"true"

l_.str.5:                               ; @.str.5
	.asciz	"Authentication-Info"

	.comm	_handle_digest_update,8,3       ; @handle_digest_update
.subsections_via_symbols
