	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tekhex_set_section_contents
_tekhex_set_section_contents:           ## @tekhex_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
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	cmpl	$0, 8(%rdi)
	je	LBB0_1
LBB0_8:
	movq	_SEC_LOAD@GOTPCREL(%rip), %rax
	movq	_SEC_ALLOC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	testl	%ecx, (%rsi)
	je	LBB0_9
## %bb.10:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%rbx, %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	callq	_move_section_contents
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_1:
	movq	(%rbx), %r15
	testq	%r15, %r15
	je	LBB0_8
## %bb.2:
	movq	_SEC_LOAD@GOTPCREL(%rip), %r12
	movq	_CHUNK_MASK@GOTPCREL(%rip), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%r15), %r15
	testq	%r15, %r15
	je	LBB0_8
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movl	(%r12), %eax
	testl	%eax, (%r15)
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	4(%r15), %eax
	movl	(%r13), %r14d
	notl	%r14d
	andl	%eax, %r14d
	addl	8(%r15), %eax
	cmpl	%eax, %r14d
	jge	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_find_chunk
	addl	(%r13), %r14d
	movl	8(%r15), %eax
	addl	4(%r15), %eax
	cmpl	%eax, %r14d
	jl	LBB0_5
	jmp	LBB0_7
LBB0_9:
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SEC_LOAD,4,2                   ## @SEC_LOAD
	.comm	_CHUNK_MASK,8,3                 ## @CHUNK_MASK
	.comm	_SEC_ALLOC,4,2                  ## @SEC_ALLOC
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_tekhex_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 tekhex_set_section_contents
_tekhex_set_section_contents:           ; @tekhex_set_section_contents
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	ldr	w8, [x0, #8]
Lloh0:
	adrp	x25, _SEC_LOAD@GOTPAGE
Lloh1:
	ldr	x25, [x25, _SEC_LOAD@GOTPAGEOFF]
	cbz	w8, LBB0_4
LBB0_1:
	ldr	w9, [x22]
Lloh2:
	adrp	x8, _SEC_ALLOC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SEC_ALLOC@GOTPAGEOFF]
	ldr	w10, [x25]
Lloh4:
	ldr	w8, [x8]
	orr	w10, w8, w10
Lloh5:
	adrp	x8, _FALSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	tst	w10, w9
	b.eq	LBB0_3
; %bb.2:
	ldr	w5, [x8]
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	bl	_move_section_contents
Lloh7:
	adrp	x8, _TRUE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	x26, [x23]
	cbz	x26, LBB0_1
; %bb.5:
Lloh9:
	adrp	x27, _CHUNK_MASK@GOTPAGE
Lloh10:
	ldr	x27, [x27, _CHUNK_MASK@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x26, [x26, #16]
	cbz	x26, LBB0_1
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	ldr	w8, [x26]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x27]
	ldp	w9, w10, [x26, #4]
	bic	w24, w9, w8
	add	w8, w10, w9
	cmp	w24, w8
	b.ge	LBB0_6
LBB0_9:                                 ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x23
	mov	x1, x24
	bl	_find_chunk
	ldr	w8, [x27]
	add	w24, w24, w8
	ldp	w8, w9, [x26, #4]
	add	w8, w9, w8
	cmp	w24, w8
	b.lt	LBB0_9
	b	LBB0_6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_SEC_LOAD,4,2                   ; @SEC_LOAD
	.comm	_CHUNK_MASK,8,3                 ; @CHUNK_MASK
	.comm	_SEC_ALLOC,4,2                  ; @SEC_ALLOC
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_tekhex_set_section_contents
.subsections_via_symbols
