	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function maybe_remove_section
_maybe_remove_section:                  ## @maybe_remove_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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movslq	(%rcx), %r9
	movq	(%rdi), %rax
	movq	16(%rdi), %r8
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	(%rax,%r9,4), %r11d
	movl	%r11d, %ebx
	testl	%r11d, %r11d
	jle	LBB0_10
## %bb.1:
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	_CONFIG_EVENT_COMMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_CONFIG_EVENT_ENTRY@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_CONFIG_EVENT_SECTION@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	xorl	%r13d, %r13d
	movq	%r11, %rbx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	1(%rax), %rdx
	movq	%rax, %rbx
	cmpq	$1, %rdx
	jbe	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-1(%rbx), %rax
	movl	%eax, %r10d
	shlq	$5, %r10
	movl	(%r8,%r10), %edx
	cmpl	%r14d, %edx
	je	LBB0_25
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r15d, %edx
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r12d, %edx
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %r13d
	cmpq	$0, 24(%r8,%r10)
	jne	LBB0_7
	jmp	LBB0_9
LBB0_8:
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_4:
	testl	%r13d, %r13d
	je	LBB0_25
LBB0_9:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
LBB0_10:
	movslq	%ebx, %rax
	shlq	$5, %rax
	movq	8(%r8,%rax), %rax
	movl	8(%rdi), %r13d
	incl	%r11d
	cmpl	%r13d, %r11d
	jge	LBB0_21
## %bb.11:
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rcx
	movq	_CONFIG_EVENT_COMMENT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r14d
	movq	_CONFIG_EVENT_SECTION@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r15d
	movq	_CONFIG_EVENT_ENTRY@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r12d
	movslq	%r11d, %rbx
	shlq	$5, %rbx
	addq	%r8, %rbx
	movq	-56(%rbp), %r10                 ## 8-byte Reload
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=1
	cmpq	$0, 24(%rbx)
	je	LBB0_20
LBB0_18:                                ##   in Loop: Header=BB0_12 Depth=1
	incl	%r11d
	addq	$32, %rbx
	cmpl	%r11d, %r13d
	je	LBB0_19
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edx
	cmpl	%r14d, %edx
	je	LBB0_25
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpl	%r15d, %edx
	je	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpl	%r12d, %edx
	jne	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_12 Depth=1
	incl	%r9d
	cmpl	12(%rdi), %r9d
	jge	LBB0_25
## %bb.17:                              ##   in Loop: Header=BB0_12 Depth=1
	movslq	%r9d, %rdx
	cmpl	(%r10,%rdx,4), %r11d
	je	LBB0_18
	jmp	LBB0_25
LBB0_19:
	movl	%r13d, %r11d
LBB0_20:
	movq	%rcx, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
LBB0_21:
	movl	%r9d, (%rcx)
	movq	%rax, (%rsi)
	movslq	8(%rdi), %rax
	cmpl	%eax, %r11d
	jge	LBB0_23
## %bb.22:
	movslq	%r11d, %rax
	shlq	$5, %rax
	addq	%r8, %rax
	addq	$8, %rax
	jmp	LBB0_24
LBB0_23:
	shlq	$5, %rax
	addq	%r8, %rax
	addq	$-16, %rax
LBB0_24:
	movq	(%rax), %rax
	movq	%rax, (%rdx)
