	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_buf_m4_define                  ## -- Begin function buf_m4_define
	.p2align	4, 0x90
_buf_m4_define:                         ## @buf_m4_define
	.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, %r15
	movq	%rdi, %r14
	testq	%rdx, %rdx
	leaq	L_.str.1(%rip), %r13
	cmovneq	%rdx, %r13
	leaq	L_.str(%rip), %rdi
	callq	_strlen
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_strlen
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	addl	%r12d, %ebx
	addl	%ebx, %eax
	addl	$2, %eax
	movslq	%eax, %r12
	movq	%r12, %rdi
	callq	_flex_alloc
	movq	%rax, %rbx
	movq	%rax, -48(%rbp)
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_flexfatal
LBB0_2:
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rcx
	movq	%r13, %r8
	callq	_snprintf
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_buf_append
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"m4_define( [[%s]], [[%s]])m4_dnl\n"

L_.str.1:                               ## @.str.1
	.space	1

L_.str.2:                               ## @.str.2
	.asciz	"Allocation of buffer for m4 def failed"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_buf_m4_define                  ; -- Begin function buf_m4_define
	.p2align	2
_buf_m4_define:                         ; @buf_m4_define
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, l_.str.1@PAGE
Lloh1:
	add	x8, x8, l_.str.1@PAGEOFF
	cmp	x2, #0
	csel	x21, x8, x2, eq
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_strlen
	mov	x22, x0
	mov	x0, x20
	bl	_strlen
	mov	x23, x0
	mov	x0, x21
	bl	_strlen
	add	w8, w22, w23
	add	w8, w8, w0
	add	w8, w8, #2
	sxtw	x22, w8
	mov	x0, x22
	bl	_flex_alloc
	mov	x23, x0
	str	x0, [sp, #8]
	cbnz	x0, LBB0_2
; %bb.1:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
	bl	_flexfatal
LBB0_2:
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x23
	mov	x1, x22
	mov	x3, x20
	mov	x4, x21
	bl	_snprintf
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #1
	bl	_buf_append
	mov	x0, x19
	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
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"m4_define( [[%s]], [[%s]])m4_dnl\n"

l_.str.1:                               ; @.str.1
	.space	1

l_.str.2:                               ; @.str.2
	.asciz	"Allocation of buffer for m4 def failed"

.subsections_via_symbols
