	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gfar_write_filer_table
_gfar_write_filer_table:                ## @gfar_write_filer_table
	.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
	movq	_MAX_FILER_IDX@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	cmpl	%eax, (%rsi)
	jge	LBB0_4
## %bb.1:
	movq	%rdi, %r14
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jle	LBB0_7
## %bb.2:
	movq	%rsi, %r15
	movq	8(%rsi), %rcx
	movl	(%rcx), %edx
	movl	4(%rcx), %ecx
	movl	%ecx, %esi
	orl	%edx, %esi
	je	LBB0_7
## %bb.3:
	movl	$1, %esi
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rsi, %rbx
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_gfar_write_filer
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jge	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%r15), %rcx
	movl	(%rcx,%rbx,8), %edx
	movl	4(%rcx,%rbx,8), %ecx
	leaq	1(%rbx), %rsi
	incq	%r12
	movl	%ecx, %edi
	orl	%edx, %edi
	jne	LBB0_6
LBB0_7:
	cmpl	%eax, %ebx
	jge	LBB0_9
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	$96, %edx
	movl	$-1, %ecx
	callq	_gfar_write_filer
	incl	%ebx
	cmpl	(%r13), %ebx
	jl	LBB0_8
LBB0_9:
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	$32, %edx
	xorl	%ecx, %ecx
	callq	_gfar_write_filer
	jmp	LBB0_10
LBB0_4:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_10:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_FILER_IDX,4,2              ## @MAX_FILER_IDX
	.comm	_EBUSY,4,2                      ## @EBUSY
	.no_dead_strip	_gfar_write_filer_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gfar_write_filer_table
_gfar_write_filer_table:                ; @gfar_write_filer_table
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	w9, [x1]
Lloh0:
	adrp	x22, _MAX_FILER_IDX@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MAX_FILER_IDX@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w9, w8
	b.ge	LBB0_7
; %bb.1:
	mov	x19, x0
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.2:
	mov	x20, x1
	ldr	x9, [x1, #8]
	ldp	w2, w3, [x9]
	orr	w9, w3, w2
	cbz	w9, LBB0_8
; %bb.3:
	mov	x23, #0
	mov	x9, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x21, x9
	mov	x0, x19
	mov	x1, x21
	bl	_gfar_write_filer
	add	x9, x21, #1
	ldrsw	x8, [x22]
	cmp	x9, x8
	b.ge	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x10, [x20, #8]
	add	x10, x10, x23
	ldp	w2, w3, [x10, #8]
	add	x23, x23, #8
	orr	w10, w3, w2
	cbnz	w10, LBB0_4
LBB0_6:
	add	w20, w21, #1
	cmp	w20, w8
	b.lt	LBB0_9
	b	LBB0_10
LBB0_7:
Lloh2:
	adrp	x8, _EBUSY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_11
LBB0_8:
	mov	w20, #0
	cmp	w20, w8
	b.ge	LBB0_10
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	mov	w2, #96
	mov	w3, #-1
	bl	_gfar_write_filer
	add	w20, w20, #1
	ldr	w8, [x22]
	cmp	w20, w8
	b.lt	LBB0_9
LBB0_10:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #32
	mov	w3, #0
	bl	_gfar_write_filer
	mov	w0, #0
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_FILER_IDX,4,2              ; @MAX_FILER_IDX
	.comm	_EBUSY,4,2                      ; @EBUSY
	.no_dead_strip	_gfar_write_filer_table
.subsections_via_symbols
