	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enqueue_requests
_enqueue_requests:                      ## @enqueue_requests
	.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	$2072, %rsp                     ## imm = 0x818
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -2112(%rbp)               ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_reqs@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.1:
	xorl	%r15d, %r15d
	leaq	-1072(%rbp), %rbx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 16(%rax,%r15)
	leaq	16(%r15), %r15
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-2112(%rbp), %rdi               ## 8-byte Reload
	leaq	-2104(%rbp), %rsi
	xorl	%edx, %edx
	callq	_quicly_open_stream
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	movq	(%r14), %rax
	movq	(%rax,%r15), %rdx
	movq	%rbx, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_sprintf
	movq	-2104(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_send_str
	movq	-2104(%rbp), %rdi
	callq	_quicly_streambuf_egress_shutdown
	movq	(%r14), %rax
	cmpq	$0, 8(%rax,%r15)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-2104(%rbp), %rcx
	movq	(%rcx), %r13
	movq	(%rax,%r15), %rdi
	movl	$47, %esi
	callq	_strrchr
	leaq	1(%rax), %rdx
	leaq	-2096(%rbp), %r12
	movq	%r12, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_sprintf
	movq	%r12, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_fopen
	movq	%rax, (%r13)
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rax
	jmp	LBB0_5
LBB0_6:
	movq	_INT64_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_enqueue_requests_at@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.7:
	addq	$2072, %rsp                     ## imm = 0x818
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	(%r14), %rax
	movq	(%rax,%r15), %r14
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.3(%rip), %rsi
	movl	%ebx, %edi
	movq	%r14, %rdx
	movq	%rax, %rcx
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_reqs,8,3                       ## @reqs
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GET %s\r\n"

L_.str.1:                               ## @.str.1
	.asciz	"%s.downloaded"

L_.str.2:                               ## @.str.2
	.asciz	"w"

	.comm	_stderr,4,2                     ## @stderr
L_.str.3:                               ## @.str.3
	.asciz	"failed to open destination file:%s:%s\n"

	.comm	_errno,4,2                      ## @errno
	.comm	_INT64_MAX,4,2                  ## @INT64_MAX
	.comm	_enqueue_requests_at,4,2        ## @enqueue_requests_at
	.no_dead_strip	_enqueue_requests
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enqueue_requests
_enqueue_requests:                      ; @enqueue_requests
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #2064
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x23, _reqs@GOTPAGE
Lloh4:
	ldr	x23, [x23, _reqs@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.1:
	mov	x19, x0
	mov	x24, #0
Lloh5:
	adrp	x20, l_.str@PAGE
Lloh6:
	add	x20, x20, l_.str@PAGEOFF
Lloh7:
	adrp	x21, l_.str.1@PAGE
Lloh8:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh9:
	adrp	x22, l_.str.2@PAGE
Lloh10:
	add	x22, x22, l_.str.2@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, x24
	ldr	x8, [x8, #16]
	add	x24, x24, #16
	cbz	x8, LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x1, sp
	mov	x0, x19
	mov	w2, #0
	bl	_quicly_open_stream
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
	ldr	x8, [x23]
	ldr	x2, [x8, x24]
	add	x0, sp, #1032
	mov	x1, x20
	bl	_sprintf
	ldr	x0, [sp]
	add	x1, sp, #1032
	bl	_send_str
	ldr	x0, [sp]
	bl	_quicly_streambuf_egress_shutdown
	ldr	x8, [x23]
	add	x9, x8, x24
	ldr	x9, [x9, #8]
	cbz	x9, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [sp]
	ldr	x25, [x9]
	ldr	x0, [x8, x24]
	mov	w1, #47
	bl	_strrchr
	add	x2, x0, #1
	add	x0, sp, #8
	mov	x1, x21
	bl	_sprintf
	add	x0, sp, #8
	mov	x1, x22
	bl	_fopen
	str	x0, [x25]
	cbz	x0, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x23]
	b	LBB0_2
LBB0_6:
Lloh11:
	adrp	x8, _INT64_MAX@GOTPAGE
Lloh12:
	ldr	x8, [x8, _INT64_MAX@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _enqueue_requests_at@GOTPAGE
Lloh15:
	ldr	x9, [x9, _enqueue_requests_at@GOTPAGEOFF]
Lloh16:
	str	w8, [x9]
	ldur	x8, [x29, #-72]
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_9
; %bb.7:
	add	sp, sp, #2064
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh20:
	adrp	x8, _stderr@GOTPAGE
Lloh21:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh22:
	ldr	w19, [x8]
	ldr	x8, [x23]
	ldr	x20, [x8, x24]
Lloh23:
	adrp	x8, _errno@GOTPAGE
Lloh24:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	bl	_strerror
	mov	x3, x0
Lloh26:
	adrp	x1, l_.str.3@PAGE
Lloh27:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_fprintf
	mov	w0, #1
	bl	_exit
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_reqs,8,3                       ; @reqs
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GET %s\r\n"

l_.str.1:                               ; @.str.1
	.asciz	"%s.downloaded"

l_.str.2:                               ; @.str.2
	.asciz	"w"

	.comm	_stderr,4,2                     ; @stderr
l_.str.3:                               ; @.str.3
	.asciz	"failed to open destination file:%s:%s\n"

	.comm	_errno,4,2                      ; @errno
	.comm	_INT64_MAX,4,2                  ; @INT64_MAX
	.comm	_enqueue_requests_at,4,2        ; @enqueue_requests_at
	.no_dead_strip	_enqueue_requests
.subsections_via_symbols
