	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function choose_qop
_choose_qop:                            ## @choose_qop
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	leaq	L_.str(%rip), %r12
	movq	%r12, %rsi
	callq	_strstr
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_strlen
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.1:
	movslq	%eax, %r12
	movb	(%rbx,%r12), %al
	testb	%al, %al
	je	LBB0_4
## %bb.2:
	movsbl	%al, %edi
	callq	_av_isspace
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	cmpb	$44, (%rbx,%r12)
	jne	LBB0_7
LBB0_4:
	cmpq	%r15, %rbx
	je	LBB0_8
## %bb.5:
	movsbl	-1(%rbx), %edi
	callq	_av_isspace
	testq	%rax, %rax
	jne	LBB0_8
## %bb.6:
	cmpb	$44, -1(%rbx)
	jne	LBB0_7
LBB0_8:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	%r14d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_av_strlcpy                     ## TAILCALL
LBB0_7:
	movb	$0, (%r15)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"auth"

	.no_dead_strip	_choose_qop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function choose_qop
_choose_qop:                            ; @choose_qop
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x22, l_.str@PAGE
Lloh1:
	add	x22, x22, l_.str@PAGEOFF
	mov	x1, x22
	bl	_strstr
	mov	x21, x0
	mov	x0, x22
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	x21, LBB0_8
; %bb.1:
	sxtw	x22, w0
	ldrb	w8, [x21, x22]
	cbz	w8, LBB0_4
; %bb.2:
	sxtb	w0, w8
	bl	_av_isspace
	cbnz	x0, LBB0_4
; %bb.3:
	ldrb	w8, [x21, x22]
	cmp	w8, #44
	b.ne	LBB0_8
LBB0_4:
	cmp	x21, x20
	b.eq	LBB0_7
; %bb.5:
	ldursb	w0, [x21, #-1]
	bl	_av_isspace
	cbnz	x0, LBB0_7
; %bb.6:
	ldurb	w8, [x21, #-1]
	cmp	w8, #44
	b.ne	LBB0_8
LBB0_7:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_av_strlcpy
LBB0_8:
	strb	wzr, [x20]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"auth"

	.no_dead_strip	_choose_qop
.subsections_via_symbols
