	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_http_return_file               ## -- Begin function http_return_file
	.p2align	4, 0x90
_http_return_file:                      ## @http_return_file
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movl	%ecx, %r14d
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r15
	decl	48(%rsi)
	cmpq	$0, 40(%rsi)
	je	LBB0_5
## %bb.3:
	movq	8(%rbx), %rax
	movl	(%rax), %r8d
	movl	4(%rax), %edx
	movl	16(%rbx), %ecx
	leaq	L_.str.1(%rip), %rsi
	movl	$2, %edi
	xorl	%eax, %eax
	callq	_vkprintf
	movq	_redirect_retries_meta_aio@GOTPCREL(%rip), %r9
	jmp	LBB0_4
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_vkprintf
	movl	$-500, %ebx                     ## imm = 0xFE0C
LBB0_21:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	cmpq	$0, 32(%rbx)
	je	LBB0_7
## %bb.6:
	movq	8(%rbx), %rax
	movl	(%rax), %r8d
	movl	4(%rax), %edx
	movl	16(%rbx), %ecx
	leaq	L_.str.2(%rip), %rsi
	movl	$2, %edi
	xorl	%eax, %eax
	callq	_vkprintf
	movq	_redirect_retries_corrupted@GOTPCREL(%rip), %r9
	jmp	LBB0_4
LBB0_7:
	movq	24(%rbx), %r13
	movq	(%r13), %rax
	xorq	%r12, %rax
	movq	_STORAGE_SECRET_MASK@GOTPCREL(%rip), %rcx
	testq	%rax, (%rcx)
	je	LBB0_9
## %bb.8:
	movq	8(%rbx), %rax
	movl	(%rax), %r8d
	movl	4(%rax), %edx
	movl	16(%rbx), %ecx
	leaq	L_.str.3(%rip), %rsi
	movl	$2, %edi
	xorl	%eax, %eax
	callq	_vkprintf
	movq	_redirect_retries_secret@GOTPCREL(%rip), %r9
	jmp	LBB0_4
LBB0_9:
	movq	8(%r13), %rax
	movq	_LEV_STORAGE_FILE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.11:
	movl	16(%r13), %eax
	testl	%eax, %eax
	js	LBB0_13
## %bb.12:
	movq	_ct_last@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_13
## %bb.14:
	movq	24(%r13), %rax
	cmpq	(%rbx), %rax
	jne	LBB0_15
## %bb.16:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_update_binlog_read_stat
	cmpq	%r12, (%r13)
	jne	LBB0_17
## %bb.18:
	movl	16(%r13), %edx
	cmpl	%r14d, %edx
	jne	LBB0_19
## %bb.20:
	movl	36(%r13), %edx
	leaq	L_.str.9(%rip), %rsi
	xorl	%ebx, %ebx
	movl	$3, %edi
	xorl	%eax, %eax
	callq	_vkprintf
	movq	40(%r13), %rsi
	movl	36(%r13), %edx
	movl	16(%r13), %r8d
	movl	32(%r13), %ecx
	movq	%r15, %rdi
	callq	_write_http_doc
	jmp	LBB0_21
LBB0_10:
	movq	8(%rbx), %rax
	movl	(%rax), %r8d
	movl	4(%rax), %edx
	movl	16(%rbx), %ecx
	leaq	L_.str.4(%rip), %rsi
	movl	$2, %edi
	xorl	%eax, %eax
	callq	_vkprintf
	movq	_redirect_retries_type@GOTPCREL(%rip), %r9
	jmp	LBB0_4
LBB0_13:
	movq	8(%rbx), %rax
	movl	(%rax), %r8d
	movl	4(%rax), %edx
	movl	16(%rbx), %ecx
	leaq	L_.str.5(%rip), %rsi
	movl	$2, %edi
	xorl	%eax, %eax
	callq	_vkprintf
	movq	_redirect_retries_content_type@GOTPCREL(%rip), %r9
	jmp	LBB0_4
