	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ihex_read_section
_ihex_read_section:                     ## @ihex_read_section
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	4(%rsi), %esi
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_bfd_seek
	testq	%rax, %rax
	jne	LBB0_28
## %bb.1:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	leaq	-60(%rbp), %rsi
	movq	%r12, %rdi
	callq	_ihex_get_byte
	movq	_EOF@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_2
## %bb.22:
	cmpl	$0, (%rbx)
	jle	LBB0_18
## %bb.23:
	xorl	%r14d, %r14d
	jmp	LBB0_24
LBB0_2:
	movq	%r13, %r15
	xorl	%ecx, %ecx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	leaq	-60(%rbp), %rsi
	callq	_ihex_get_byte
	movq	_EOF@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_21
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_14 Depth 2
	cmpl	$10, %eax
	je	LBB0_20
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$13, %eax
	je	LBB0_20
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rbx
	xorl	%edi, %edi
	cmpl	$58, %eax
	sete	%dil
	callq	_BFD_ASSERT
	leaq	-56(%rbp), %r13
	movq	%r13, %rdi
	movl	$8, %esi
	movq	%r12, %rdx
	callq	_bfd_bread
	cmpl	$8, %eax
	jne	LBB0_26
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	callq	_HEX2
	movq	%rax, %r13
	leaq	-50(%rbp), %rdi
	callq	_HEX2
	testl	%eax, %eax
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	leal	(%r13,%r13), %r12d
	cmpq	%r12, -80(%rbp)                 ## 8-byte Folded Reload
	jae	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_bfd_realloc
	movq	%rax, %r14
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_10
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	movl	%r12d, %esi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	callq	_bfd_bread
	cmpl	%r12d, %eax
	jne	LBB0_26
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	testl	%r13d, %r13d
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	%r13d, %r12d
	addq	%r12, %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%ebx, %edi
	andl	$-2, %edi
	addq	%r14, %rdi
	callq	_HEX2
	movb	%al, (%r15)
	incq	%r15
	addq	$2, %rbx
	cmpq	%rbx, %r12
	jne	LBB0_14
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%r15d, %eax
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	subl	%r13d, %eax
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	cmpl	%eax, (%rbx)
	jle	LBB0_16
## %bb.19:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	movl	$2, %esi
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdx
	callq	_bfd_bread
	cmpl	$2, %eax
	je	LBB0_20
	jmp	LBB0_26
LBB0_21:
	subl	%r13d, %r15d
	cmpl	%r15d, (%rbx)
	jle	LBB0_16
LBB0_24:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%r12, %rsi
LBB0_25:
	callq	__bfd_error_handler
	movq	_bfd_error_bad_value@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_bfd_set_error
LBB0_26:
	testq	%r14, %r14
	je	LBB0_28
LBB0_27:
	movq	%r14, %rdi
	callq	_free
LBB0_28:
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_29:
	movl	(%rax), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_31
## %bb.30:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	testq	%r14, %r14
	je	LBB0_18
## %bb.17:
	movq	%r14, %rdi
	callq	_free
LBB0_18:
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_29
LBB0_7:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_25
LBB0_10:
	xorl	%r14d, %r14d
	testq	%r14, %r14
	jne	LBB0_27
	jmp	LBB0_28
LBB0_31:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_EOF,4,2                        ## @EOF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%B: internal error in ihex_read_section"

	.comm	_bfd_error_bad_value,4,2        ## @bfd_error_bad_value
	.comm	_TRUE,4,2                       ## @TRUE
