	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function modify_section
_modify_section:                        ## @modify_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	callq	_read_section
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	-48(%rbp), %r12
	testq	%r12, %r12
	jne	LBB0_4
LBB0_2:
	movl	20(%r14), %esi
	movq	%r15, %rdi
	callq	_is_append_section
	testq	%rax, %rax
	je	LBB0_30
## %bb.3:
	movq	-48(%rbp), %r12
LBB0_4:
	movl	20(%r14), %esi
	movq	%r15, %rdi
	callq	_is_append_section
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	20(%r14), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_lookup_sec_act
	movq	(%rax), %rdi
	callq	_strlen
	cltq
	addq	%rax, %r12
	incq	%r12
LBB0_6:
	movq	%r12, %rdi
	callq	_malloc
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_err
LBB0_8:
	movq	%r12, (%r14)
	movl	20(%r14), %esi
	movq	%r15, %rdi
	callq	_is_compress_section
	movq	-48(%rbp), %rdx
	testq	%rax, %rax
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_26
## %bb.9:
	testq	%rdx, %rdx
	jle	LBB0_10
## %bb.11:
	movq	%rbx, %r13
	addq	%rdx, %r13
	xorl	%edx, %edx
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_strncpy
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%r15,%rdx), %rax
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movb	$0, (%r12,%rax)
	addq	%r15, %rdx
	incq	%rdx
LBB0_25:                                ##   in Loop: Header=BB0_12 Depth=1
	addq	%r15, %rbx
	incq	%rbx
	cmpq	%r13, %rbx
	jae	LBB0_27
LBB0_12:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
                                        ##     Child Loop BB0_21 Depth 2
	cmpq	%r13, %rbx
	jae	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%r13, %r15
	subq	%rbx, %r15
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_12 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$0, (%rbx,%rax)
	je	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=2
	leaq	(%rbx,%rax), %rcx
	incq	%rcx
	incq	%rax
	cmpq	%r13, %rcx
	jb	LBB0_15
## %bb.17:                              ##   in Loop: Header=BB0_12 Depth=1
	addq	%rbx, %rax
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_12 Depth=1
	xorl	%r15d, %r15d
	movq	%rbx, %rax
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%rax, %r15
	addq	%rbx, %rax
LBB0_19:                                ##   in Loop: Header=BB0_12 Depth=1
	leaq	(%r12,%rdx), %r14
	cmpq	%r13, %rax
	je	LBB0_31
## %bb.20:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	testq	%rdx, %rdx
	jle	LBB0_24
	.p2align	4, 0x90
LBB0_21:                                ##   Parent Loop BB0_12 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_22
## %bb.23:                              ##   in Loop: Header=BB0_21 Depth=2
	movq	%r12, %rdi
	callq	_strlen
	cltq
	addq	%rax, %r12
	incq	%r12
	cmpq	%r14, %r12
	jb	LBB0_21
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_25
LBB0_26:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_memcpy
	movq	-48(%rbp), %rdx
	jmp	LBB0_27
LBB0_10:
	xorl	%edx, %edx
	jmp	LBB0_27
LBB0_31:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%rdx, %rbx
	movq	%r15, %rdx
	callq	_strncpy
	movq	%rbx, %rdx
	addq	%r15, %rdx
LBB0_27:
	movq	%rdx, %r13
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movl	20(%r15), %esi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_is_append_section
	testq	%rax, %rax
	je	LBB0_29
## %bb.28:
	movl	20(%r15), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_lookup_sec_act
	movq	%rax, %r14
	movq	(%rax), %rdi
	callq	_strlen
	movslq	%eax, %rbx
	movq	%r12, %rdi
	addq	%r13, %rdi
	movq	(%r14), %rsi
	movq	%rbx, %rdx
	callq	_strncpy
	leaq	(%rbx,%r13), %rax
	movb	$0, (%r12,%rax)
	addq	%rbx, %r13
	incq	%r13
LBB0_29:
	movq	%r13, 8(%r15)
	movl	$1, 16(%r15)
