	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lang_check_section_addresses
_lang_check_section_addresses:          ## @lang_check_section_addresses
	.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	_output_bfd@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_bfd_count_sections
	cmpl	$2, %eax
	jl	LBB0_14
## %bb.1:
	movq	(%r15), %rdi
	callq	_bfd_count_sections
                                        ## kill: def $eax killed $eax def $rax
	leal	(,%rax,8), %edi
	callq	_xmalloc
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	(%r15), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_14
## %bb.2:
	xorl	%r14d, %r14d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_IGNORE_SECTION
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, (%rbx)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%r14d, %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rbx, (%rcx,%rax,8)
	incl	%r14d
	jmp	LBB0_6
LBB0_7:
	cmpl	$2, %r14d
	jae	LBB0_8
LBB0_14:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movl	%r14d, %esi
	movq	_sort_sections_by_lma@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movl	$8, %edx
	callq	_qsort
	movq	(%rbx), %r13
	movq	(%r15), %rdi
	movq	%r13, %rsi
	callq	_bfd_section_lma
	movq	%rax, %rbx
	movq	(%r13), %rdi
	callq	_TO_ADDR
	leaq	(%rbx,%rax), %rcx
	decq	%rcx
	movl	$1, %r15d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	incq	%r15
	cmpl	%r15d, -64(%rbp)                ## 4-byte Folded Reload
	je	LBB0_13
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %r14
	movq	%rcx, %r12
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r15,8), %r13
	movq	_output_bfd@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%r13, %rsi
	callq	_bfd_section_lma
	movq	%rax, %rbx
	movq	(%r13), %rdi
	callq	_TO_ADDR
	leaq	(%rax,%rbx), %rcx
	decq	%rcx
	addq	%rbx, %rax
	cmpq	%r14, %rax
	jle	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpq	%r12, %rbx
	jg	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	leaq	L_.str(%rip), %rdi
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%rcx, %r12
	callq	__
	movl	8(%r13), %esi
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	8(%rcx), %r8d
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rsp)
	movl	%eax, %edi
	movq	%rbx, %rdx
	movq	%r12, %rcx
	movq	%r14, %r9
	callq	_einfo
	movq	%r12, %rcx
	jmp	LBB0_12
LBB0_13:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_output_bfd,8,3                 ## @output_bfd
	.comm	_sort_sections_by_lma,4,2       ## @sort_sections_by_lma
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%X%P: section %s [%V -> %V] overlaps section %s [%V -> %V]\n"

	.no_dead_strip	_lang_check_section_addresses
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lang_check_section_addresses
_lang_check_section_addresses:          ; @lang_check_section_addresses
	.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
Lloh0:
	adrp	x28, _output_bfd@GOTPAGE
Lloh1:
	ldr	x28, [x28, _output_bfd@GOTPAGEOFF]
	ldr	x0, [x28]
	bl	_bfd_count_sections
	cmp	w0, #2
	b.lt	LBB0_8
; %bb.1:
	ldr	x0, [x28]
	bl	_bfd_count_sections
	lsl	w0, w0, #3
	bl	_xmalloc
	ldr	x8, [x28]
	ldr	x20, [x8]
	cbz	x20, LBB0_8
; %bb.2:
	mov	x19, x0
	mov	w21, #0
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x20, [x20, #16]
	cbz	x20, LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_IGNORE_SECTION
	cbnz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20]
	cbz	x8, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	str	x20, [x19, w21, uxtw #3]
	add	w21, w21, #1
	b	LBB0_3
LBB0_7:
	cmp	w21, #2
	b.hs	LBB0_9
LBB0_8:
	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_9:
	mov	w20, w21
Lloh2:
	adrp	x8, _sort_sections_by_lma@GOTPAGE
Lloh3:
	ldr	x8, [x8, _sort_sections_by_lma@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #8
	bl	_qsort
	ldr	x21, [x19]
	ldr	x0, [x28]
	mov	x1, x21
	bl	_bfd_section_lma
	mov	x23, x0
	ldr	x0, [x21]
	bl	_TO_ADDR
	add	x8, x23, x0
	sub	x24, x8, #1
	mov	w22, #1
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x22, x22, #1
	mov	x21, x25
	mov	x24, x27
	mov	x23, x26
	cmp	w20, w22
	b.eq	LBB0_13
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x25, [x19, x22, lsl #3]
	ldr	x0, [x28]
	mov	x1, x25
	bl	_bfd_section_lma
	mov	x26, x0
	ldr	x0, [x25]
	bl	_TO_ADDR
	add	x8, x0, x26
	cmp	x8, x23
	sub	x27, x8, #1
	ccmp	x26, x24, #0, gt
	b.gt	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	ldr	w1, [x25, #8]
	ldr	w4, [x21, #8]
	mov	x2, x26
	mov	x3, x27
	mov	x5, x23
	mov	x6, x24
	bl	_einfo
	b	LBB0_10
LBB0_13:
	mov	x0, x19
	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
	b	_free
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_output_bfd,8,3                 ; @output_bfd
	.comm	_sort_sections_by_lma,4,2       ; @sort_sections_by_lma
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%X%P: section %s [%V -> %V] overlaps section %s [%V -> %V]\n"

	.no_dead_strip	_lang_check_section_addresses
.subsections_via_symbols
