	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mep_cgen_expand_macros_and_parse_operand ## -- Begin function mep_cgen_expand_macros_and_parse_operand
	.p2align	4, 0x90
_mep_cgen_expand_macros_and_parse_operand: ## @mep_cgen_expand_macros_and_parse_operand
	.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	%rcx, %r15
	movq	%rdx, %r12
	movl	%esi, %r13d
	movl	%edi, %ebx
	movq	(%rdx), %rdi
	movl	$1, %esi
	callq	_expand_string
	movq	%rax, %r14
	movq	%rax, -48(%rbp)
	leaq	-48(%rbp), %rdx
	movl	%ebx, %edi
	movl	%r13d, %esi
	movq	%r15, %rcx
	callq	_mep_cgen_parse_operand
	movq	%rax, %r15
	movq	-48(%rbp), %rbx
	cmpb	$0, (%rbx)
	movq	(%r12), %r13
	movq	%r13, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rsi
	callq	_strstr
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	subq	%r14, %rbx
	addq	%rbx, %r13
	movq	%r13, %rax
	jmp	LBB0_4
LBB0_1:
	callq	_strlen
	addq	%r13, %rax
LBB0_4:
	movq	%rax, (%r12)
	testq	%r14, %r14
	je	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	callq	_free
LBB0_6:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mep_cgen_expand_macros_and_parse_operand ; -- Begin function mep_cgen_expand_macros_and_parse_operand
	.p2align	2
_mep_cgen_expand_macros_and_parse_operand: ; @mep_cgen_expand_macros_and_parse_operand
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x21, x3
	mov	x19, x2
	mov	x22, x1
	mov	x23, x0
	ldr	x0, [x2]
	mov	w1, #1
	bl	_expand_string
	mov	x20, x0
	str	x0, [sp, #8]
	add	x2, sp, #8
	mov	x0, x23
	mov	x1, x22
	mov	x3, x21
	bl	_mep_cgen_parse_operand
	mov	x21, x0
	ldr	x23, [sp, #8]
	ldrb	w8, [x23]
	ldr	x22, [x19]
	mov	x0, x22
	cbz	w8, LBB0_4
; %bb.1:
	mov	x1, x23
	bl	_strstr
	sub	x8, x23, x20
	add	x8, x22, x8
	cmp	x0, #0
	csel	x8, x0, x8, ne
	str	x8, [x19]
	cbz	x20, LBB0_3
LBB0_2:
	mov	x0, x20
	bl	_free
LBB0_3:
	mov	x0, x21
	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
	add	sp, sp, #80
	ret
LBB0_4:
	bl	_strlen
	add	x8, x22, x0
	str	x8, [x19]
	cbnz	x20, LBB0_2
	b	LBB0_3
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
