	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function PLy_procedure_munge_source
_PLy_procedure_munge_source:            ## @PLy_procedure_munge_source
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	%rsi, %rdi
	callq	_strlen
	movl	%eax, %r14d
	movq	%r12, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%r14,2), %eax
	addl	$16, %eax
	movslq	%eax, %r15
	movq	%r15, %rdi
	callq	_palloc
	movq	%rax, %r14
	leaq	L_.str(%rip), %rdx
	movq	%rax, %rdi
	movq	%r15, %rsi
	movq	%r12, %rcx
	callq	_snprintf
	testl	%eax, %eax
	setns	%cl
	movslq	%eax, %r12
	cmpl	%r15d, %r12d
	setb	%al
	andb	%cl, %al
	movzbl	%al, %edi
	callq	_Assert
	addq	%r14, %r12
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movw	$2314, (%r12)                   ## imm = 0x90A
	addq	$2, %r12
	incq	%rbx
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %eax
	cmpb	$13, %al
	je	LBB0_6
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	testb	%al, %al
	je	LBB0_3
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$13, %al
	jne	LBB0_10
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$10, 1(%rbx)
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	incq	%rbx
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movzbl	(%rbx), %eax
	cmpb	$13, %al
	je	LBB0_11
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$10, %al
	je	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	movb	%al, (%r12)
	incq	%r12
	incq	%rbx
	jmp	LBB0_1
LBB0_3:
	movw	$2570, (%r12)                   ## imm = 0xA0A
	movb	$0, 2(%r12)
	addq	$2, %r12
	movq	%r14, %rax
	addq	%r15, %rax
	cmpq	%rax, %r12
	jbe	LBB0_5
## %bb.4:
	movq	_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_elog
LBB0_5:
	movq	%r14, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"def %s():\n\t"

	.comm	_FATAL,4,2                      ## @FATAL
L_.str.1:                               ## @.str.1
	.asciz	"buffer overrun in PLy_procedure_munge_source"

	.no_dead_strip	_PLy_procedure_munge_source
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function PLy_procedure_munge_source
_PLy_procedure_munge_source:            ; @PLy_procedure_munge_source
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x22, x0
	mov	x0, x1
	bl	_strlen
	mov	x19, x0
	mov	x0, x22
	bl	_strlen
	add	w8, w0, w19, lsl #1
	add	w23, w8, #16
	sxtw	x21, w23
	mov	x0, x21
	bl	_palloc
	mov	x19, x0
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, x21
	mov	x3, x22
	bl	_snprintf
	mov	x22, x0
	cmp	w0, #0
	ccmp	w0, w23, #2, ge
	cset	w0, lo
	bl	_Assert
	add	x8, x19, w22, sxtw
	mov	w9, #2314
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	strh	w9, [x8], #2
	add	x20, x20, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x20]
	cmp	w10, #13
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cbnz	w10, LBB0_5
	b	LBB0_7
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x10, x20
	ldrb	w11, [x10, #1]!
	cmp	w11, #10
	csel	x20, x10, x20, eq
	ldrb	w10, [x20]
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	w10, #13
	ccmp	w10, #10, #4, ne
	b.eq	LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	strb	w10, [x8], #1
	add	x20, x20, #1
	b	LBB0_2
LBB0_7:
	mov	w9, #2570
	strh	w9, [x8]
	strb	wzr, [x8, #2]!
	add	x9, x19, x21
	cmp	x8, x9
	b.ls	LBB0_9
; %bb.8:
Lloh2:
	adrp	x8, _FATAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FATAL@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_elog
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"def %s():\n\t"

	.comm	_FATAL,4,2                      ; @FATAL
l_.str.1:                               ; @.str.1
	.asciz	"buffer overrun in PLy_procedure_munge_source"

	.no_dead_strip	_PLy_procedure_munge_source
.subsections_via_symbols
