	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function http_authfromenv
_http_authfromenv:                      ## @http_authfromenv
	.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
	movq	%rsi, %r14
	callq	_strdup
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%rax, %rdi
	movl	$58, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_10
## %bb.3:
	movq	%rax, %rbx
	movb	$0, (%rax)
	movq	%r15, %rdi
	callq	_strdup
	movq	%rax, 24(%r14)
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:
	incq	%rbx
	movq	%rbx, %rdi
	movl	$58, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_10
## %bb.5:
	movq	%rax, %r12
	movb	$0, (%rax)
	movq	%rbx, %rdi
	callq	_strdup
	movq	%rax, 16(%r14)
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	incq	%r12
	movq	%r12, %rdi
	movl	$58, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:
	movq	%rax, %rbx
	movb	$0, (%rax)
	movq	%r12, %rdi
	callq	_strdup
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	incq	%rbx
	movq	%rbx, %rdi
	callq	_strdup
	movq	%rax, (%r14)
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jne	LBB0_11
LBB0_9:
	xorl	%eax, %eax
	callq	_fetch_syserr
LBB0_10:
	movq	%r14, %rdi
	callq	_clean_http_auth_params
	movl	$-1, %ebx
LBB0_11:
	movq	%r15, %rdi
	callq	_free
	jmp	LBB0_12
LBB0_1:
	xorl	%eax, %eax
	callq	_fetch_syserr
	movl	$-1, %ebx
LBB0_12:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_http_authfromenv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function http_authfromenv
_http_authfromenv:                      ; @http_authfromenv
	.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	x20, x1
	bl	_strdup
	cbz	x0, LBB0_9
; %bb.1:
	mov	x19, x0
	mov	w1, #58
	bl	_strchr
	cbz	x0, LBB0_11
; %bb.2:
	mov	x21, x0
	strb	wzr, [x0]
	mov	x0, x19
	bl	_strdup
	str	x0, [x20, #24]
	cbz	x0, LBB0_10
; %bb.3:
	add	x22, x21, #1
	mov	x0, x22
	mov	w1, #58
	bl	_strchr
	cbz	x0, LBB0_11
; %bb.4:
	mov	x21, x0
	strb	wzr, [x0]
	mov	x0, x22
	bl	_strdup
	str	x0, [x20, #16]
	cbz	x0, LBB0_10
; %bb.5:
	add	x22, x21, #1
	mov	x0, x22
	mov	w1, #58
	bl	_strchr
	cbz	x0, LBB0_11
; %bb.6:
	mov	x21, x0
	strb	wzr, [x0]
	mov	x0, x22
	bl	_strdup
	str	x0, [x20, #8]
	cbz	x0, LBB0_10
; %bb.7:
	add	x0, x21, #1
	bl	_strdup
	str	x0, [x20]
	cbz	x0, LBB0_10
; %bb.8:
	mov	w20, #0
	b	LBB0_12
LBB0_9:
	bl	_fetch_syserr
	mov	w20, #-1
	b	LBB0_13
LBB0_10:
	bl	_fetch_syserr
LBB0_11:
	mov	x0, x20
	bl	_clean_http_auth_params
	mov	w20, #-1
LBB0_12:
	mov	x0, x19
	bl	_free
LBB0_13:
	mov	x0, 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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_http_authfromenv
.subsections_via_symbols
