	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_proxy_authenticate
_get_proxy_authenticate:                ## @get_proxy_authenticate
	.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	$280, %rsp                      ## imm = 0x118
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, -312(%rbp)                ## 8-byte Spill
	movl	%esi, %r12d
	movl	%edi, %r13d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_HTTP_AUTH_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rcx, (%rsp)
	leaq	-304(%rbp), %rsi
	movl	$256, %edx                      ## imm = 0x100
	movl	%r12d, %ecx
	movl	$1, %r8d
	xorl	%r9d, %r9d
	callq	_recv_line
	testl	%eax, %eax
	je	LBB0_8
## %bb.1:
	leaq	-304(%rbp), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, (%rsp)
	movl	%r13d, %edi
	movq	%r14, %rsi
	movl	$256, %edx                      ## imm = 0x100
	movl	%r12d, %ecx
	movl	$1, %r8d
	xorl	%r9d, %r9d
	callq	_recv_line
	testl	%eax, %eax
	je	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_chomp
	movq	%r14, %rdi
	callq	_strlen
	testl	%eax, %eax
	je	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_HTTP_AUTH_NONE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	leaq	L_.str(%rip), %rsi
	movl	$20, %edx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	-284(%rbp), %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	$6, %edx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_D_PROXY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdx
	callq	_msg
	leaq	-278(%rbp), %rdi
	xorl	%esi, %esi
	callq	_string_alloc
	movq	-312(%rbp), %rcx                ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	_HTTP_AUTH_BASIC@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_7
LBB0_8:
	movq	-312(%rbp), %rbx                ## 8-byte Reload
	movq	(%rbx), %rdi
	callq	_free
	movq	$0, (%rbx)
	movq	_HTTP_AUTH_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	movl	%ebx, %eax
	addq	$280, %rsp                      ## imm = 0x118
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_HTTP_AUTH_NONE,4,2             ## @HTTP_AUTH_NONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Proxy-Authenticate: "

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

	.comm	_D_PROXY,4,2                    ## @D_PROXY
L_.str.2:                               ## @.str.2
	.asciz	"PROXY AUTH BASIC: '%s'"

	.comm	_HTTP_AUTH_BASIC,4,2            ## @HTTP_AUTH_BASIC
	.comm	_HTTP_AUTH_DIGEST,4,2           ## @HTTP_AUTH_DIGEST
	.comm	_HTTP_AUTH_NTLM,4,2             ## @HTTP_AUTH_NTLM
	.no_dead_strip	_get_proxy_authenticate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_proxy_authenticate
_get_proxy_authenticate:                ; @get_proxy_authenticate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #368
	.cfi_def_cfa_offset 368
	stp	x28, x27, [sp, #272]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #288]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #304]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #320]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #336]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #352]            ; 16-byte Folded Spill
	add	x29, sp, #352
	.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	x20, x3
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh3:
	adrp	x28, _HTTP_AUTH_NONE@GOTPAGE
Lloh4:
	ldr	x28, [x28, _HTTP_AUTH_NONE@GOTPAGEOFF]
	ldr	w23, [x28]
	mov	x25, sp
	mov	x1, sp
	mov	w2, #256
	mov	x3, x21
	mov	w4, #1
	mov	x5, #0
	mov	x6, x20
	bl	_recv_line
	cbz	w0, LBB0_8
; %bb.1:
	add	x24, x25, #20
	add	x25, x25, #26
Lloh5:
	adrp	x26, l_.str@PAGE
Lloh6:
	add	x26, x26, l_.str@PAGEOFF
Lloh7:
	adrp	x27, l_.str.1@PAGE
Lloh8:
	add	x27, x27, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x1, sp
	mov	x0, x22
	mov	w2, #256
	mov	x3, x21
	mov	w4, #1
	mov	x5, #0
	mov	x6, x20
	bl	_recv_line
	cbz	w0, LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, sp
	bl	_chomp
	mov	x0, sp
	bl	_strlen
	cbz	w0, LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x28]
	cmp	w23, w8
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, sp
	mov	x1, x26
	mov	w2, #20
	bl	_strncmp
	cbnz	w0, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x24
	mov	x1, x27
	mov	w2, #6
	bl	_strncmp
	cbnz	w0, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh9:
	adrp	x8, _D_PROXY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _D_PROXY@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	x2, sp
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_msg
	mov	x0, x25
	mov	x1, #0
	bl	_string_alloc
	str	x0, [x19]
Lloh14:
	adrp	x8, _HTTP_AUTH_BASIC@GOTPAGE
Lloh15:
	ldr	x8, [x8, _HTTP_AUTH_BASIC@GOTPAGEOFF]
Lloh16:
	ldr	w23, [x8]
	b	LBB0_2
LBB0_8:
	ldr	x0, [x19]
	bl	_free
	str	xzr, [x19]
	ldr	w23, [x28]
LBB0_9:
	ldur	x8, [x29, #-96]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	mov	x0, x23
	ldp	x29, x30, [sp, #352]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #336]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #320]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #304]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #288]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #368
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_HTTP_AUTH_NONE,4,2             ; @HTTP_AUTH_NONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Proxy-Authenticate: "

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

	.comm	_D_PROXY,4,2                    ; @D_PROXY
l_.str.2:                               ; @.str.2
	.asciz	"PROXY AUTH BASIC: '%s'"

	.comm	_HTTP_AUTH_BASIC,4,2            ; @HTTP_AUTH_BASIC
	.comm	_HTTP_AUTH_DIGEST,4,2           ; @HTTP_AUTH_DIGEST
	.comm	_HTTP_AUTH_NTLM,4,2             ; @HTTP_AUTH_NTLM
	.no_dead_strip	_get_proxy_authenticate
.subsections_via_symbols
