	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_srecLine                       ## -- Begin function srecLine
	.p2align	4, 0x90
_srecLine:                              ## @srecLine
	.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	_cur_line@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	%rdi, %rbx
	cmpb	$83, (%rdi)
	jne	LBB0_1
## %bb.3:
	leaq	1(%rbx), %rdi
	callq	_strlen
	cmpl	$3, %eax
	jg	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_2
LBB0_1:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_2
LBB0_5:
	leaq	2(%rbx), %rdi
	movsbl	1(%rbx), %r12d
	movl	$2, %esi
	callq	_gh
	movq	%rax, %r14
	leaq	4(%rbx), %r15
	movq	_srecLine.RecordCounter(%rip), %rdi
	incq	%rdi
	movq	%rdi, _srecLine.RecordCounter(%rip)
	callq	_DispHex
	leal	(%r14,%r14), %r13d
	movq	%r15, %rdi
	callq	_strlen
	cmpl	%eax, %r13d
	jne	LBB0_6
## %bb.7:
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_checksum
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:
	addl	$-48, %r12d
	cmpl	$9, %r12d
	ja	LBB0_29
## %bb.10:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%r12,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_15:
	cmpl	$2, %r14d
	jg	LBB0_16
	jmp	LBB0_12
LBB0_6:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_2
LBB0_8:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_2
LBB0_30:
	cmpl	$3, %r14d
	jle	LBB0_12
LBB0_16:
	leaq	L_.str.6(%rip), %rdi
	jmp	LBB0_2
LBB0_25:
	leaq	L_.str.7(%rip), %rdi
	jmp	LBB0_2
LBB0_11:
	cmpl	$2, %r14d
	jle	LBB0_12
## %bb.13:
	movq	%r15, %rdi
	movl	$4, %esi
	callq	_gh
	testl	%eax, %eax
	je	LBB0_29
## %bb.14:
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_2
LBB0_17:
	cmpl	$4, %r14d
	jle	LBB0_12
## %bb.18:
	movq	%r15, %rdi
	movl	$8, %esi
	callq	_gh
	addl	$-5, %r14d
	je	LBB0_21
## %bb.19:
	movq	%rax, %r15
	addq	$12, %rbx
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_gh
	addq	$2, %rbx
	movsbl	%al, %esi
	movq	%r15, %rdi
	callq	_binRecOutByte
	incq	%r15
	decl	%r14d
	jne	LBB0_20
LBB0_21:
	movq	_s1s2s3_total@GOTPCREL(%rip), %rax
	incl	(%rax)
	jmp	LBB0_29
LBB0_22:
	cmpl	$2, %r14d
	jle	LBB0_12
## %bb.23:
	movq	%r15, %rdi
	movl	$4, %esi
	callq	_gh
	movq	_s1s2s3_total@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	je	LBB0_29
## %bb.24:
	leaq	L_.str.8(%rip), %rdi
	jmp	LBB0_2
LBB0_26:
	cmpl	$4, %r14d
	jle	LBB0_12
## %bb.27:
	movq	%r15, %rdi
	movl	$8, %esi
	callq	_gh
	cmpl	$5, %r14d
	jne	LBB0_12
## %bb.28:
	movq	%rax, %rdi
	callq	_binRecOutProgramStart
LBB0_29:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	leaq	L_.str.4(%rip), %rdi
LBB0_2:
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SRLerrorout                    ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_15
	.long	L0_0_set_30
	.long	L0_0_set_17
	.long	L0_0_set_25
	.long	L0_0_set_22
	.long	L0_0_set_25
	.long	L0_0_set_26
	.long	L0_0_set_30
	.long	L0_0_set_15
	.end_data_region
                                        ## -- End function
.zerofill __DATA,__bss,_srecLine.RecordCounter,8,3 ## @srecLine.RecordCounter
	.comm	_cur_line,4,2                   ## @cur_line
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Not an Srecord file"

L_.str.1:                               ## @.str.1
	.asciz	"Srecord too short"

L_.str.2:                               ## @.str.2
	.asciz	"Count field larger than record"

L_.str.3:                               ## @.str.3
	.asciz	"Bad Checksum"

L_.str.4:                               ## @.str.4
	.asciz	"Invalid Srecord count field"

L_.str.5:                               ## @.str.5
	.asciz	"Srecord 1 address not zero"

L_.str.6:                               ## @.str.6
	.asciz	"Srecord Not valid for MIPS"

	.comm	_s1s2s3_total,4,2               ## @s1s2s3_total
L_.str.7:                               ## @.str.7
	.asciz	"Invalid Srecord type"

L_.str.8:                               ## @.str.8
	.asciz	"Incorrect number of S3 Record processed"

	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_srecLine                       ; -- Begin function srecLine
	.p2align	2
_srecLine:                              ; @srecLine
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _cur_line@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cur_line@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	ldrb	w8, [x0]
	cmp	w8, #83
	b.ne	LBB0_3
; %bb.1:
	add	x0, x19, #1
	bl	_strlen
	cmp	w0, #3
	b.gt	LBB0_4
