	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sec_merge_emit
_sec_merge_emit:                        ## @sec_merge_emit
	.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	%rsi, %r12
	movq	%rdi, %r15
	movq	24(%rsi), %r14
	movq	(%r14), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %rax
	movl	(%rax), %ecx
	xorl	%r13d, %r13d
	testl	%ecx, %ecx
	je	LBB0_1
## %bb.11:
	movl	$1, %edi
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edi
	callq	_bfd_zmalloc
	movq	%rax, %rcx
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	jne	LBB0_2
## %bb.12:
	movq	_FALSE@GOTPCREL(%rip), %rbx
	jmp	LBB0_16
LBB0_1:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r14, 24(%r12)
	jne	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r13d, %eax
	negl	%eax
	movl	(%r12), %ebx
	decl	%ebx
	andl	%eax, %ebx
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	movq	%r15, %rdx
	callq	_bfd_bwrite
	cmpl	%ebx, %eax
	jne	LBB0_13
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	addl	%ebx, %r13d
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r12), %rdi
	movl	4(%r12), %ebx
	movl	%ebx, %esi
	movq	%r15, %rdx
	callq	_bfd_bwrite
	cmpl	%ebx, %eax
	jne	LBB0_13
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	addl	%ebx, %r13d
	movq	16(%r12), %r12
	testq	%r12, %r12
	jne	LBB0_2
LBB0_8:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ebx
	subl	%r13d, %ebx
	je	LBB0_10
## %bb.9:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	movq	%r15, %rdx
	callq	_bfd_bwrite
	cmpl	%ebx, %eax
	jne	LBB0_13
LBB0_10:
	movq	_TRUE@GOTPCREL(%rip), %rbx
	jmp	LBB0_14
LBB0_13:
	movq	_FALSE@GOTPCREL(%rip), %rbx
LBB0_14:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.15:
	callq	_free
LBB0_16:
	movl	(%rbx), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_sec_merge_emit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sec_merge_emit
_sec_merge_emit:                        ; @sec_merge_emit
	.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
	mov	x21, x1
	mov	x20, x0
	ldr	x24, [x1, #24]
	ldr	x23, [x24]
	ldr	x8, [x23, #8]
	ldr	w8, [x8]
	cbz	w8, LBB0_3
; %bb.1:
	mov	w9, #1
	lsl	w0, w9, w8
	bl	_bfd_zmalloc
	mov	x19, x0
	cbnz	x0, LBB0_4
; %bb.2:
Lloh0:
	adrp	x20, _FALSE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _FALSE@GOTPAGEOFF]
	b	LBB0_16
LBB0_3:
	mov	x19, #0
LBB0_4:
	mov	w25, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #24]
	cmp	x8, x24
	b.ne	LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	neg	w8, w25
	ldr	w9, [x21]
	sub	w9, w9, #1
	ands	w22, w9, w8
	b.eq	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	bl	_bfd_bwrite
	cmp	w0, w22
	b.ne	LBB0_14
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w25, w22, w25
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x21, #8]
	ldr	w22, [x21, #4]
	mov	x1, x22
	mov	x2, x20
	bl	_bfd_bwrite
	cmp	w0, w22
	b.ne	LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	add	w25, w22, w25
	ldr	x21, [x21, #16]
	cbnz	x21, LBB0_5
LBB0_11:
	ldr	w8, [x23]
	subs	w21, w8, w25
	b.eq	LBB0_13
; %bb.12:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_bfd_bwrite
	cmp	w0, w21
	b.ne	LBB0_14
LBB0_13:
Lloh2:
	adrp	x20, _TRUE@GOTPAGE
Lloh3:
	ldr	x20, [x20, _TRUE@GOTPAGEOFF]
	cbnz	x19, LBB0_15
	b	LBB0_16
LBB0_14:
Lloh4:
	adrp	x20, _FALSE@GOTPAGE
Lloh5:
	ldr	x20, [x20, _FALSE@GOTPAGEOFF]
	cbz	x19, LBB0_16
LBB0_15:
	mov	x0, x19
	bl	_free
LBB0_16:
	ldr	w0, [x20]
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_sec_merge_emit
.subsections_via_symbols
