	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ex_recover                     ## -- Begin function ex_recover
	.p2align	4, 0x90
_ex_recover:                            ## @ex_recover
	.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	%rsi, %r15
	movq	%rdi, %r13
	movq	8(%rsi), %rax
	movq	(%rax), %rbx
	movl	8(%rbx), %esi
	movq	(%rbx), %rdx
	incq	%rdx
	callq	_INT2CHAR
	movq	%r13, %rdi
	callq	_set_alt_name
	movl	(%r15), %edi
	movq	_E_C_FORCE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_FL_ISSET
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_file_m2
	movl	$1, %r14d
	testq	%rax, %rax
	je	LBB0_1
LBB0_6:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	8(%rbx), %esi
	movq	(%rbx), %rdx
	incq	%rdx
	movq	%r13, %rdi
	callq	_INT2CHAR
	movq	%r13, %rdi
	callq	_file_add
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	%rax, %r12
	movq	_FR_RECOVER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_F_SET
	movq	_FS_SETALT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	(%r15), %edi
	movq	_E_C_FORCE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_FL_ISSET
	xorl	%ecx, %ecx
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_FS_FORCE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_4:
	orl	%ebx, %ecx
	movq	%r13, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_file_init
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	_SC_FSWITCH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_F_SET
	xorl	%r14d, %r14d
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_E_C_FORCE,4,2                  ## @E_C_FORCE
	.comm	_FR_RECOVER,4,2                 ## @FR_RECOVER
	.comm	_FS_SETALT,4,2                  ## @FS_SETALT
	.comm	_FS_FORCE,4,2                   ## @FS_FORCE
	.comm	_SC_FSWITCH,4,2                 ## @SC_FSWITCH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ex_recover                     ; -- Begin function ex_recover
	.p2align	2
_ex_recover:                            ; @ex_recover
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x1, #8]
	ldr	x21, [x8]
	ldr	w1, [x21, #8]
	ldr	x8, [x21]
	add	x2, x8, #1
	bl	_INT2CHAR
	mov	x0, x19
	bl	_set_alt_name
	ldr	w0, [x20]
Lloh0:
	adrp	x22, _E_C_FORCE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _E_C_FORCE@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_FL_ISSET
	mov	x1, x0
	mov	x0, x19
	bl	_file_m2
	cbz	x0, LBB0_3
LBB0_1:
	mov	w0, #1
LBB0_2:
	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
LBB0_3:
	ldr	w1, [x21, #8]
	ldr	x8, [x21]
	add	x2, x8, #1
	mov	x0, x19
	bl	_INT2CHAR
	mov	x0, x19
	bl	_file_add
	cbz	x0, LBB0_1
; %bb.4:
	mov	x21, x0
Lloh2:
	adrp	x8, _FR_RECOVER@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FR_RECOVER@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_F_SET
Lloh5:
	adrp	x8, _FS_SETALT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FS_SETALT@GOTPAGEOFF]
Lloh7:
	ldr	w23, [x8]
	ldr	w0, [x20]
	ldr	w1, [x22]
	bl	_FL_ISSET
Lloh8:
	adrp	x8, _FS_FORCE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FS_FORCE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w3, w8, w23
	mov	x0, x19
	mov	x1, x21
	mov	x2, #0
	bl	_file_init
	cbnz	x0, LBB0_1
; %bb.5:
Lloh11:
	adrp	x8, _SC_FSWITCH@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SC_FSWITCH@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_F_SET
	mov	w0, #0
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_E_C_FORCE,4,2                  ; @E_C_FORCE
	.comm	_FR_RECOVER,4,2                 ; @FR_RECOVER
	.comm	_FS_SETALT,4,2                  ; @FS_SETALT
	.comm	_FS_FORCE,4,2                   ; @FS_FORCE
	.comm	_SC_FSWITCH,4,2                 ; @SC_FSWITCH
.subsections_via_symbols
