	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ihex_write_object_contents
_ihex_write_object_contents:            ## @ihex_write_object_contents
	.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, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_15
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	24(%rax), %rax
	testq	%rax, %rax
	je	LBB0_15
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	16(%rax), %rcx
	testq	%rcx, %rcx
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	jle	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rax), %rsi
	movq	8(%rax), %r8
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	_CHUNK@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	cmpq	%r15, %rcx
	cmovlq	%rcx, %r15
	leaq	(%r12,%rbx), %rax
	addq	$65535, %rax                    ## imm = 0xFFFF
	cmpq	%rax, %rsi
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	jle	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	cmpq	$1048575, %rsi                  ## imm = 0xFFFFF
	jg	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=2
	xorl	%edi, %edi
	testq	%r12, %r12
	sete	%dil
	movq	%r8, %r14
	movq	%rsi, %r13
	callq	_BFD_ASSERT
	movl	%r13d, %ebx
	andl	$983040, %ebx                   ## imm = 0xF0000
	movl	%ebx, %eax
	shrl	$12, %eax
	movl	%eax, -56(%rbp)
	movl	$0, -52(%rbp)
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	$2, %esi
	xorl	%edx, %edx
	movl	$2, %ecx
	leaq	-56(%rbp), %r8
	callq	_ihex_write_record
	movq	%r13, %rsi
	movq	%r14, %r8
	testl	%eax, %eax
	jne	LBB0_13
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=2
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	$0, -56(%rbp)
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%rsi, %r12
	movl	$2, %esi
	xorl	%edx, %edx
	movl	$2, %ecx
	movq	%r8, %rbx
	leaq	-56(%rbp), %r8
	callq	_ihex_write_record
	movq	%r12, %rsi
	movq	%rbx, %r8
	testl	%eax, %eax
	je	LBB0_22
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=2
	movl	%esi, %r12d
	andl	$-65536, %r12d                  ## imm = 0xFFFF0000
	leaq	65535(%r12), %rax
	cmpq	%rax, %rsi
	jg	LBB0_25
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=2
	movq	%r8, %r14
	movl	%esi, %eax
	shrl	$24, %eax
	movl	%eax, -56(%rbp)
	movq	%rsi, %r13
	movl	%esi, %eax
	shrl	$16, %eax
	movzbl	%al, %eax
	movl	%eax, -52(%rbp)
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	$2, %esi
	xorl	%edx, %edx
	movl	$4, %ecx
	leaq	-56(%rbp), %r8
	callq	_ihex_write_record
	testl	%eax, %eax
	je	LBB0_22
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=2
	xorl	%ebx, %ebx
	movq	%r14, %r8
	movq	%r13, %rsi
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=2
	movq	%r12, -104(%rbp)                ## 8-byte Spill
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	movq	%rsi, %rdx
	subq	%r12, %rdx
	subq	%rbx, %rdx
	movl	%edx, %eax
	addq	%r15, %rax
	movl	$65536, %ebx                    ## imm = 0x10000
	subl	%edx, %ebx
	cmpq	$65536, %rax                    ## imm = 0x10000
	cmovbq	%r15, %rbx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, %r14
	movq	%rsi, %r13
	movl	%ebx, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%ecx, %ecx
	movq	%r8, %r15
	callq	_ihex_write_record
	testl	%eax, %eax
	je	LBB0_22
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=2
	addq	%rbx, %r13
	leaq	(%r15,%rbx,4), %r8
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	subq	%rbx, %rcx
	testq	%rcx, %rcx
	movq	-104(%rbp), %r12                ## 8-byte Reload
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movq	%r13, %rsi
	jg	LBB0_5
	jmp	LBB0_2
LBB0_15:
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_20
## %bb.16:
	movl	%eax, %ecx
	cmpq	$1048575, %rax                  ## imm = 0xFFFFF
	jg	LBB0_18
## %bb.17:
	shrl	$12, %ecx
	andl	$240, %ecx
	movl	%ecx, -80(%rbp)
	movl	$0, -76(%rbp)
	movzbl	%ah, %ecx
	movl	%ecx, -72(%rbp)
	movzbl	%al, %eax
	movl	%eax, -68(%rbp)
	leaq	-80(%rbp), %r8
	movq	%r14, %rdi
	movl	$4, %esi
	xorl	%edx, %edx
	movl	$3, %ecx
	jmp	LBB0_19
LBB0_18:
	shrl	$24, %ecx
	movl	%ecx, -80(%rbp)
	movl	%eax, %ecx
	shrl	$16, %ecx
	movzbl	%cl, %ecx
	movl	%ecx, -76(%rbp)
	movzbl	%ah, %ecx
	movl	%ecx, -72(%rbp)
	movzbl	%al, %eax
	movl	%eax, -68(%rbp)
	leaq	-80(%rbp), %r8
	movq	%r14, %rdi
	movl	$4, %esi
	xorl	%edx, %edx
	movl	$5, %ecx
LBB0_19:
	callq	_ihex_write_record
	testl	%eax, %eax
	je	LBB0_22
LBB0_20:
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	_ihex_write_record
	testl	%eax, %eax
	je	LBB0_22
## %bb.21:
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_25:
	leaq	-80(%rbp), %r14
	movq	%r14, %rdi
	callq	_sprintf_vma
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %ebx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_bfd_get_filename
	movl	%ebx, %edi
	movl	%eax, %esi
	movq	%r14, %rdx
	callq	__bfd_error_handler
	movq	_bfd_error_bad_value@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_bfd_set_error
LBB0_22:
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_23:
	movl	(%rax), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_26
