	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_end_xml
_find_end_xml:                          ## @find_end_xml
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %rsi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -128(%rbp)
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -112(%rbp)
	movq	$0, -64(%rbp)
	movw	$12092, -128(%rbp)              ## imm = 0x2F3C
	leaq	-126(%rbp), %rdi
	movq	%rbx, %rdx
	callq	_memcpy
	leaq	-128(%rbp), %r12
	movb	$62, 2(%rbx,%r12)
	movq	_NUL@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movb	%al, 3(%rbx,%r12)
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	addq	%r12, %rbx
	addq	$3, %rbx
	movq	_option_load_mode@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_OPTION_LOAD_KEEP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	%r13, %rax
	jmp	LBB0_5
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_4:
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_SPN_WHITESPACE_BACK
LBB0_5:
	subq	%r15, %rax
	movq	%rax, (%r14)
	subq	%r12, %rbx
	addq	%rbx, %r13
	movq	%r13, %rdi
	callq	_SPN_WHITESPACE_CHARS
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_8
## %bb.7:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NUL,1,0                        ## @NUL
	.comm	_option_load_mode,8,3           ## @option_load_mode
	.comm	_OPTION_LOAD_KEEP,8,3           ## @OPTION_LOAD_KEEP
	.no_dead_strip	_find_end_xml
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_end_xml
_find_end_xml:                          ; @find_end_xml
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x1, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	str	xzr, [sp, #64]
	movi.2d	v0, #0000000000000000
	stur	q0, [sp, #50]
	mov	x22, sp
	add	x0, x22, #2
	stur	q0, [sp, #34]
	stur	q0, [sp, #18]
	stur	q0, [sp, #2]
	mov	w8, #12092
	strh	w8, [sp]
	mov	x2, x21
	bl	_memcpy
Lloh3:
	adrp	x8, _NUL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NUL@GOTPAGEOFF]
	add	x22, x21, x22
	ldrb	w8, [x8]
	strb	w8, [x22, #3]!
	mov	w8, #62
	sturb	w8, [x22, #-1]
	mov	x1, sp
	mov	x0, x20
	bl	_strstr
	cbz	x0, LBB0_5
; %bb.1:
	mov	x21, x0
Lloh5:
	adrp	x8, _option_load_mode@GOTPAGE
Lloh6:
	ldr	x8, [x8, _option_load_mode@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
Lloh8:
	adrp	x9, _OPTION_LOAD_KEEP@GOTPAGE
Lloh9:
	ldr	x9, [x9, _OPTION_LOAD_KEEP@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x21
	b	LBB0_4
LBB0_3:
	mov	x0, x20
	mov	x1, x21
	bl	_SPN_WHITESPACE_BACK
LBB0_4:
	sub	x8, x0, x20
	str	x8, [x19]
	mov	x8, sp
	sub	x8, x22, x8
	add	x0, x21, x8
	bl	_SPN_WHITESPACE_CHARS
LBB0_5:
	ldur	x8, [x29, #-40]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_NUL,1,0                        ; @NUL
	.comm	_option_load_mode,8,3           ; @option_load_mode
	.comm	_OPTION_LOAD_KEEP,8,3           ; @OPTION_LOAD_KEEP
	.no_dead_strip	_find_end_xml
.subsections_via_symbols
