	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dofix                          ## -- Begin function dofix
	.p2align	4, 0x90
_dofix:                                 ## @dofix
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	(%rdi), %edx
	xorl	%r14d, %r14d
	leal	-128(%rdx), %eax
	cmpl	$2, %eax
	jb	LBB0_13
## %bb.1:
	cmpl	$130, %edx
	je	LBB0_9
## %bb.2:
	cmpl	$131, %edx
	jne	LBB0_12
## %bb.3:
	movq	%rdi, %rbx
	movl	8(%rdi), %eax
	movq	_DATA@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_5
## %bb.4:
	movl	4(%rbx), %edi
	callq	_direrror
	jmp	LBB0_6
LBB0_12:
	movq	_EEXIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_errx
	jmp	LBB0_13
LBB0_5:
	leaq	L_.str(%rip), %rdi
	callq	_pwarn
LBB0_6:
	movq	_preen@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_10
## %bb.7:
	leaq	L_str(%rip), %rdi
	callq	_puts
	jmp	LBB0_8
LBB0_10:
	leaq	L_.str.2(%rip), %rdi
	callq	_reply
	testl	%eax, %eax
	je	LBB0_11
LBB0_8:
	movl	$130, (%rbx)
LBB0_9:
	movq	_ALTERED@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_13:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_11:
	movl	$128, (%rbx)
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_DATA,4,2                       ## @DATA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.comm	_preen,4,2                      ## @preen
	.comm	_ALTERED,4,2                    ## @ALTERED
L_.str.2:                               ## @.str.2
	.asciz	"SALVAGE"

	.comm	_EEXIT,4,2                      ## @EEXIT
L_.str.3:                               ## @.str.3
	.asciz	"UNKNOWN INODESC FIX MODE %d"

L_str:                                  ## @str
	.asciz	" (SALVAGED)"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dofix                          ; -- Begin function dofix
	.p2align	2
_dofix:                                 ; @dofix
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w2, [x0]
	sub	w8, w2, #128
	cmp	w8, #2
	b.lo	LBB0_6
; %bb.1:
	cmp	w2, #130
	b.eq	LBB0_12
; %bb.2:
	cmp	w2, #131
	b.ne	LBB0_5
; %bb.3:
	mov	x19, x0
	ldr	w8, [x0, #8]
Lloh0:
	adrp	x9, _DATA@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DATA@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_7
; %bb.4:
	ldr	w0, [x19, #4]
	bl	_direrror
	b	LBB0_8
LBB0_5:
Lloh3:
	adrp	x8, _EEXIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EEXIT@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_errx
LBB0_6:
	mov	w0, #0
	b	LBB0_13
LBB0_7:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pwarn
LBB0_8:
Lloh10:
	adrp	x8, _preen@GOTPAGE
Lloh11:
	ldr	x8, [x8, _preen@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cbz	w8, LBB0_10
; %bb.9:
Lloh13:
	adrp	x0, l_str@PAGE
Lloh14:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	b	LBB0_11
LBB0_10:
Lloh15:
	adrp	x0, l_.str.2@PAGE
Lloh16:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_reply
	cbz	w0, LBB0_14
LBB0_11:
	mov	w8, #130
	str	w8, [x19]
LBB0_12:
Lloh17:
	adrp	x8, _ALTERED@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ALTERED@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
LBB0_13:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_14:
	mov	w8, #128
	str	w8, [x19]
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_DATA,4,2                       ; @DATA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.comm	_preen,4,2                      ; @preen
	.comm	_ALTERED,4,2                    ; @ALTERED
l_.str.2:                               ; @.str.2
	.asciz	"SALVAGE"

	.comm	_EEXIT,4,2                      ; @EEXIT
l_.str.3:                               ; @.str.3
	.asciz	"UNKNOWN INODESC FIX MODE %d"

l_str:                                  ; @str
	.asciz	" (SALVAGED)"

.subsections_via_symbols
