	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_rfc822_quoted
_add_rfc822_quoted:                     ## @add_rfc822_quoted
	.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
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %r12
	leal	2(%r15), %esi
	callq	_strbuf_grow
	movq	%r12, %rdi
	movl	$34, %esi
	callq	_strbuf_addch
	testl	%r15d, %r15d
	jle	LBB0_6
## %bb.1:
	movl	%r15d, %r15d
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	movl	$92, %esi
	callq	_strbuf_addch
	movzbl	(%r14,%rbx), %eax
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movsbl	%al, %esi
	movq	%r12, %rdi
	callq	_strbuf_addch
	incq	%rbx
	cmpq	%rbx, %r15
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r14,%rbx), %eax
	movsbl	%al, %ecx
	cmpl	$92, %ecx
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$34, %ecx
	je	LBB0_4
	jmp	LBB0_5
LBB0_6:
	movq	%r12, %rdi
	movl	$34, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_strbuf_addch                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_add_rfc822_quoted
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_rfc822_quoted
_add_rfc822_quoted:                     ; @add_rfc822_quoted
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	add	w1, w2, #2
	bl	_strbuf_grow
	mov	x0, x19
	mov	w1, #34
	bl	_strbuf_addch
	cmp	w21, #1
	b.lt	LBB0_7
; %bb.1:
	mov	w21, w21
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	w1, #92
	bl	_strbuf_addch
	ldrb	w8, [x20]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	sxtb	w1, w8
	mov	x0, x19
	bl	_strbuf_addch
	add	x20, x20, #1
	subs	x21, x21, #1
	b.eq	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w8, [x20]
	cmp	w8, #92
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #34
	b.eq	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	and	w8, w8, #0xff
	b	LBB0_3
LBB0_7:
	mov	x0, x19
	mov	w1, #34
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_strbuf_addch
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_add_rfc822_quoted
.subsections_via_symbols
