	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SMTPTransport_CallbackMessageSendDataStream
_SMTPTransport_CallbackMessageSendDataStream: ## @SMTPTransport_CallbackMessageSendDataStream
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rdi
	callq	_TRACE
	leaq	-32(%rbp), %rdx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_SMTPTransport_ParseResponse
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_5
## %bb.1:
	movl	-32(%rbp), %edi
	callq	_FAILED
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_debugstr_a
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_ERR
	jmp	LBB0_5
LBB0_3:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	4(%r15), %edx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapAlloc
	movq	%rax, %r14
	movl	4(%r15), %edx
	movl	8(%r15), %edi
	movq	%rax, %rsi
	xorl	%ecx, %ecx
	callq	_IStream_Read
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movl	4(%r15), %edx
	movq	_SMTPTransport_CallbackMessageSendDOT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_InternetTransport_Write
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_HeapFree
LBB0_5:
	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	"\n"

L_.str.1:                               ## @.str.1
	.asciz	"server error: %s\n"

	.comm	_SMTPTransport_CallbackMessageSendDOT,4,2 ## @SMTPTransport_CallbackMessageSendDOT
	.no_dead_strip	_SMTPTransport_CallbackMessageSendDataStream
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SMTPTransport_CallbackMessageSendDataStream
_SMTPTransport_CallbackMessageSendDataStream: ; @SMTPTransport_CallbackMessageSendDataStream
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x20
	bl	_SMTPTransport_ParseResponse
	bl	_FAILED
	cbnz	x0, LBB0_5
; %bb.1:
	ldr	w0, [sp, #8]
	bl	_FAILED
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_debugstr_a
	mov	x1, x0
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_ERR
	b	LBB0_5
LBB0_3:
	bl	_GetProcessHeap
	ldr	w2, [x19, #4]
	mov	w1, #0
	bl	_HeapAlloc
	mov	x20, x0
	ldp	w2, w0, [x19, #4]
	mov	x1, x20
	mov	x3, #0
	bl	_IStream_Read
	bl	_FAILED
	cbnz	x0, LBB0_5
; %bb.4:
	ldr	w2, [x19, #4]
Lloh4:
	adrp	x8, _SMTPTransport_CallbackMessageSendDOT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SMTPTransport_CallbackMessageSendDOT@GOTPAGEOFF]
Lloh6:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_InternetTransport_Write
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x20
	bl	_HeapFree
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

l_.str.1:                               ; @.str.1
	.asciz	"server error: %s\n"

	.comm	_SMTPTransport_CallbackMessageSendDOT,4,2 ; @SMTPTransport_CallbackMessageSendDOT
	.no_dead_strip	_SMTPTransport_CallbackMessageSendDataStream
.subsections_via_symbols
