	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function makerequest
_makerequest:                           ## @makerequest
	.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	%rdx, %r9
	movq	%rsi, %r8
	movq	_env_HTTP_PROXY@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	leaq	L_.str.2(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	cmoveq	%rsi, %rdx
	movq	%r9, %r11
	cmoveq	%rsi, %r11
	movq	_env_HTTP_USER_AGENT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r10d
	movq	_proxyauth@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	cmoveq	%rsi, %rbx
	testl	%ecx, %ecx
	leaq	L_.str.4(%rip), %rcx
	leaq	L_.str.3(%rip), %rax
	cmoveq	%rcx, %rax
	subq	$8, %rsp
	leaq	L_.str(%rip), %rsi
	movq	%r11, %rcx
	pushq	%rax
	pushq	%rbx
	pushq	%r10
	callq	_asprintf
	addq	$32, %rsp
	movl	%eax, %ebx
	cmpl	$-1, %eax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.5(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_2:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GET %s%s/%s HTTP/1.1\r\nHost: %s\r\nUser-Agent: %s\r\n%s%s\r\n"

	.comm	_env_HTTP_PROXY,8,3             ## @env_HTTP_PROXY
L_.str.1:                               ## @.str.1
	.asciz	"http://"

L_.str.2:                               ## @.str.2
	.space	1

	.comm	_env_HTTP_USER_AGENT,4,2        ## @env_HTTP_USER_AGENT
	.comm	_proxyauth,8,3                  ## @proxyauth
L_.str.3:                               ## @.str.3
	.asciz	"Connection: Close\r\n"

L_.str.4:                               ## @.str.4
	.asciz	"Connection: Keep-Alive\r\n"

L_.str.5:                               ## @.str.5
	.asciz	"asprintf"

	.no_dead_strip	_makerequest
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function makerequest
_makerequest:                           ; @makerequest
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x5, x2
	mov	x4, x1
Lloh0:
	adrp	x8, _env_HTTP_PROXY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _env_HTTP_PROXY@GOTPAGEOFF]
Lloh2:
	adrp	x9, l_.str.1@PAGE
Lloh3:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh4:
	adrp	x10, l_.str.2@PAGE
Lloh5:
	add	x10, x10, l_.str.2@PAGEOFF
Lloh6:
	ldr	x8, [x8]
	cmp	x8, #0
	csel	x2, x10, x9, eq
	csel	x8, x10, x5, eq
Lloh7:
	adrp	x9, _env_HTTP_USER_AGENT@GOTPAGE
Lloh8:
	ldr	x9, [x9, _env_HTTP_USER_AGENT@GOTPAGEOFF]
Lloh9:
	ldr	w6, [x9]
Lloh10:
	adrp	x9, _proxyauth@GOTPAGE
Lloh11:
	ldr	x9, [x9, _proxyauth@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, #0
	csel	x7, x10, x9, eq
Lloh13:
	adrp	x9, l_.str.3@PAGE
Lloh14:
	add	x9, x9, l_.str.3@PAGEOFF
Lloh15:
	adrp	x10, l_.str.4@PAGE
Lloh16:
	add	x10, x10, l_.str.4@PAGEOFF
	cmp	w3, #0
	csel	x9, x10, x9, eq
	str	x9, [sp]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x8
	bl	_asprintf
	mov	x19, x0
	cmn	w0, #1
	b.ne	LBB0_2
; %bb.1:
Lloh19:
	adrp	x1, l_.str.5@PAGE
Lloh20:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh6
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GET %s%s/%s HTTP/1.1\r\nHost: %s\r\nUser-Agent: %s\r\n%s%s\r\n"

	.comm	_env_HTTP_PROXY,8,3             ; @env_HTTP_PROXY
l_.str.1:                               ; @.str.1
	.asciz	"http://"

l_.str.2:                               ; @.str.2
	.space	1

	.comm	_env_HTTP_USER_AGENT,4,2        ; @env_HTTP_USER_AGENT
	.comm	_proxyauth,8,3                  ; @proxyauth
l_.str.3:                               ; @.str.3
	.asciz	"Connection: Close\r\n"

l_.str.4:                               ; @.str.4
	.asciz	"Connection: Keep-Alive\r\n"

l_.str.5:                               ; @.str.5
	.asciz	"asprintf"

	.no_dead_strip	_makerequest
.subsections_via_symbols
