	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compare_sections_command
_compare_sections_command:              ## @compare_sections_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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	xorl	%eax, %eax
	callq	_get_remote_state
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movl	(%rax), %edi
	callq	_alloca
	movq	%rax, %r14
	movq	_exec_bfd@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_error
LBB0_2:
	movq	_current_target@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_5
LBB0_4:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_error
LBB0_5:
	movq	_exec_bfd@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %r15
	testq	%r15, %r15
	je	LBB0_6
## %bb.7:
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	addq	$2, %r14
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movq	_SEC_LOAD@GOTPCREL(%rip), %rbx
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_8
LBB0_22:                                ##   in Loop: Header=BB0_8 Depth=1
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf_filtered
	incl	-52(%rbp)                       ## 4-byte Folded Spill
LBB0_23:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	_SEC_LOAD@GOTPCREL(%rip), %rbx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_do_cleanups
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
LBB0_24:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	16(%r15), %r15
	testq	%r15, %r15
	je	LBB0_25
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_19 Depth 2
	movl	(%rbx), %eax
	testl	%eax, (%r15)
	je	LBB0_24
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, %rdi
	callq	_bfd_get_section_size
	testq	%rax, %rax
	je	LBB0_24
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%rax, %r13
	movq	_exec_bfd@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%r15, %rsi
	callq	_bfd_get_section_name
	movq	%rax, %r14
	testq	%r12, %r12
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_24
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	8(%r15), %rdx
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	leaq	L_.str.3(%rip), %rsi
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, %rcx
	callq	_sprintf
	movq	%rbx, %rdi
	callq	_putpkt
	movq	%r13, %rdi
	callq	_xmalloc
	movq	%rax, %r12
	movq	_xfree@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_make_cleanup
	movq	%rax, %r14
	movq	_exec_bfd@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	movq	%r13, %r8
	callq	_bfd_get_section_contents
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	$-1, %edx
	callq	_crc32
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_getpkt
	movb	(%rbx), %al
	cmpb	$69, %al
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r14, %r12
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_paddr
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	leaq	(%r14,%r13), %rdi
	movq	%r12, %r14
	callq	_paddr
	leaq	L_.str.4(%rip), %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_error
	movb	(%rbx), %al