; %bb.2:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_30
LBB0_3:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_30
LBB0_4:
	add	x0, x19, #2
	ldrsb	w22, [x19, #1]
	mov	w1, #2
	bl	_gh
	mov	x20, x0
	add	x21, x19, #4
	adrp	x8, _srecLine.RecordCounter@PAGE
	ldr	x9, [x8, _srecLine.RecordCounter@PAGEOFF]
	add	x0, x9, #1
	str	x0, [x8, _srecLine.RecordCounter@PAGEOFF]
	bl	_DispHex
	mov	x0, x21
	bl	_strlen
	cmp	w0, w20, lsl #1
	b.ne	LBB0_9
; %bb.5:
	mov	x0, x21
	mov	x1, x20
	bl	_checksum
	cbz	w0, LBB0_10
; %bb.6:
	sub	w8, w22, #48
	cmp	w8, #9
	b.hi	LBB0_28
; %bb.7:
Lloh6:
	adrp	x9, lJTI0_0@PAGE
Lloh7:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_8
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_8:
	cmp	w20, #2
	b.gt	LBB0_12
	b	LBB0_29
LBB0_9:
Lloh8:
	adrp	x0, l_.str.2@PAGE
Lloh9:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_30
LBB0_10:
Lloh10:
	adrp	x0, l_.str.3@PAGE
Lloh11:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_30
LBB0_11:
	cmp	w20, #3
	b.le	LBB0_29
LBB0_12:
Lloh12:
	adrp	x0, l_.str.6@PAGE
Lloh13:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_30
LBB0_13:
Lloh14:
	adrp	x0, l_.str.7@PAGE
Lloh15:
	add	x0, x0, l_.str.7@PAGEOFF
	b	LBB0_30
LBB0_14:
	cmp	w20, #2
	b.le	LBB0_29
; %bb.15:
	mov	x0, x21
	mov	w1, #4
	bl	_gh
	cbz	w0, LBB0_28
; %bb.16:
Lloh16:
	adrp	x0, l_.str.5@PAGE
Lloh17:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_30
LBB0_17:
	cmp	w20, #4
	b.le	LBB0_29
; %bb.18:
	mov	x0, x21
	mov	w1, #8
	bl	_gh
	subs	w20, w20, #5
	b.eq	LBB0_21
; %bb.19:
	mov	x21, x0
	add	x19, x19, #12
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	w1, #2
	bl	_gh
	add	x19, x19, #2
	sub	w20, w20, #1
	sxtb	w1, w0
	mov	x0, x21
	bl	_binRecOutByte
	add	x21, x21, #1
	cbnz	w20, LBB0_20
LBB0_21:
Lloh18:
	adrp	x8, _s1s2s3_total@GOTPAGE
Lloh19:
	ldr	x8, [x8, _s1s2s3_total@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	b	LBB0_28
LBB0_22:
	cmp	w20, #2
	b.le	LBB0_29
; %bb.23:
	mov	x0, x21
	mov	w1, #4
	bl	_gh
Lloh20:
	adrp	x8, _s1s2s3_total@GOTPAGE
Lloh21:
	ldr	x8, [x8, _s1s2s3_total@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	orr	w8, w8, w0
	cbz	w8, LBB0_28
; %bb.24:
Lloh23:
	adrp	x0, l_.str.8@PAGE
Lloh24:
	add	x0, x0, l_.str.8@PAGEOFF
	b	LBB0_30
LBB0_25:
	cmp	w20, #4
	b.le	LBB0_29
; %bb.26:
	mov	x0, x21
	mov	w1, #8
	bl	_gh
	cmp	w20, #5
	b.ne	LBB0_29
; %bb.27:
	bl	_binRecOutProgramStart
LBB0_28:
Lloh25:
	adrp	x8, _TRUE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_29:
Lloh28:
	adrp	x0, l_.str.4@PAGE
Lloh29:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_30:
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_SRLerrorout
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_14-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_11-LBB0_8)>>2
	.byte	(LBB0_17-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_22-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_25-LBB0_8)>>2
	.byte	(LBB0_11-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
                                        ; -- End function
.zerofill __DATA,__bss,_srecLine.RecordCounter,8,3 ; @srecLine.RecordCounter
	.comm	_cur_line,4,2                   ; @cur_line
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Not an Srecord file"

l_.str.1:                               ; @.str.1
	.asciz	"Srecord too short"

l_.str.2:                               ; @.str.2
	.asciz	"Count field larger than record"

l_.str.3:                               ; @.str.3
	.asciz	"Bad Checksum"

l_.str.4:                               ; @.str.4
	.asciz	"Invalid Srecord count field"

l_.str.5:                               ; @.str.5
	.asciz	"Srecord 1 address not zero"

l_.str.6:                               ; @.str.6
	.asciz	"Srecord Not valid for MIPS"

	.comm	_s1s2s3_total,4,2               ; @s1s2s3_total
l_.str.7:                               ; @.str.7
	.asciz	"Invalid Srecord type"

l_.str.8:                               ; @.str.8
	.asciz	"Incorrect number of S3 Record processed"

	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
