	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ihex_set_section_contents
_ihex_set_section_contents:             ## @ihex_set_section_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_TRUE@GOTPCREL(%rip), %r15
	testq	%r8, %r8
	je	LBB0_19
## %bb.1:
	movq	%rdx, %r14
	movq	%rsi, %r13
	movl	(%rsi), %eax
	movq	_SEC_ALLOC@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_19
## %bb.2:
	movq	_SEC_LOAD@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_19
## %bb.3:
	movq	%r8, %rbx
	movq	%rdi, %r12
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	$32, %esi
	callq	_bfd_alloc
	movq	_FALSE@GOTPCREL(%rip), %r15
	testq	%rax, %rax
	je	LBB0_19
## %bb.4:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_bfd_alloc
	testq	%rax, %rax
	je	LBB0_19
## %bb.5:
	movq	%rax, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movq	%rax, %r14
	callq	_memcpy
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, 24(%rsi)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	addq	8(%r13), %rdi
	movq	%rdi, (%rsi)
	movq	%rbx, 16(%rsi)
	movq	(%r12), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.6:
	cmpq	(%rcx), %rdi
	jge	LBB0_12
LBB0_7:
	leaq	8(%rax), %rcx
	movq	8(%rax), %rdx
	testq	%rdx, %rdx
	je	LBB0_13
## %bb.8:
	cmpq	%rdi, (%rdx)
	jge	LBB0_14
## %bb.9:
	movq	_TRUE@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%rdx, %rcx
	movq	8(%rdx), %rdx
	testq	%rdx, %rdx
	je	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	cmpq	%rdi, (%rdx)
	jl	LBB0_10
	jmp	LBB0_16
LBB0_12:
	movq	%rsi, 8(%rcx)
	movq	$0, 8(%rsi)
	movq	_TRUE@GOTPCREL(%rip), %r15
	jmp	LBB0_18
LBB0_13:
	xorl	%edx, %edx
LBB0_14:
	movq	_TRUE@GOTPCREL(%rip), %r15
	jmp	LBB0_17
LBB0_15:
	xorl	%edx, %edx
LBB0_16:
	addq	$8, %rcx
LBB0_17:
	movq	%rdx, 8(%rsi)
	movq	%rsi, (%rcx)
	cmpq	$0, 8(%rsi)
	jne	LBB0_19
LBB0_18:
	movq	%rsi, (%rax)
LBB0_19:
	movl	(%r15), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SEC_ALLOC,4,2                  ## @SEC_ALLOC
	.comm	_SEC_LOAD,4,2                   ## @SEC_LOAD
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_ihex_set_section_contents
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ihex_set_section_contents
_ihex_set_section_contents:             ; @ihex_set_section_contents
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cbz	x4, LBB0_16
; %bb.1:
	mov	x23, x1
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _SEC_ALLOC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SEC_ALLOC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_16
; %bb.2:
Lloh3:
	adrp	x9, _SEC_LOAD@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SEC_LOAD@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_16
; %bb.3:
	mov	x20, x4
	mov	x22, x3
	mov	x24, x2
	mov	x21, x0
	mov	w1, #32
	bl	_bfd_alloc
	cbz	x0, LBB0_13
; %bb.4:
	mov	x19, x0
	mov	x0, x21
	mov	x1, x20
	bl	_bfd_alloc
	cbz	x0, LBB0_13
; %bb.5:
	mov	x25, x0
	mov	x1, x24
	mov	x2, x20
	bl	_memcpy
	ldr	x8, [x23, #8]
	add	x9, x8, x22
	str	x9, [x19]
	stp	x20, x25, [x19, #16]
	ldr	x8, [x21]
	ldr	x10, [x8]
	cbz	x10, LBB0_7
; %bb.6:
	ldr	x11, [x10]
	cmp	x9, x11
	b.ge	LBB0_14
LBB0_7:
	mov	x11, x8
	ldr	x10, [x11, #8]!
	cbz	x10, LBB0_12
; %bb.8:
	ldr	x12, [x10]
	cmp	x12, x9
	b.ge	LBB0_12
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x11, x10
	ldr	x10, [x10, #8]
	cbz	x10, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x12, [x10]
	cmp	x12, x9
	b.lt	LBB0_9
LBB0_11:
	add	x11, x11, #8
LBB0_12:
	str	x10, [x19, #8]
	str	x19, [x11]
	ldr	x9, [x19, #8]
	cbnz	x9, LBB0_16
	b	LBB0_15
LBB0_13:
Lloh6:
	adrp	x8, _FALSE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_17
LBB0_14:
	str	x19, [x10, #8]
	str	xzr, [x19, #8]
LBB0_15:
	str	x19, [x8]
LBB0_16:
Lloh8:
	adrp	x8, _TRUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_17:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_SEC_ALLOC,4,2                  ; @SEC_ALLOC
	.comm	_SEC_LOAD,4,2                   ; @SEC_LOAD
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_ihex_set_section_contents
.subsections_via_symbols
