	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unfold_header
_unfold_header:                         ## @unfold_header
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %edx
	movq	%rdi, %r15
	leaq	L_.str(%rip), %r14
	movq	%rdi, %rsi
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	leaq	2(%r15), %rsi
	addl	%r15d, %ebx
	negl	%ebx
	incq	%r15
	movl	%ebx, %edx
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	movl	$1, %ebx
	subl	%r15d, %ebx
	subl	%edx, %ebx
	incl	%edx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=2
	incq	%rsi
	incl	%ebx
	decl	%edx
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rsi), %eax
	cmpb	$32, %al
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=2
	cmpb	$9, %al
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	%r15, %rsi
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memmove
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_strstr
	movq	%rax, %r15
	movb	$32, (%rax)
	movb	2(%rax), %al
	cmpb	$32, %al
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$9, %al
	je	LBB0_9
## %bb.10:
	movb	$0, (%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\r\n"

	.no_dead_strip	_unfold_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function unfold_header
_unfold_header:                         ; @unfold_header
	.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	x8, x1
	mov	x20, x0
Lloh0:
	adrp	x19, l_.str@PAGE
Lloh1:
	add	x19, x19, l_.str@PAGEOFF
	mov	w21, #32
	mov	w22, #1
	mov	x1, x0
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_2 Depth 2
	neg	w23, w8
LBB0_2:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x1]
	cmp	w8, #32
	ccmp	w8, #9, #4, ne
	b.ne	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=2
	add	x1, x1, #1
	add	w23, w23, #1
	b	LBB0_2
LBB0_4:                                 ;   in Loop: Header=BB0_1 Depth=1
	cmp	x1, x20
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
	sub	w2, w22, w23
	mov	x0, x20
	bl	_memmove
LBB0_6:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_strstr
	strb	w21, [x0]
	mov	x1, x0
	ldrb	w8, [x1, #2]!
	cmp	w8, #32
	ccmp	w8, #9, #4, ne
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_1 Depth=1
	mvn	w8, w23
	sub	w9, w20, w0
	add	w8, w8, w9
	add	x20, x0, #1
	b	LBB0_1
LBB0_8:
	strb	wzr, [x0]
	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
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\r\n"

	.no_dead_strip	_unfold_header
.subsections_via_symbols
