	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function restore_command
_restore_command:                       ## @restore_command
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -48(%rbp)
	movq	_target_has_execution@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_noprocess
LBB0_2:
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -80(%rbp)
	movq	$0, -64(%rbp)
	xorl	%r13d, %r13d
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	callq	_scan_filename_with_cleanup
	movq	%rax, %r14
	movq	-48(%rbp), %rbx
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.4:
	cmpb	$0, (%rbx)
	je	LBB0_5
## %bb.6:
	leaq	L_.str(%rip), %r15
	movq	%r15, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	xorl	%ebx, %ebx
	movq	-48(%rbp), %rax
	testq	%rax, %rax
	jne	LBB0_11
	jmp	LBB0_10
LBB0_3:
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	jmp	LBB0_21
LBB0_5:
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	jmp	LBB0_21
LBB0_7:
	leaq	L_.str(%rip), %rdi
	callq	_strlen
	movslq	%eax, %rdi
	addq	-48(%rbp), %rdi
	movq	%rdi, -48(%rbp)
	callq	_skip_spaces
	movq	%rax, -48(%rbp)
	movl	$1, %ebx
	testq	%rax, %rax
	je	LBB0_10
LBB0_11:
	cmpb	$0, (%rax)
	je	LBB0_10
## %bb.12:
	xorl	%r15d, %r15d
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	callq	_scan_expression_with_cleanup
	movq	%rax, %rdi
	callq	_parse_and_eval_long
	movq	%rax, %r13
	movq	%rax, -64(%rbp)
	movq	-48(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_13
## %bb.14:
	cmpb	$0, (%rax)
	je	LBB0_15
## %bb.16:
	xorl	%r15d, %r15d
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	callq	_scan_expression_with_cleanup
	movq	%rax, %rdi
	callq	_parse_and_eval_long
	movq	%rax, %r12
	movq	%rax, -80(%rbp)
	movq	-48(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_21
## %bb.17:
	cmpb	$0, (%rdi)
	je	LBB0_18
## %bb.19:
	callq	_parse_and_eval_long
	movq	%rax, %r15
	movq	%rax, -72(%rbp)
	cmpq	%rax, %r12
	jl	LBB0_21
## %bb.20:
	leaq	L_.str.1(%rip), %rdi
	callq	_error
	jmp	LBB0_21
LBB0_10:
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
LBB0_21:
	movq	_info_verbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_23
## %bb.22:
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	movq	%r12, %rcx
	movq	%r15, %r8
	callq	_printf_filtered
LBB0_23:
	testl	%ebx, %ebx
	je	LBB0_25
## %bb.24:
	leaq	-80(%rbp), %rsi
	movq	%r14, %rdi
	callq	_restore_binary_file
	jmp	LBB0_26
LBB0_25:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_bfd_openr_with_cleanup
	movq	_restore_section_callback@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-80(%rbp), %rdx
	movq	%rax, %rdi
	callq	_bfd_map_over_sections
LBB0_26:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	xorl	%r12d, %r12d
	jmp	LBB0_21
LBB0_15:
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	jmp	LBB0_21
LBB0_18:
	xorl	%r15d, %r15d
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_target_has_execution,4,2       ## @target_has_execution
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"binary"

L_.str.1:                               ## @.str.1
	.asciz	"Start must be less than end."

	.comm	_info_verbose,8,3               ## @info_verbose
L_.str.2:                               ## @.str.2
	.asciz	"Restore file %s offset 0x%lx start 0x%lx end 0x%lx\n"

	.comm	_restore_section_callback,4,2   ## @restore_section_callback
	.no_dead_strip	_restore_command
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function restore_command
_restore_command:                       ; @restore_command
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	str	x0, [sp, #24]
Lloh0:
	adrp	x8, _target_has_execution@GOTPAGE
Lloh1:
	ldr	x8, [x8, _target_has_execution@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbnz	w8, LBB0_2
; %bb.1:
	bl	_noprocess
LBB0_2:
	stp	xzr, xzr, [sp]
	str	xzr, [sp, #16]
	add	x0, sp, #24
	mov	x1, #0
	bl	_scan_filename_with_cleanup
	mov	x19, x0
	ldr	x20, [sp, #24]
	cbz	x20, LBB0_6
; %bb.3:
	ldrb	w8, [x20]
	cbz	w8, LBB0_7
; %bb.4:
Lloh3:
	adrp	x21, l_.str@PAGE
Lloh4:
	add	x21, x21, l_.str@PAGEOFF
	mov	x0, x21
	bl	_strlen
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_strncmp
	cbz	x0, LBB0_8
; %bb.5:
	mov	w23, #0
	ldr	x0, [sp, #24]
	cbnz	x0, LBB0_9
	b	LBB0_16
LBB0_6:
	mov	x22, #0
	mov	x21, #0
	mov	w23, #0
	b	LBB0_19
LBB0_7:
	mov	x22, #0
	mov	x21, #0
	mov	x20, #0
	mov	w23, #0
	b	LBB0_19
LBB0_8:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_strlen
	ldr	x8, [sp, #24]
	add	x0, x8, w0, sxtw
	str	x0, [sp, #24]
	bl	_skip_spaces
	str	x0, [sp, #24]
	mov	w23, #1
	cbz	x0, LBB0_16
LBB0_9:
	ldrb	w8, [x0]
	cbz	w8, LBB0_16
; %bb.10:
	add	x0, sp, #24
	mov	x1, #0
	bl	_scan_expression_with_cleanup
	bl	_parse_and_eval_long
	mov	x20, x0
	str	x0, [sp, #16]
	ldr	x8, [sp, #24]
	cbz	x8, LBB0_17
; %bb.11:
	ldrb	w8, [x8]
	cbz	w8, LBB0_17
; %bb.12:
	add	x0, sp, #24
	mov	x1, #0
	bl	_scan_expression_with_cleanup
	bl	_parse_and_eval_long
	mov	x21, x0
	str	x0, [sp]
	ldr	x0, [sp, #24]
	cbz	x0, LBB0_18
; %bb.13:
	ldrb	w8, [x0]
	cbz	w8, LBB0_18
; %bb.14:
	bl	_parse_and_eval_long
	mov	x22, x0
	str	x0, [sp, #8]
	cmp	x21, x0
	b.lt	LBB0_19
; %bb.15:
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_error
	b	LBB0_19
LBB0_16:
	mov	x22, #0
	mov	x21, #0
	mov	x20, #0
	b	LBB0_19
LBB0_17:
	mov	x22, #0
	mov	x21, #0
	b	LBB0_19
LBB0_18:
	mov	x22, #0
LBB0_19:
Lloh9:
	adrp	x8, _info_verbose@GOTPAGE
Lloh10:
	ldr	x8, [x8, _info_verbose@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cbz	x8, LBB0_21
; %bb.20:
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	mov	x3, x21
	mov	x4, x22
	bl	_printf_filtered
LBB0_21:
	cbz	w23, LBB0_23
; %bb.22:
	mov	x1, sp
	mov	x0, x19
	bl	_restore_binary_file
	b	LBB0_24
LBB0_23:
	mov	x0, x19
	mov	x1, #0
	bl	_bfd_openr_with_cleanup
Lloh14:
	adrp	x8, _restore_section_callback@GOTPAGE
Lloh15:
	ldr	x8, [x8, _restore_section_callback@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x2, sp
	bl	_bfd_map_over_sections
LBB0_24:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_target_has_execution,4,2       ; @target_has_execution
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"binary"

l_.str.1:                               ; @.str.1
	.asciz	"Start must be less than end."

	.comm	_info_verbose,8,3               ; @info_verbose
l_.str.2:                               ; @.str.2
	.asciz	"Restore file %s offset 0x%lx start 0x%lx end 0x%lx\n"

	.comm	_restore_section_callback,4,2   ; @restore_section_callback
	.no_dead_strip	_restore_command
.subsections_via_symbols
