	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function http_get_proxy
_http_get_proxy:                        ## @http_get_proxy
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movq	%rsi, %rdi
	movl	$100, %esi
	callq	_strchr
	testq	%rax, %rax
	jne	LBB0_13
LBB0_2:
	movl	16(%rbx), %edi
	callq	_fetch_no_proxy_match
	testq	%rax, %rax
	je	LBB0_3
LBB0_13:
	xorl	%ebx, %ebx
LBB0_14:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	leaq	L_.str(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_13
LBB0_5:
	cmpb	$0, (%rax)
	je	LBB0_13
## %bb.6:
	movq	%rax, %rdi
	callq	_fetchParseURL
	testq	%rax, %rax
	je	LBB0_13
## %bb.7:
	movq	%rax, %rbx
	movq	(%rax), %rdi
	cmpl	$0, (%rdi)
	jne	LBB0_9
## %bb.8:
	movq	_SCHEME_HTTP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_strcpy
LBB0_9:
	cmpq	$0, 8(%rbx)
	jne	LBB0_11
## %bb.10:
	movq	(%rbx), %rdi
	callq	_fetch_default_proxy_port
	movq	%rax, 8(%rbx)
LBB0_11:
	movq	(%rbx), %rdi
	movq	_SCHEME_HTTP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:
	movq	%rbx, %rdi
	callq	_fetchFreeURL
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HTTP_PROXY"

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

	.comm	_SCHEME_HTTP,4,2                ## @SCHEME_HTTP
	.no_dead_strip	_http_get_proxy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function http_get_proxy
_http_get_proxy:                        ; @http_get_proxy
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	cbz	x1, LBB0_2
; %bb.1:
	mov	x0, x1
	mov	w1, #100
	bl	_strchr
	cbnz	x0, LBB0_3
LBB0_2:
	ldr	w0, [x19, #16]
	bl	_fetch_no_proxy_match
	cbz	x0, LBB0_5
LBB0_3:
	mov	x19, #0
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_getenv
	cbnz	x0, LBB0_7
; %bb.6:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_getenv
	cbz	x0, LBB0_3
LBB0_7:
	ldrb	w8, [x0]
	cbz	w8, LBB0_3
; %bb.8:
	bl	_fetchParseURL
	mov	x19, x0
	cbz	x0, LBB0_4
; %bb.9:
	ldr	x0, [x19]
	ldr	w8, [x0]
Lloh4:
	adrp	x20, _SCHEME_HTTP@GOTPAGE
Lloh5:
	ldr	x20, [x20, _SCHEME_HTTP@GOTPAGEOFF]
	cbnz	w8, LBB0_11
; %bb.10:
	ldr	w1, [x20]
	bl	_strcpy
LBB0_11:
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_13
; %bb.12:
	ldr	x0, [x19]
	bl	_fetch_default_proxy_port
	str	x0, [x19, #8]
LBB0_13:
	ldr	x0, [x19]
	ldr	w1, [x20]
	bl	_strcmp
	cbz	x0, LBB0_4
; %bb.14:
	mov	x0, x19
	bl	_fetchFreeURL
	b	LBB0_3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HTTP_PROXY"

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

	.comm	_SCHEME_HTTP,4,2                ; @SCHEME_HTTP
	.no_dead_strip	_http_get_proxy
.subsections_via_symbols