LBB0_15:
	movq	8(%rbx), %rax
	movl	(%rax), %r8d
	movl	4(%rax), %edx
	movl	16(%rbx), %ecx
	leaq	L_.str.6(%rip), %rsi
	movl	$2, %edi
	xorl	%eax, %eax
	callq	_vkprintf
	movq	_redirect_retries_local_id@GOTPCREL(%rip), %r9
LBB0_4:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	movl	%r14d, %ecx
	movl	$-500, %r8d                     ## imm = 0xFE0C
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_http_try_x_accel_redirect      ## TAILCALL
LBB0_17:
	movq	8(%rbx), %rax
	movl	(%rax), %r8d
	movl	4(%rax), %edx
	movl	16(%rbx), %ecx
	leaq	L_.str.7(%rip), %rsi
	movl	$2, %edi
	xorl	%eax, %eax
	callq	_vkprintf
	movl	$-403, %ebx                     ## imm = 0xFE6D
	jmp	LBB0_21
LBB0_19:
	movq	8(%rbx), %rax
	movl	(%rax), %ecx
	movl	4(%rax), %r8d
	movl	16(%rbx), %r9d
	movl	%ecx, (%rsp)
	leaq	L_.str.8(%rip), %rsi
	movl	$2, %edi
	movl	%r14d, %ecx
	xorl	%eax, %eax
	callq	_vkprintf
	movl	$-404, %ebx                     ## imm = 0xFE6C
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"http_return_file: meta == NULL\n"

L_.str.1:                               ## @.str.1
	.asciz	"Metafile timeout error %s, offset: %lld, volume_id: %lld\n"

	.comm	_redirect_retries_meta_aio,4,2  ## @redirect_retries_meta_aio
L_.str.2:                               ## @.str.2
	.asciz	"Metafile read error %s, offset: %lld, volume_id: %lld\n"

	.comm	_redirect_retries_corrupted,4,2 ## @redirect_retries_corrupted
	.comm	_STORAGE_SECRET_MASK,8,3        ## @STORAGE_SECRET_MASK
L_.str.3:                               ## @.str.3
	.asciz	"Metafiles 2 high bytes of secret is corrupted, %s, offset: %lld, volume_id: %lld\n"

	.comm	_redirect_retries_secret,4,2    ## @redirect_retries_secret
	.comm	_LEV_STORAGE_FILE,8,3           ## @LEV_STORAGE_FILE
L_.str.4:                               ## @.str.4
	.asciz	"E->type isn't LEV_STORAGE_FILE %s, offset: %lld, volume_id: %lld\n"

	.comm	_redirect_retries_type,4,2      ## @redirect_retries_type
	.comm	_ct_last,4,2                    ## @ct_last
L_.str.5:                               ## @.str.5
	.asciz	"Illegal E->content_type in %s, offset: %lld, volume_id: %lld\n"

	.comm	_redirect_retries_content_type,4,2 ## @redirect_retries_content_type
L_.str.6:                               ## @.str.6
	.asciz	"local_id not matched %s, offset: %lld, volume_id: %lld\n"

	.comm	_redirect_retries_local_id,4,2  ## @redirect_retries_local_id
L_.str.7:                               ## @.str.7
	.asciz	"secret not matched %s, offset: %lld, volume_id: %lld\n"

L_.str.8:                               ## @.str.8
	.asciz	"E->content_type (%d) != content_type (%d) %s, offset: %lld, volume_id: %lld\n"

L_.str.9:                               ## @.str.9
	.asciz	"E->size = %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_http_return_file               ; -- Begin function http_return_file
	.p2align	2