LBB0_25:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CONFIG_EVENT_COMMENT,4,2       ## @CONFIG_EVENT_COMMENT
	.comm	_CONFIG_EVENT_ENTRY,4,2         ## @CONFIG_EVENT_ENTRY
	.comm	_CONFIG_EVENT_SECTION,4,2       ## @CONFIG_EVENT_SECTION
	.no_dead_strip	_maybe_remove_section
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function maybe_remove_section
_maybe_remove_section:                  ; @maybe_remove_section
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	.cfi_offset w19, -8
	.cfi_offset w20, -16
	ldrsw	x9, [x3]
	ldr	x10, [x0]
	ldr	w11, [x10, x9, lsl #2]
Lloh0:
	adrp	x13, _CONFIG_EVENT_COMMENT@GOTPAGE
Lloh1:
	ldr	x13, [x13, _CONFIG_EVENT_COMMENT@GOTPAGEOFF]
	ldr	x8, [x0, #16]
Lloh2:
	adrp	x12, _CONFIG_EVENT_ENTRY@GOTPAGE
Lloh3:
	ldr	x12, [x12, _CONFIG_EVENT_ENTRY@GOTPAGEOFF]
Lloh4:
	adrp	x14, _CONFIG_EVENT_SECTION@GOTPAGE
Lloh5:
	ldr	x14, [x14, _CONFIG_EVENT_SECTION@GOTPAGEOFF]
	cmp	w11, #1
	b.lt	LBB0_8
; %bb.1:
	mov	w17, #0
	ldr	w15, [x13]
	ldr	w16, [x12]
	mov	x5, x11
	ldr	w4, [x14]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w17, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x7, x6, #1
	mov	x5, x6
	cmp	x7, #1
	b.ls	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	x6, x5, #1
	and	x7, x6, #0xffffffff
	lsl	x19, x7, #5
	ldr	w19, [x8, x19]
	cmp	w19, w15
	b.eq	LBB0_23
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w19, w16
	b.eq	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w19, w4
	b.ne	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x17, x8, x7, lsl #5
	ldr	x17, [x17, #24]
	cbnz	x17, LBB0_2
	b	LBB0_11
LBB0_8:
	mov	x5, x11
	b	LBB0_12
LBB0_9:
	mov	w5, #0
	b	LBB0_12
LBB0_10:
	cbz	w17, LBB0_23
LBB0_11:
                                        ; kill: def $w5 killed $w5 killed $x5 def $x5
LBB0_12:
	sxtw	x15, w5
	add	x15, x8, x15, lsl #5
	ldr	x15, [x15, #8]
	ldr	w16, [x0, #8]
	add	w11, w11, #1
	cmp	w11, w16
	b.ge	LBB0_22
; %bb.13:
	ldr	w13, [x13]
	ldr	w14, [x14]
	ldr	w12, [x12]
	mov	x17, x11
	sxtw	x17, w17
	add	x17, x8, x17, lsl #5
	b	LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	x4, [x17, #24]
	cbz	x4, LBB0_22
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	add	w11, w11, #1
	add	x17, x17, #32
	cmp	w16, w11
	b.eq	LBB0_21
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	w4, [x17]
	cmp	w4, w13
	b.eq	LBB0_23
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	cmp	w4, w14
	b.eq	LBB0_14
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=1
	cmp	w4, w12
	b.ne	LBB0_15
; %bb.19:                               ;   in Loop: Header=BB0_16 Depth=1
	add	w9, w9, #1
	ldr	w4, [x0, #12]
	cmp	w9, w4
	b.ge	LBB0_23
; %bb.20:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	w4, [x10, w9, sxtw #2]
	cmp	w11, w4
	b.eq	LBB0_15
	b	LBB0_23
LBB0_21:
	mov	x11, x16
LBB0_22:
	str	w9, [x3]
	str	x15, [x1]
	ldrsw	x9, [x0, #8]
	add	x10, x8, x9, lsl #5
	sub	x10, x10, #16
	sxtw	x12, w11
	add	x8, x8, x12, lsl #5
	add	x8, x8, #8
	cmp	w11, w9
	csel	x8, x10, x8, ge
	ldr	x8, [x8]
	str	x8, [x2]
LBB0_23:
	ldp	x20, x19, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CONFIG_EVENT_COMMENT,4,2       ; @CONFIG_EVENT_COMMENT
	.comm	_CONFIG_EVENT_ENTRY,4,2         ; @CONFIG_EVENT_ENTRY
	.comm	_CONFIG_EVENT_SECTION,4,2       ; @CONFIG_EVENT_SECTION
	.no_dead_strip	_maybe_remove_section
.subsections_via_symbols
