	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_index_fd                       ## -- Begin function index_fd
	.p2align	4, 0x90
_index_fd:                              ## @index_fd
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %rbx
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r13
	movl	%edx, %r12d
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movq	_OBJ_BLOB@GOTPCREL(%rip), %r14
	testq	%r9, %r9
	je	LBB0_4
## %bb.1:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, (%r14)
	jne	LBB0_4
## %bb.2:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_would_convert_to_git_filter_fd
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %edx
	movq	%rbx, %rcx
	movl	16(%rbp), %r8d
	callq	_index_stream_convert_blob
	jmp	LBB0_12
LBB0_4:
	movl	8(%r13), %edi
	callq	_S_ISREG
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movq	(%r13), %rdi
	movq	_big_file_threshold@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jle	LBB0_10
## %bb.7:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, (%r14)
	jne	LBB0_10
## %bb.8:
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.9:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_would_convert_to_git
	movq	(%r13), %rdi
	testq	%rax, %rax
	je	LBB0_11
LBB0_10:
	callq	_xsize_t
	movl	16(%rbp), %ecx
	movl	%ecx, (%rsp)
	movq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %edx
	movl	%eax, %ecx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movq	%rbx, %r9
	callq	_index_core
	jmp	LBB0_12
LBB0_5:
	movq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	%rbx, %r8
	movl	16(%rbp), %r9d
	callq	_index_pipe
	jmp	LBB0_12
LBB0_11:
	callq	_xsize_t
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	movl	%eax, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	%rbx, %r8
	movl	16(%rbp), %r9d
	callq	_index_stream
LBB0_12:
	movl	%eax, %ebx
	movl	%r12d, %edi
	callq	_close
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OBJ_BLOB,4,2                   ## @OBJ_BLOB
	.comm	_big_file_threshold,8,3         ## @big_file_threshold
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_index_fd                       ; -- Begin function index_fd
	.p2align	2
_index_fd:                              ; @index_fd
	.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
	mov	x20, x6
	mov	x21, x5
	mov	x22, x4
	mov	x25, x3
	mov	x19, x2
	mov	x23, x1
	mov	x24, x0
Lloh0:
	adrp	x26, _OBJ_BLOB@GOTPAGE
Lloh1:
	ldr	x26, [x26, _OBJ_BLOB@GOTPAGEOFF]
	cbz	x5, LBB0_4
; %bb.1:
	ldr	w8, [x26]
	cmp	w8, w22
	b.ne	LBB0_4
; %bb.2:
	mov	x0, x24
	mov	x1, x21
	bl	_would_convert_to_git_filter_fd
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x24
	mov	x1, x23
	mov	x2, x19
	mov	x3, x21
	mov	x4, x20
	bl	_index_stream_convert_blob
	b	LBB0_11
LBB0_4:
	ldr	w0, [x25, #8]
	bl	_S_ISREG
	cbz	w0, LBB0_9
; %bb.5:
	ldr	x0, [x25]
Lloh2:
	adrp	x8, _big_file_threshold@GOTPAGE
Lloh3:
	ldr	x8, [x8, _big_file_threshold@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	w9, [x26]
	cmp	x0, x8
	ccmp	w9, w22, #0, gt
	b.ne	LBB0_8
; %bb.6:
	cbz	x21, LBB0_10
; %bb.7:
	mov	x0, x24
	mov	x1, x21
	bl	_would_convert_to_git
	mov	x8, x0
	ldr	x0, [x25]
	cbz	x8, LBB0_10
LBB0_8:
	bl	_xsize_t
	mov	x3, x0
	mov	x0, x24
	mov	x1, x23
	mov	x2, x19
	mov	x4, x22
	mov	x5, x21
	mov	x6, x20
	bl	_index_core
	b	LBB0_11
LBB0_9:
	mov	x0, x24
	mov	x1, x23
	mov	x2, x19
	mov	x3, x22
	mov	x4, x21
	mov	x5, x20
	bl	_index_pipe
	b	LBB0_11
LBB0_10:
	bl	_xsize_t
	mov	x2, x0
	mov	x0, x23
	mov	x1, x19
	mov	x3, x22
	mov	x4, x21
	mov	x5, x20
	bl	_index_stream
LBB0_11:
	mov	x20, x0
	mov	x0, x19
	bl	_close
	mov	x0, x20
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_OBJ_BLOB,4,2                   ; @OBJ_BLOB
	.comm	_big_file_threshold,8,3         ; @big_file_threshold
.subsections_via_symbols