## %bb.24:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_CHUNK,8,3                      ## @CHUNK
	.comm	_FALSE,4,2                      ## @FALSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: address 0x%s out of range for Intel Hex file"

	.comm	_bfd_error_bad_value,4,2        ## @bfd_error_bad_value
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_ihex_write_object_contents
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function ihex_write_object_contents
lCPI0_0:
	.long	4294967280                      ; 0xfffffff0
	.long	4294967288                      ; 0xfffffff8
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_ihex_write_object_contents:            ; @ihex_write_object_contents
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	ldr	x8, [x0, #8]
	ldr	x24, [x8]
	cbz	x24, LBB0_15
; %bb.1:
	mov	x25, #0
	mov	x28, #0
	mov	w26, #65535
	mov	w27, #65536
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x24, [x24, #24]
	cbz	x24, LBB0_15
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	ldr	x23, [x24, #16]
	cmp	x23, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	x20, x21, [x24]
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
Lloh3:
	adrp	x8, _CHUNK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CHUNK@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x23, x8
	csel	x22, x23, x8, lt
	add	x8, x28, x25
	add	x8, x8, x26
	cmp	x20, x8
	b.le	LBB0_13
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	cmp	x20, #256, lsl #12              ; =1048576
	b.ge	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=2
	cmp	x28, #0
	cset	w0, eq
	bl	_BFD_ASSERT
	and	x25, x20, #0xf0000
	ubfx	x8, x25, #12, #20
	stp	w8, wzr, [sp, #8]
	add	x4, sp, #8
	mov	x0, x19
	mov	w1, #2
	mov	w2, #0
	mov	w3, #2
	bl	_ihex_write_record
	cbnz	w0, LBB0_13
	b	LBB0_22
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=2
	cbz	x25, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=2
	str	xzr, [sp, #8]
	add	x4, sp, #8
	mov	x0, x19
	mov	w1, #2
	mov	w2, #0
	mov	w3, #2
	bl	_ihex_write_record
	cbz	w0, LBB0_22
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=2
	and	x28, x20, #0xffff0000
	orr	x8, x28, #0xffff
	cmp	x20, x8
	b.gt	LBB0_21
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=2
	ubfx	x8, x20, #24, #8
	ubfx	w9, w20, #16, #8
	stp	w8, w9, [sp, #8]
	add	x4, sp, #8
	mov	x0, x19
	mov	w1, #2
	mov	w2, #0
	mov	w3, #4
	bl	_ihex_write_record
	cbz	w0, LBB0_22
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=2
	mov	x25, #0
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=2
	add	x8, x28, x25
	sub	x2, x20, x8
	add	x8, x22, w2, uxtw
	sub	w9, w27, w2
	lsr	x8, x8, #16
	cmp	x8, #0
	csel	x22, x9, x22, ne
	mov	x0, x19
	mov	x1, x22
                                        ; kill: def $w2 killed $w2 killed $x2
	mov	w3, #0
	mov	x4, x21
	bl	_ihex_write_record
	cbz	w0, LBB0_22
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=2
	add	x20, x22, x20
	add	x21, x21, x22, lsl #2
	sub	x23, x23, x22
	cmp	x23, #0
	b.gt	LBB0_5
	b	LBB0_2
LBB0_15:
	ldr	x8, [x19]
	cbz	x8, LBB0_19
; %bb.16:
	cmp	x8, #256, lsl #12               ; =1048576
	b.ge	LBB0_18
; %bb.17:
	lsr	w9, w8, #12
	and	w9, w9, #0xf0
	stp	w9, wzr, [sp, #20]
	ubfx	w9, w8, #8, #8
	and	w8, w8, #0xff
	stp	w9, w8, [sp, #28]
	add	x4, sp, #20
	mov	x0, x19
	mov	w1, #4
	mov	w2, #0
	mov	w3, #3
	bl	_ihex_write_record
	cbnz	w0, LBB0_19
	b	LBB0_22
LBB0_18:
	lsr	w9, w8, #24
	str	w9, [sp, #20]
	dup.2s	v0, w8
Lloh6:
	adrp	x9, lCPI0_0@PAGE
Lloh7:
	ldr	d1, [x9, lCPI0_0@PAGEOFF]
	ushl.2s	v0, v0, v1
	movi	d1, #0x0000ff000000ff
	and.8b	v0, v0, v1
	stur	d0, [sp, #24]
	and	w8, w8, #0xff
	str	w8, [sp, #32]
	add	x4, sp, #20
	mov	x0, x19
	mov	w1, #4
	mov	w2, #0
	mov	w3, #5
	bl	_ihex_write_record
	cbz	w0, LBB0_22
LBB0_19:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	mov	w3, #1
	mov	x4, #0
	bl	_ihex_write_record
	cbz	w0, LBB0_22
; %bb.20:
Lloh8:
	adrp	x8, _TRUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_23
LBB0_21:
	add	x0, sp, #20
	mov	x1, x20
	bl	_sprintf_vma
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x20, x0
	mov	x0, x19
	bl	_bfd_get_filename
	mov	x1, x0
	add	x2, sp, #20
	mov	x0, x20
	bl	__bfd_error_handler
Lloh12:
	adrp	x8, _bfd_error_bad_value@GOTPAGE
Lloh13:
	ldr	x8, [x8, _bfd_error_bad_value@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_bfd_set_error
LBB0_22:
Lloh15:
	adrp	x8, _FALSE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_23:
	ldr	w0, [x8]
	ldr	x8, [sp, #40]
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_25
; %bb.24:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_25:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_CHUNK,8,3                      ; @CHUNK
	.comm	_FALSE,4,2                      ; @FALSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: address 0x%s out of range for Intel Hex file"

	.comm	_bfd_error_bad_value,4,2        ; @bfd_error_bad_value
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_ihex_write_object_contents
.subsections_via_symbols