LBB0_30:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"malloc failed"

	.no_dead_strip	_modify_section
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function modify_section
_modify_section:                        ; @modify_section
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x1
	mov	x20, x0
	add	x1, sp, #8
	mov	x0, x19
	bl	_read_section
	mov	x21, x0
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x22, [sp, #8]
	cbnz	x22, LBB0_4
LBB0_2:
	ldr	w1, [x19, #20]
	mov	x0, x20
	bl	_is_append_section
	cbz	x0, LBB0_30
; %bb.3:
	ldr	x22, [sp, #8]
LBB0_4:
	ldr	w1, [x19, #20]
	mov	x0, x20
	bl	_is_append_section
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w1, [x19, #20]
	mov	x0, x20
	mov	w2, #0
	bl	_lookup_sec_act
	ldr	x0, [x0]
	bl	_strlen
	add	w8, w0, #1
	add	x22, x22, w8, sxtw
LBB0_6:
	mov	x0, x22
	bl	_malloc
	mov	x22, x0
	cbnz	x0, LBB0_8
; %bb.7:
Lloh0:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_err
LBB0_8:
	str	x22, [x19]
	ldr	w1, [x19, #20]
	mov	x0, x20
	bl	_is_compress_section
	ldr	x2, [sp, #8]
	cbz	x0, LBB0_24
; %bb.9:
	cmp	x2, #1
	b.lt	LBB0_25
; %bb.10:
	mov	x26, #0
	add	x27, x21, x2
	add	x28, x2, x21
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x24
	mov	x1, x21
	mov	x2, x23
	bl	_strncpy
	add	x8, x23, x26
	strb	wzr, [x22, x8]
	add	x26, x8, #1
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x8, x23, x21
	add	x21, x8, #1
	cmp	x21, x27
	b.hs	LBB0_27
LBB0_13:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
                                        ;     Child Loop BB0_22 Depth 2
	cmp	x21, x27
	b.hs	LBB0_18
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x23, #0
	sub	x8, x28, x21
LBB0_15:                                ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w9, [x21, x23]
	cbz	w9, LBB0_19
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=2
	add	x23, x23, #1
	cmp	x8, x23
	b.ne	LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x23, x8
	mov	x8, x28
	b	LBB0_20
LBB0_18:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	x23, #0
	mov	x8, x21
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x8, x21, x23
LBB0_20:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x24, x22, x26
	cmp	x8, x27
	b.eq	LBB0_26
; %bb.21:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x25, x22
	cmp	x26, #1
	b.lt	LBB0_11
LBB0_22:                                ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x25
	mov	x1, x21
	bl	_strcmp
	cbz	x0, LBB0_12
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=2
	mov	x0, x25
	bl	_strlen
	add	w8, w0, #1
	add	x25, x25, w8, sxtw
	cmp	x25, x24
	b.lo	LBB0_22
	b	LBB0_11
LBB0_24:
	mov	x0, x22
	mov	x1, x21
	bl	_memcpy
	ldr	x26, [sp, #8]
	b	LBB0_27
LBB0_25:
	mov	x26, #0
	b	LBB0_27
LBB0_26:
	mov	x0, x24
	mov	x1, x21
	mov	x2, x23
	bl	_strncpy
	add	x26, x23, x26
LBB0_27:
	ldr	w1, [x19, #20]
	mov	x0, x20
	bl	_is_append_section
	cbz	x0, LBB0_29
; %bb.28:
	ldr	w1, [x19, #20]
	mov	x0, x20
	mov	w2, #0
	bl	_lookup_sec_act
	mov	x20, x0
	ldr	x0, [x0]
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x21, w0
	add	x0, x22, x26
	ldr	x1, [x20]
	mov	x2, x21
	bl	_strncpy
	add	x8, x26, x21
	strb	wzr, [x22, x8]
	add	x26, x8, #1
LBB0_29:
	str	x26, [x19, #8]
	mov	w8, #1
	str	w8, [x19, #16]
LBB0_30:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"malloc failed"

	.no_dead_strip	_modify_section
.subsections_via_symbols
