	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SMTPTransport_CallbackMessageSendTo
_SMTPTransport_CallbackMessageSendTo:   ## @SMTPTransport_CallbackMessageSendTo
	.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, %r14
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_TRACE
	leaq	-40(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_SMTPTransport_ParseResponse
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_9
## %bb.1:
	movl	-40(%rbp), %edi
	callq	_FAILED
	testq	%rax, %rax
	je	LBB0_2
## %bb.10:
	movq	%r14, %rdi
	callq	_debugstr_a
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_ERR
	jmp	LBB0_9
LBB0_2:
	movq	(%rbx), %rsi
	cmpq	16(%rbx), %rsi
	jae	LBB0_8
## %bb.3:
	movq	24(%rbx), %rax
	leaq	L_.str.2(%rip), %r14
	movq	_ADDR_TOFROM_MASK@GOTPCREL(%rip), %r15
	movq	_ADDR_TO@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%rax,%rsi,8), %edx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_TRACE
	movq	(%rbx), %rsi
	movq	24(%rbx), %rax
	movl	(%r15), %ecx
	andl	(%rax,%rsi,8), %ecx
	cmpl	(%r12), %ecx
	je	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rsi
	movq	%rsi, (%rbx)
	cmpq	16(%rbx), %rsi
	jb	LBB0_4
LBB0_8:
	addq	$8, %rbx
	movq	_SMTPTransport_CallbackMessageReadDataResponse@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_InternetTransport_DoCommand
LBB0_9:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	4(%rax,%rsi,8), %edi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	13(%rax), %r14d
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	_HeapAlloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	movq	%rax, %r14
	movq	(%rbx), %rax
	movq	24(%rbx), %rcx
	movl	4(%rcx,%rax,8), %edx
	leaq	_SMTPTransport_CallbackMessageSendTo.szCommandFormat(%rip), %rsi
	movq	%r14, %rdi
	callq	_sprintf
	incq	(%rbx)
	addq	$8, %rbx
	movq	_SMTPTransport_CallbackMessageReadToResponse@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_InternetTransport_DoCommand
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_HeapFree
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

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

L_.str.2:                               ## @.str.2
	.asciz	"address[%d]: %s\n"

	.comm	_ADDR_TOFROM_MASK,4,2           ## @ADDR_TOFROM_MASK
	.comm	_ADDR_TO,4,2                    ## @ADDR_TO
	.section	__TEXT,__const
_SMTPTransport_CallbackMessageSendTo.szCommandFormat: ## @SMTPTransport_CallbackMessageSendTo.szCommandFormat
	.asciz	"RCPT TO: <%s>\n"

	.comm	_SMTPTransport_CallbackMessageReadToResponse,4,2 ## @SMTPTransport_CallbackMessageReadToResponse
	.section	__TEXT,__cstring,cstring_literals
L_.str.3:                               ## @.str.3
	.asciz	"DATA\n"

	.comm	_SMTPTransport_CallbackMessageReadDataResponse,4,2 ## @SMTPTransport_CallbackMessageReadDataResponse
	.no_dead_strip	_SMTPTransport_CallbackMessageSendTo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SMTPTransport_CallbackMessageSendTo
_SMTPTransport_CallbackMessageSendTo:   ; @SMTPTransport_CallbackMessageSendTo
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	add	x2, sp, #24
	mov	x0, x19
	mov	x1, x20
	bl	_SMTPTransport_ParseResponse
	bl	_FAILED
	cbnz	x0, LBB0_8
; %bb.1:
	ldr	w0, [sp, #24]
	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_8
LBB0_3:
	ldr	x9, [x19]
	ldr	x8, [x19, #16]
	cmp	x9, x8
	b.hs	LBB0_7
; %bb.4:
	ldr	x8, [x19, #24]
Lloh4:
	adrp	x20, l_.str.2@PAGE
Lloh5:
	add	x20, x20, l_.str.2@PAGEOFF
Lloh6:
	adrp	x21, _ADDR_TOFROM_MASK@GOTPAGE
Lloh7:
	ldr	x21, [x21, _ADDR_TOFROM_MASK@GOTPAGEOFF]
Lloh8:
	adrp	x22, _ADDR_TO@GOTPAGE
Lloh9:
	ldr	x22, [x22, _ADDR_TO@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x8, x9, lsl #3
	ldr	w8, [x8, #4]
	stp	x9, x8, [sp]
	mov	x0, x20
	bl	_TRACE
	ldr	x8, [x19, #24]
	ldr	x9, [x19]
	lsl	x10, x9, #3
	ldr	w10, [x8, x10]
	ldr	w11, [x21]
	and	w10, w11, w10
	ldr	w11, [x22]
	cmp	w10, w11
	b.eq	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x9, x9, #1
	str	x9, [x19]
	ldr	x10, [x19, #16]
	cmp	x9, x10
	b.lo	LBB0_5
LBB0_7:
	add	x0, x19, #8
Lloh10:
	adrp	x8, _SMTPTransport_CallbackMessageReadDataResponse@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SMTPTransport_CallbackMessageReadDataResponse@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
Lloh13:
	adrp	x1, l_.str.3@PAGE
Lloh14:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_InternetTransport_DoCommand
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_9:
	add	x8, x8, x9, lsl #3
	ldr	w0, [x8, #4]
	bl	_strlen
	add	w20, w0, #13
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x20
	bl	_HeapAlloc
	cbz	x0, LBB0_8
; %bb.10:
	mov	x20, x0
	ldr	x8, [x19, #24]
	ldr	x9, [x19]
	add	x8, x8, x9, lsl #3
	ldr	w2, [x8, #4]
Lloh15:
	adrp	x1, _SMTPTransport_CallbackMessageSendTo.szCommandFormat@PAGE
Lloh16:
	add	x1, x1, _SMTPTransport_CallbackMessageSendTo.szCommandFormat@PAGEOFF
	bl	_sprintf
	ldr	x8, [x19]
	add	x8, x8, #1
	str	x8, [x19]
	add	x0, x19, #8
Lloh17:
	adrp	x8, _SMTPTransport_CallbackMessageReadToResponse@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SMTPTransport_CallbackMessageReadToResponse@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_InternetTransport_DoCommand
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x20
	bl	_HeapFree
	b	LBB0_8
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

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

l_.str.2:                               ; @.str.2
	.asciz	"address[%d]: %s\n"

	.comm	_ADDR_TOFROM_MASK,4,2           ; @ADDR_TOFROM_MASK
	.comm	_ADDR_TO,4,2                    ; @ADDR_TO
	.section	__TEXT,__const
_SMTPTransport_CallbackMessageSendTo.szCommandFormat: ; @SMTPTransport_CallbackMessageSendTo.szCommandFormat
	.asciz	"RCPT TO: <%s>\n"

	.comm	_SMTPTransport_CallbackMessageReadToResponse,4,2 ; @SMTPTransport_CallbackMessageReadToResponse
	.section	__TEXT,__cstring,cstring_literals
l_.str.3:                               ; @.str.3
	.asciz	"DATA\n"

	.comm	_SMTPTransport_CallbackMessageReadDataResponse,4,2 ; @SMTPTransport_CallbackMessageReadDataResponse
	.no_dead_strip	_SMTPTransport_CallbackMessageSendTo
.subsections_via_symbols