L_.str.1:                               ## @.str.1
	.asciz	"%B: bad section length in ihex_read_section"

	.no_dead_strip	_ihex_read_section
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ihex_read_section
_ihex_read_section:                     ; @ihex_read_section
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x21, x2
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	w1, [x1, #4]
Lloh3:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_bfd_seek
Lloh6:
	adrp	x23, _FALSE@GOTPAGE
Lloh7:
	ldr	x23, [x23, _FALSE@GOTPAGEOFF]
	cbnz	x0, LBB0_22
; %bb.1:
	ldr	w8, [x23]
	str	w8, [sp, #12]
	add	x1, sp, #12
	mov	x0, x20
	bl	_ihex_get_byte
Lloh8:
	adrp	x27, _EOF@GOTPAGE
Lloh9:
	ldr	x27, [x27, _EOF@GOTPAGEOFF]
	ldr	w8, [x27]
	cmp	w0, w8
	b.ne	LBB0_4
; %bb.2:
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_27
; %bb.3:
	mov	x19, #0
	b	LBB0_20
LBB0_4:
	mov	x26, #0
	mov	x19, #0
	add	x8, sp, #16
	add	x23, x8, #6
	mov	x28, x21
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x1, sp, #12
	mov	x0, x20
	bl	_ihex_get_byte
	ldr	w8, [x27]
	cmp	w0, w8
	b.eq	LBB0_18
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
	cmp	w0, #10
	b.eq	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w0, #13
	b.eq	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w0, #58
	cset	w0, eq
	bl	_BFD_ASSERT
	add	x0, sp, #16
	mov	w1, #8
	mov	x2, x20
	bl	_bfd_bread
	cmp	w0, #8
	b.ne	LBB0_29
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #16
	bl	_HEX2
	mov	x24, x0
	mov	x0, x23
	bl	_HEX2
	cbnz	w0, LBB0_28
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	lsl	w25, w24, #1
	cmp	x26, x25
	b.hs	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	mov	x1, x25
	bl	_bfd_realloc
	mov	x19, x0
	mov	x26, x25
	cbz	x0, LBB0_29
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	mov	x1, x25
	mov	x2, x20
	bl	_bfd_bread
	cmp	w0, w25
	b.ne	LBB0_29
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	cbz	w24, LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x25, #0
	and	x8, x24, #0xffffffff
	lsl	x24, x8, #1
LBB0_15:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	and	x8, x25, #0xfffffffe
	add	x0, x19, x8
	bl	_HEX2
	strb	w0, [x28], #1
	add	x25, x25, #2
	cmp	x24, x25
	b.ne	LBB0_15
LBB0_16:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x22]
	sub	w9, w28, w21
	cmp	w8, w9
	b.le	LBB0_25
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	mov	w1, #2
	mov	x2, x20
	bl	_bfd_bread
	cmp	w0, #2
	b.eq	LBB0_5
	b	LBB0_29
LBB0_18:
	ldr	w8, [x22]
	sub	w9, w28, w21
	cmp	w8, w9
	b.le	LBB0_25
; %bb.19:
Lloh10:
	adrp	x23, _FALSE@GOTPAGE
Lloh11:
	ldr	x23, [x23, _FALSE@GOTPAGEOFF]
LBB0_20:
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x1, x20
	bl	__bfd_error_handler
Lloh14:
	adrp	x8, _bfd_error_bad_value@GOTPAGE
Lloh15:
	ldr	x8, [x8, _bfd_error_bad_value@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_bfd_set_error
	cbz	x19, LBB0_22
LBB0_21:
	mov	x0, x19
	bl	_free
LBB0_22:
	ldr	w0, [x23]
LBB0_23:
	ldr	x8, [sp, #24]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_30
; %bb.24:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_25:
	cbz	x19, LBB0_27
; %bb.26:
	mov	x0, x19
	bl	_free
LBB0_27:
Lloh20:
	adrp	x8, _TRUE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	b	LBB0_23
LBB0_28:
Lloh23:
	adrp	x0, l_.str@PAGE
Lloh24:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x20
	bl	__bfd_error_handler
Lloh25:
	adrp	x8, _bfd_error_bad_value@GOTPAGE
Lloh26:
	ldr	x8, [x8, _bfd_error_bad_value@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	bl	_bfd_set_error
LBB0_29:
Lloh28:
	adrp	x23, _FALSE@GOTPAGE
Lloh29:
	ldr	x23, [x23, _FALSE@GOTPAGEOFF]
	cbnz	x19, LBB0_21
	b	LBB0_22
LBB0_30:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_EOF,4,2                        ; @EOF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%B: internal error in ihex_read_section"

	.comm	_bfd_error_bad_value,4,2        ; @bfd_error_bad_value
	.comm	_TRUE,4,2                       ; @TRUE
l_.str.1:                               ; @.str.1
	.asciz	"%B: bad section length in ihex_read_section"

	.no_dead_strip	_ihex_read_section
.subsections_via_symbols
