	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function elf_modify_segment_map
_elf_modify_segment_map:                ## @elf_modify_segment_map
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	callq	_elf_tdata
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.1:
	movq	_PT_LOAD@GOTPCREL(%rip), %r10
	movq	(%r10), %r11
	movq	_SEC_ALLOC@GOTPCREL(%rip), %r9
	movq	%rbx, %r8
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r8, %rbx
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rcx, %rax
	testq	%rdi, %rdi
	je	LBB0_15
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	cmpl	$0, (%rdi)
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_SEC_EXCLUDE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movl	(%r9), %r13d
	movq	(%r10), %r12
	xorl	%edx, %edx
	xorl	%esi, %esi
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=2
	movl	%esi, %edi
	movq	%r14, (%rcx,%rdi,8)
	incl	%esi
	movq	(%rax), %rdi
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=2
	incq	%rdx
	movl	(%rdi), %ecx
	cmpq	%rcx, %rdx
	jae	LBB0_10
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	24(%rdi), %rcx
	movq	(%rcx,%rdx,8), %r14
	movl	(%r14), %r15d
	testl	%r15d, %ebx
	jne	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	testl	%r15d, %r13d
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=2
	cmpq	%r12, 8(%rdi)
	jne	LBB0_8
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%esi, %esi
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rdi, %rdx
	movl	%esi, (%rdi)
	leaq	16(%rdi), %rcx
	movq	16(%rdi), %rdi
	cmpq	%r11, 8(%rdx)
	jne	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	testl	%esi, %esi
	movq	%r8, %rbx
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rdi, (%rax)
	movq	%rax, %rcx
	jmp	LBB0_14
LBB0_15:
	movq	%rbx, %rdi
	callq	_get_elf_backend_data
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_18
## %bb.16:
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	*%rax
	testl	%eax, %eax
	je	LBB0_17
LBB0_18:
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_17:
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_19:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SEC_EXCLUDE,4,2                ## @SEC_EXCLUDE
	.comm	_SEC_ALLOC,4,2                  ## @SEC_ALLOC
	.comm	_PT_LOAD,8,3                    ## @PT_LOAD
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_elf_modify_segment_map
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function elf_modify_segment_map
_elf_modify_segment_map:                ; @elf_modify_segment_map
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	bl	_elf_tdata
	ldr	x9, [x0]
	cbz	x9, LBB0_12
; %bb.1:
Lloh0:
	adrp	x8, _PT_LOAD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PT_LOAD@GOTPAGEOFF]
	ldr	x10, [x8]
Lloh2:
	adrp	x11, _SEC_EXCLUDE@GOTPAGE
Lloh3:
	ldr	x11, [x11, _SEC_EXCLUDE@GOTPAGEOFF]
Lloh4:
	adrp	x12, _SEC_ALLOC@GOTPAGE
Lloh5:
	ldr	x12, [x12, _SEC_ALLOC@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	str	x9, [x0]
	cbz	x9, LBB0_12
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldr	w13, [x9]
	cbz	w13, LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x14, #0
	mov	w13, #0
	ldr	w15, [x11]
	ldr	w16, [x12]
	ldr	x17, [x8]
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=2
	str	x2, [x1, w13, uxtw #3]
	add	w13, w13, #1
	ldr	x9, [x0]
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	add	x14, x14, #1
	ldr	w1, [x9]
	cmp	x14, x1
	b.hs	LBB0_10
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x1, [x9, #24]
	ldr	x2, [x1, x14, lsl #3]
	ldr	w3, [x2]
	tst	w15, w3
	b.ne	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	tst	w16, w3
	b.ne	LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x3, [x9, #8]
	cmp	x3, x17
	b.ne	LBB0_5
	b	LBB0_6
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	str	w13, [x9]
	ldr	x15, [x9, #8]
	mov	x14, x9
	ldr	x9, [x14, #16]!
	cmp	x15, x10
	ccmp	w13, #0, #0, eq
	b.eq	LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x14
	cbnz	x9, LBB0_3
LBB0_12:
	mov	x0, x20
	bl	_get_elf_backend_data
	ldr	x8, [x0]
	cbz	x8, LBB0_14
; %bb.13:
	mov	x0, x20
	mov	x1, x19
	blr	x8
	cbz	w0, LBB0_15
LBB0_14:
Lloh6:
	adrp	x8, _TRUE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_16
LBB0_15:
Lloh8:
	adrp	x8, _FALSE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_16:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_SEC_EXCLUDE,4,2                ; @SEC_EXCLUDE
	.comm	_SEC_ALLOC,4,2                  ; @SEC_ALLOC
	.comm	_PT_LOAD,8,3                    ; @PT_LOAD
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_elf_modify_segment_map
.subsections_via_symbols