_http_return_file:                      ; @http_return_file
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	cbz	x1, LBB0_3
; %bb.1:
	mov	x19, x3
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
	ldr	w8, [x1, #48]
	sub	w8, w8, #1
	str	w8, [x1, #48]
	ldr	x8, [x1, #40]
	cbz	x8, LBB0_5
; %bb.2:
	ldr	x8, [x21, #8]
	ldr	w9, [x21, #16]
	ldp	w8, w10, [x8]
	stp	x9, x8, [sp, #8]
	str	x10, [sp]
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #2
	bl	_vkprintf
Lloh2:
	adrp	x5, _redirect_retries_meta_aio@GOTPAGE
Lloh3:
	ldr	x5, [x5, _redirect_retries_meta_aio@GOTPAGEOFF]
	b	LBB0_19
LBB0_3:
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_vkprintf
	mov	w0, #-500
LBB0_4:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_5:
	ldr	x8, [x21, #32]
	cbz	x8, LBB0_7
; %bb.6:
	ldr	x8, [x21, #8]
	ldr	w9, [x21, #16]
	ldp	w8, w10, [x8]
	stp	x9, x8, [sp, #8]
	str	x10, [sp]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #2
	bl	_vkprintf
Lloh8:
	adrp	x5, _redirect_retries_corrupted@GOTPAGE
Lloh9:
	ldr	x5, [x5, _redirect_retries_corrupted@GOTPAGEOFF]
	b	LBB0_19
LBB0_7:
	ldr	x23, [x21, #24]
	ldr	x8, [x23]
	eor	x8, x8, x22
Lloh10:
	adrp	x9, _STORAGE_SECRET_MASK@GOTPAGE
Lloh11:
	ldr	x9, [x9, _STORAGE_SECRET_MASK@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	tst	x8, x9
	b.eq	LBB0_9
; %bb.8:
	ldr	x8, [x21, #8]
	ldr	w9, [x21, #16]
	ldp	w8, w10, [x8]
	stp	x9, x8, [sp, #8]
	str	x10, [sp]
Lloh13:
	adrp	x1, l_.str.3@PAGE
Lloh14:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #2
	bl	_vkprintf
Lloh15:
	adrp	x5, _redirect_retries_secret@GOTPAGE
Lloh16:
	ldr	x5, [x5, _redirect_retries_secret@GOTPAGEOFF]
	b	LBB0_19
LBB0_9:
	ldr	x8, [x23, #8]
Lloh17:
	adrp	x9, _LEV_STORAGE_FILE@GOTPAGE
Lloh18:
	ldr	x9, [x9, _LEV_STORAGE_FILE@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.10:
	ldr	w8, [x23, #16]
	tbnz	w8, #31, LBB0_17
; %bb.11:
Lloh20:
	adrp	x9, _ct_last@GOTPAGE
Lloh21:
	ldr	x9, [x9, _ct_last@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ge	LBB0_17
; %bb.12:
	ldr	x8, [x23, #24]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_18
; %bb.13:
	mov	x0, x21
	mov	w1, #1
	bl	_update_binlog_read_stat
	ldr	x8, [x23]
	cmp	x8, x22
	b.ne	LBB0_20
; %bb.14:
	ldr	w8, [x23, #16]
	cmp	w8, w19
	b.ne	LBB0_21
; %bb.15:
	ldr	w8, [x23, #36]
	str	x8, [sp]
Lloh23:
	adrp	x1, l_.str.9@PAGE
Lloh24:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	w0, #3
	bl	_vkprintf
	ldr	x1, [x23, #40]
	ldp	w3, w2, [x23, #32]
	ldr	w4, [x23, #16]
	mov	x0, x20
	bl	_write_http_doc
	mov	w0, #0
	b	LBB0_4
LBB0_16:
	ldr	x8, [x21, #8]
	ldr	w9, [x21, #16]
	ldp	w8, w10, [x8]
	stp	x9, x8, [sp, #8]
	str	x10, [sp]
Lloh25:
	adrp	x1, l_.str.4@PAGE
Lloh26:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #2
	bl	_vkprintf
Lloh27:
	adrp	x5, _redirect_retries_type@GOTPAGE
Lloh28:
	ldr	x5, [x5, _redirect_retries_type@GOTPAGEOFF]
	b	LBB0_19
LBB0_17:
	ldr	x8, [x21, #8]
	ldr	w9, [x21, #16]
	ldp	w8, w10, [x8]
	stp	x9, x8, [sp, #8]
	str	x10, [sp]
Lloh29:
	adrp	x1, l_.str.5@PAGE
Lloh30:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #2
	bl	_vkprintf
Lloh31:
	adrp	x5, _redirect_retries_content_type@GOTPAGE
Lloh32:
	ldr	x5, [x5, _redirect_retries_content_type@GOTPAGEOFF]
	b	LBB0_19
LBB0_18:
	ldr	x8, [x21, #8]
	ldr	w9, [x21, #16]
	ldp	w8, w10, [x8]
	stp	x9, x8, [sp, #8]
	str	x10, [sp]
Lloh33:
	adrp	x1, l_.str.6@PAGE
Lloh34:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w0, #2
	bl	_vkprintf
Lloh35:
	adrp	x5, _redirect_retries_local_id@GOTPAGE
Lloh36:
	ldr	x5, [x5, _redirect_retries_local_id@GOTPAGEOFF]
LBB0_19:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	x3, x19
	mov	w4, #-500
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_http_try_x_accel_redirect
LBB0_20:
	ldr	x8, [x21, #8]
	ldr	w9, [x21, #16]
	ldp	w8, w10, [x8]
	stp	x9, x8, [sp, #8]
	str	x10, [sp]
Lloh37:
	adrp	x1, l_.str.7@PAGE
Lloh38:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	w0, #2
	bl	_vkprintf
	mov	w0, #-403
	b	LBB0_4
LBB0_21:
	ldr	x9, [x21, #8]
	ldr	w10, [x21, #16]
	ldp	w9, w11, [x9]
	stp	x10, x9, [sp, #24]
	stp	x19, x11, [sp, #8]
	str	x8, [sp]
Lloh39:
	adrp	x1, l_.str.8@PAGE
Lloh40:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	w0, #2
	bl	_vkprintf
	mov	w0, #-404
	b	LBB0_4
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"http_return_file: meta == NULL\n"

l_.str.1:                               ; @.str.1
	.asciz	"Metafile timeout error %s, offset: %lld, volume_id: %lld\n"

	.comm	_redirect_retries_meta_aio,4,2  ; @redirect_retries_meta_aio
l_.str.2:                               ; @.str.2
	.asciz	"Metafile read error %s, offset: %lld, volume_id: %lld\n"

	.comm	_redirect_retries_corrupted,4,2 ; @redirect_retries_corrupted
	.comm	_STORAGE_SECRET_MASK,8,3        ; @STORAGE_SECRET_MASK
l_.str.3:                               ; @.str.3
	.asciz	"Metafiles 2 high bytes of secret is corrupted, %s, offset: %lld, volume_id: %lld\n"

	.comm	_redirect_retries_secret,4,2    ; @redirect_retries_secret
	.comm	_LEV_STORAGE_FILE,8,3           ; @LEV_STORAGE_FILE
l_.str.4:                               ; @.str.4
	.asciz	"E->type isn't LEV_STORAGE_FILE %s, offset: %lld, volume_id: %lld\n"

	.comm	_redirect_retries_type,4,2      ; @redirect_retries_type
	.comm	_ct_last,4,2                    ; @ct_last
l_.str.5:                               ; @.str.5
	.asciz	"Illegal E->content_type in %s, offset: %lld, volume_id: %lld\n"

	.comm	_redirect_retries_content_type,4,2 ; @redirect_retries_content_type
l_.str.6:                               ; @.str.6
	.asciz	"local_id not matched %s, offset: %lld, volume_id: %lld\n"

	.comm	_redirect_retries_local_id,4,2  ; @redirect_retries_local_id
l_.str.7:                               ; @.str.7
	.asciz	"secret not matched %s, offset: %lld, volume_id: %lld\n"

l_.str.8:                               ; @.str.8
	.asciz	"E->content_type (%d) != content_type (%d) %s, offset: %lld, volume_id: %lld\n"

l_.str.9:                               ; @.str.9
	.asciz	"E->size = %d\n"

.subsections_via_symbols
