	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function imap_store_msg
_imap_store_msg:                        ## @imap_store_msg
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	16(%rdi), %r12
	movq	%rsi, %rdi
	callq	_lf_to_crlf
	leaq	-40(%rbp), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movl	(%rbx), %eax
	movl	%eax, -36(%rbp)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_strbuf_detach
	movl	%eax, -40(%rbp)
	movq	(%r15), %r14
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	8(%r15), %rcx
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str.1(%rip), %rcx
LBB0_3:
	leaq	L_.str.2(%rip), %rdx
	leaq	-40(%rbp), %rsi
	movq	%r15, %rdi
	movq	%r14, %r8
	callq	_imap_exec_m
	movl	(%r12), %ecx
	movl	%ecx, 4(%r12)
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"INBOX"

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

L_.str.2:                               ## @.str.2
	.asciz	"APPEND \"%s%s\" "

	.comm	_DRV_OK,4,2                     ## @DRV_OK
	.no_dead_strip	_imap_store_msg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function imap_store_msg
_imap_store_msg:                        ; @imap_store_msg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	x21, [x0, #16]
	mov	x0, x1
	bl	_lf_to_crlf
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	w8, [x20]
	str	w8, [sp, #12]
	mov	x0, x20
	mov	x1, #0
	bl	_strbuf_detach
	str	w0, [sp, #8]
	ldr	x20, [x19]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	w0, LBB0_2
; %bb.1:
	ldr	x3, [x19, #8]
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x3, l_.str.1@PAGE
Lloh3:
	add	x3, x3, l_.str.1@PAGEOFF
LBB0_3:
Lloh4:
	adrp	x2, l_.str.2@PAGE
Lloh5:
	add	x2, x2, l_.str.2@PAGEOFF
	add	x1, sp, #8
	mov	x0, x19
	mov	x4, x20
	bl	_imap_exec_m
	ldr	w8, [x21]
	str	w8, [x21, #4]
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"INBOX"

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

l_.str.2:                               ; @.str.2
	.asciz	"APPEND \"%s%s\" "

	.comm	_DRV_OK,4,2                     ; @DRV_OK
	.no_dead_strip	_imap_store_msg
.subsections_via_symbols