LBB0_14:                                ##   in Loop: Header=BB0_8 Depth=1
	cmpb	$67, %al
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_8 Depth=1
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_error
LBB0_16:                                ##   in Loop: Header=BB0_8 Depth=1
	movb	1(%rbx), %al
	testb	%al, %al
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_19:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	shlq	$4, %r14
	movsbl	%al, %edi
	callq	_fromhex
	addq	%rax, %r14
	movzbl	(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_19
	jmp	LBB0_20
LBB0_17:                                ##   in Loop: Header=BB0_8 Depth=1
	xorl	%r14d, %r14d
LBB0_20:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_paddr
	movq	%rax, %r12
	addq	%rbx, %r13
	movq	%r13, %rdi
	callq	_paddr
	leaq	L_.str.6(%rip), %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_printf_filtered
	cmpq	%r14, -120(%rbp)                ## 8-byte Folded Reload
	jne	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_8 Depth=1
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf_filtered
	jmp	LBB0_23
LBB0_25:
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_27
## %bb.26:
	leaq	L_.str.9(%rip), %rdi
	callq	_warning
LBB0_27:
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	testq	%r12, %r12
	jne	LBB0_29
	jmp	LBB0_30
LBB0_6:
	xorl	%eax, %eax
	testq	%r12, %r12
	je	LBB0_30
LBB0_29:
	testl	%eax, %eax
	jne	LBB0_30
## %bb.31:
	leaq	L_.str.10(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_printf_filtered                ## TAILCALL
LBB0_30:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"command cannot be used without an exec file"

	.comm	_current_target,8,3             ## @current_target
L_.str.1:                               ## @.str.1
	.asciz	"remote"

L_.str.2:                               ## @.str.2
	.asciz	"command can only be used with remote target"

	.comm	_SEC_LOAD,4,2                   ## @SEC_LOAD
L_.str.3:                               ## @.str.3
	.asciz	"qCRC:%lx,%lx"

	.comm	_xfree,4,2                      ## @xfree
L_.str.4:                               ## @.str.4
	.asciz	"target memory fault, section %s, range 0x%s -- 0x%s"

L_.str.5:                               ## @.str.5
	.asciz	"remote target does not support this operation"

L_.str.6:                               ## @.str.6
	.asciz	"Section %s, range 0x%s -- 0x%s: "

L_.str.7:                               ## @.str.7
	.asciz	"matched.\n"

L_.str.8:                               ## @.str.8
	.asciz	"MIS-MATCHED!\n"

L_.str.9:                               ## @.str.9
	.asciz	"One or more sections of the remote executable does not match\nthe loaded file\n"

L_.str.10:                              ## @.str.10
	.asciz	"No loaded section named '%s'.\n"

	.no_dead_strip	_compare_sections_command
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compare_sections_command
_compare_sections_command:              ; @compare_sections_command
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x25, x0
	bl	_get_remote_state
	str	x0, [sp, #48]                   ; 8-byte Folded Spill
	ldr	w0, [x0]
	bl	_alloca
	mov	x21, x0
Lloh0:
	adrp	x20, _exec_bfd@GOTPAGE
Lloh1:
	ldr	x20, [x20, _exec_bfd@GOTPAGEOFF]
	ldr	x8, [x20]
	cbnz	x8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
LBB0_2:
Lloh4:
	adrp	x8, _current_target@GOTPAGE
Lloh5:
	ldr	x8, [x8, _current_target@GOTPAGEOFF]
Lloh6:
	ldr	x0, [x8]
	cbz	x0, LBB0_4
; %bb.3:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_5
LBB0_4:
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_error
LBB0_5:
	ldr	x8, [x20]
	ldr	x22, [x8]
	cbz	x22, LBB0_27
; %bb.6:
	str	wzr, [sp, #60]                  ; 4-byte Folded Spill
	mov	w23, #0
	add	x8, x21, #2
	str	x8, [sp, #32]                   ; 8-byte Folded Spill
Lloh11:
	adrp	x19, _SEC_LOAD@GOTPAGE
Lloh12:
	ldr	x19, [x19, _SEC_LOAD@GOTPAGEOFF]
	str	x25, [sp, #40]                  ; 8-byte Folded Spill
	b	LBB0_10
LBB0_7:                                 ;   in Loop: Header=BB0_10 Depth=1
Lloh13:
	adrp	x0, l_.str.8@PAGE
Lloh14:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_printf_filtered
	ldr	w8, [sp, #60]                   ; 4-byte Folded Reload
	add	w8, w8, #1
	str	w8, [sp, #60]                   ; 4-byte Folded Spill
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
Lloh15:
	adrp	x20, _exec_bfd@GOTPAGE
Lloh16:
	ldr	x20, [x20, _exec_bfd@GOTPAGEOFF]
	mov	x0, x27
	bl	_do_cleanups
	mov	w23, #1
	ldr	x25, [sp, #40]                  ; 8-byte Folded Reload
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	x22, [x22, #16]
	cbz	x22, LBB0_24
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_18 Depth 2
	ldr	w8, [x22]
	ldr	w9, [x19]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x22
	bl	_bfd_get_section_size
	cbz	x0, LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x26, x0
	ldr	x0, [x20]
	mov	x1, x22
	bl	_bfd_get_section_name
	mov	x24, x0
	cbz	x25, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x25
	mov	x1, x24
	bl	_strcmp
	cbnz	x0, LBB0_9
LBB0_14:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	x28, [x22, #8]
	mov	x0, x21
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x28
	mov	x3, x26
	bl	_sprintf
	mov	x0, x21
	bl	_putpkt
	mov	x0, x26
	bl	_xmalloc
	mov	x23, x0
Lloh19:
	adrp	x8, _xfree@GOTPAGE
Lloh20:
	ldr	x8, [x8, _xfree@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_make_cleanup
	mov	x27, x0
	ldr	x0, [x20]
	mov	x1, x22
	mov	x2, x23
	mov	w3, #0
	mov	x4, x26
	bl	_bfd_get_section_contents
	mov	x0, x23
	mov	x1, x26
	mov	w2, #-1
	bl	_crc32
	mov	x23, x0
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #0
	bl	_getpkt
	ldrb	w8, [x21]
	cmp	w8, #69
	b.eq	LBB0_19
; %bb.15:                               ;   in Loop: Header=BB0_10 Depth=1
	cmp	w8, #67
	b.ne	LBB0_20
LBB0_16:                                ;   in Loop: Header=BB0_10 Depth=1
	ldrb	w8, [x21, #1]
	cbz	w8, LBB0_21
LBB0_17:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x20, #0
	ldr	x25, [sp, #32]                  ; 8-byte Folded Reload
LBB0_18:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sxtb	w0, w8
	bl	_fromhex
	add	x20, x0, x20, lsl #4
	ldrb	w8, [x25], #1
	cbnz	w8, LBB0_18
	b	LBB0_22
LBB0_19:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x28
	bl	_paddr
	mov	x25, x0
	add	x0, x28, x26
	bl	_paddr
	stp	x25, x0, [sp, #8]
	str	x24, [sp]
Lloh22:
	adrp	x0, l_.str.4@PAGE
Lloh23:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_error
	ldrb	w8, [x21]
	cmp	w8, #67
	b.eq	LBB0_16
LBB0_20:                                ;   in Loop: Header=BB0_10 Depth=1
Lloh24:
	adrp	x0, l_.str.5@PAGE
Lloh25:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_error
	ldrb	w8, [x21, #1]
	cbnz	w8, LBB0_17
LBB0_21:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x20, #0
LBB0_22:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x28
	bl	_paddr
	mov	x25, x0
	add	x0, x28, x26
	bl	_paddr
	stp	x25, x0, [sp, #8]
	str	x24, [sp]
Lloh26:
	adrp	x0, l_.str.6@PAGE
Lloh27:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_printf_filtered
	cmp	x23, x20
	b.ne	LBB0_7
; %bb.23:                               ;   in Loop: Header=BB0_10 Depth=1
Lloh28:
	adrp	x0, l_.str.7@PAGE
Lloh29:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_printf_filtered
	b	LBB0_8
LBB0_24:
	ldr	w8, [sp, #60]                   ; 4-byte Folded Reload
	cmp	w8, #1
	b.lt	LBB0_26
; %bb.25:
Lloh30:
	adrp	x0, l_.str.9@PAGE
Lloh31:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_warning
LBB0_26:
	cbnz	x25, LBB0_28
	b	LBB0_30
LBB0_27:
	mov	w23, #0
	cbz	x25, LBB0_30
LBB0_28:
	cbnz	w23, LBB0_30
; %bb.29:
	str	x25, [sp]
Lloh32:
	adrp	x0, l_.str.10@PAGE
Lloh33:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_printf_filtered
LBB0_30:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"command cannot be used without an exec file"

	.comm	_current_target,8,3             ; @current_target
l_.str.1:                               ; @.str.1
	.asciz	"remote"

l_.str.2:                               ; @.str.2
	.asciz	"command can only be used with remote target"

	.comm	_SEC_LOAD,4,2                   ; @SEC_LOAD
l_.str.3:                               ; @.str.3
	.asciz	"qCRC:%lx,%lx"

	.comm	_xfree,4,2                      ; @xfree
l_.str.4:                               ; @.str.4
	.asciz	"target memory fault, section %s, range 0x%s -- 0x%s"

l_.str.5:                               ; @.str.5
	.asciz	"remote target does not support this operation"

l_.str.6:                               ; @.str.6
	.asciz	"Section %s, range 0x%s -- 0x%s: "

l_.str.7:                               ; @.str.7
	.asciz	"matched.\n"

l_.str.8:                               ; @.str.8
	.asciz	"MIS-MATCHED!\n"

l_.str.9:                               ; @.str.9
	.asciz	"One or more sections of the remote executable does not match\nthe loaded file\n"

l_.str.10:                              ; @.str.10
	.asciz	"No loaded section named '%s'.\n"

	.no_dead_strip	_compare_sections_command
.subsections_via_symbols
