	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ihex_object_p
_ihex_object_p:                         ## @ihex_object_p
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_ihex_init
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_bfd_seek
	testq	%rax, %rax
	jne	LBB0_18
## %bb.1:
	leaq	-33(%rbp), %rdi
	movl	$9, %esi
	movq	%r14, %rdx
	callq	_bfd_bread
	cmpl	$9, %eax
	jne	LBB0_15
## %bb.2:
	cmpb	$58, -33(%rbp)
	jne	LBB0_16
## %bb.3:
	movsbl	-32(%rbp), %edi
	callq	_ISHEX
	testl	%eax, %eax
	je	LBB0_16
## %bb.4:
	movsbl	-31(%rbp), %edi
	callq	_ISHEX
	testl	%eax, %eax
	je	LBB0_16
## %bb.5:
	movsbl	-30(%rbp), %edi
	callq	_ISHEX
	testl	%eax, %eax
	je	LBB0_16
## %bb.6:
	movsbl	-29(%rbp), %edi
	callq	_ISHEX
	testl	%eax, %eax
	je	LBB0_16
## %bb.7:
	movsbl	-28(%rbp), %edi
	callq	_ISHEX
	testl	%eax, %eax
	je	LBB0_16
## %bb.8:
	movsbl	-27(%rbp), %edi
	callq	_ISHEX
	testl	%eax, %eax
	je	LBB0_16
## %bb.9:
	movsbl	-26(%rbp), %edi
	callq	_ISHEX
	testl	%eax, %eax
	je	LBB0_16
## %bb.10:
	movsbl	-25(%rbp), %edi
	callq	_ISHEX
	testl	%eax, %eax
	je	LBB0_16
## %bb.11:
	leaq	-26(%rbp), %rdi
	callq	_HEX2
	cmpl	$5, %eax
	ja	LBB0_16
## %bb.12:
	movq	8(%r14), %rbx
	movq	%r14, %rdi
	callq	_ihex_mkobject
	testl	%eax, %eax
	je	LBB0_20
## %bb.13:
	movq	%r14, %rdi
	callq	_ihex_scan
	testl	%eax, %eax
	je	LBB0_20
## %bb.14:
	movq	(%r14), %rbx
	jmp	LBB0_18
LBB0_15:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_bfd_get_error
	movq	_bfd_error_file_truncated@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_18
LBB0_16:
	movq	_bfd_error_wrong_format@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_bfd_set_error
LBB0_17:
	xorl	%ebx, %ebx
LBB0_18:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_24
## %bb.19:
	movq	%rbx, %rax
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_20:
	movq	8(%r14), %rsi
	cmpq	%rbx, %rsi
	je	LBB0_23
## %bb.21:
	testq	%rsi, %rsi
	je	LBB0_23
## %bb.22:
	movq	%r14, %rdi
	callq	_bfd_release
LBB0_23:
	movq	%rbx, 8(%r14)
	jmp	LBB0_17
LBB0_24:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.comm	_bfd_error_file_truncated,8,3   ## @bfd_error_file_truncated
	.comm	_bfd_error_wrong_format,4,2     ## @bfd_error_wrong_format
	.no_dead_strip	_ihex_object_p
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ihex_object_p
_ihex_object_p:                         ; @ihex_object_p
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	bl	_ihex_init
Lloh3:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_bfd_seek
	cbnz	x0, LBB0_17
; %bb.1:
	add	x0, sp, #15
	mov	w1, #9
	mov	x2, x19
	bl	_bfd_bread
	cmp	w0, #9
	b.ne	LBB0_15
; %bb.2:
	ldrb	w8, [sp, #15]
	cmp	w8, #58
	b.ne	LBB0_16
; %bb.3:
	ldrsb	w0, [sp, #16]
	bl	_ISHEX
	cbz	w0, LBB0_16
; %bb.4:
	ldrsb	w0, [sp, #17]
	bl	_ISHEX
	cbz	w0, LBB0_16
; %bb.5:
	ldrsb	w0, [sp, #18]
	bl	_ISHEX
	cbz	w0, LBB0_16
; %bb.6:
	ldrsb	w0, [sp, #19]
	bl	_ISHEX
	cbz	w0, LBB0_16
; %bb.7:
	ldrsb	w0, [sp, #20]
	bl	_ISHEX
	cbz	w0, LBB0_16
; %bb.8:
	ldrsb	w0, [sp, #21]
	bl	_ISHEX
	cbz	w0, LBB0_16
; %bb.9:
	ldrsb	w0, [sp, #22]
	bl	_ISHEX
	cbz	w0, LBB0_16
; %bb.10:
	ldrsb	w0, [sp, #23]
	bl	_ISHEX
	cbz	w0, LBB0_16
; %bb.11:
	add	x8, sp, #15
	add	x0, x8, #7
	bl	_HEX2
	cmp	w0, #5
	b.hi	LBB0_16
; %bb.12:
	ldr	x20, [x19, #8]
	mov	x0, x19
	bl	_ihex_mkobject
	cbz	w0, LBB0_20
; %bb.13:
	mov	x0, x19
	bl	_ihex_scan
	cbz	w0, LBB0_20
; %bb.14:
	ldr	x0, [x19]
	b	LBB0_18
LBB0_15:
	bl	_bfd_get_error
Lloh6:
	adrp	x8, _bfd_error_file_truncated@GOTPAGE
Lloh7:
	ldr	x8, [x8, _bfd_error_file_truncated@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_17
LBB0_16:
Lloh9:
	adrp	x8, _bfd_error_wrong_format@GOTPAGE
Lloh10:
	ldr	x8, [x8, _bfd_error_wrong_format@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_bfd_set_error
LBB0_17:
	mov	x0, #0
LBB0_18:
	ldr	x8, [sp, #24]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.19:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_20:
	ldr	x1, [x19, #8]
	cmp	x1, x20
	b.eq	LBB0_23
; %bb.21:
	cbz	x1, LBB0_23
; %bb.22:
	mov	x0, x19
	bl	_bfd_release
LBB0_23:
	mov	x0, #0
	str	x20, [x19, #8]
	b	LBB0_18
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.comm	_bfd_error_file_truncated,8,3   ; @bfd_error_file_truncated
	.comm	_bfd_error_wrong_format,4,2     ; @bfd_error_wrong_format
	.no_dead_strip	_ihex_object_p
.subsections_via_symbols
