	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bounce                         ## -- Begin function bounce
	.p2align	4, 0x90
_bounce:                                ## @bounce
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$1096, %rsp                     ## imm = 0x448
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	cmpq	$0, (%rax)
	jne	LBB0_1
## %bb.17:
	movq	_LOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_syslog
	movq	_EX_SOFTWARE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
LBB0_1:
	movq	%rsi, %r14
	movq	%rdi, %r15
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$24, %esi
	callq	_bzero
	leaq	-44(%rbp), %rdi
	callq	_LIST_INIT
	leaq	L_.str.1(%rip), %rax
	movq	%rax, -64(%rbp)
	movq	(%r15), %rsi
	movq	_EXPAND_WILDCARD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_add_recp
	testq	%rax, %rax
	jne	LBB0_16
## %bb.2:
	leaq	-64(%rbp), %rdi
	callq	_newspoolf
	testq	%rax, %rax
	jne	LBB0_16
## %bb.3:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-56(%rbp), %rdx
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_syslog
	movq	-56(%rbp), %rsi
	leaq	L_.str.3(%rip), %rdi
	callq	_setlogident
	movl	-48(%rbp), %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	-56(%rbp), %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	callq	_hostname
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	_VERSION@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_rfc822date
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	(%r15), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	8(%r15), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	-56(%rbp), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	callq	_hostname
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_rfc822date
	movq	%rax, %r12
	movq	(%rbx), %r13
	xorl	%eax, %eax
	callq	_hostname
	movq	_config@GOTPCREL(%rip), %rdx
	movq	_FULLBOUNCE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rdx), %ecx
	leaq	L_.str.6(%rip), %rcx
	leaq	L_.str.5(%rip), %rbx
	cmoveq	%rcx, %rbx
	leaq	L_.str.4(%rip), %rsi
	movl	-68(%rbp), %edi                 ## 4-byte Reload
	movq	-136(%rbp), %rdx                ## 8-byte Reload
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movq	-96(%rbp), %r8                  ## 8-byte Reload
	movq	-88(%rbp), %r9                  ## 8-byte Reload
	pushq	%rbx
	pushq	%r14
	pushq	8(%r15)
	pushq	%rax
	pushq	%r13
	pushq	%r12
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	pushq	-104(%rbp)                      ## 8-byte Folded Reload
	pushq	-128(%rbp)                      ## 8-byte Folded Reload
	pushq	-120(%rbp)                      ## 8-byte Folded Reload
	callq	_fprintf
	addq	$80, %rsp
	testl	%eax, %eax
	js	LBB0_16
## %bb.4:
	movl	16(%r15), %edi
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_fseek
	testq	%rax, %rax
	jne	LBB0_16
## %bb.5:
	movq	_FULLBOUNCE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_config@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_11
## %bb.6:
	leaq	-1136(%rbp), %rbx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	16(%r15), %edi
	callq	_feof
	testl	%eax, %eax
	jne	LBB0_14
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	16(%r15), %edx
	movq	%rbx, %rdi
	movl	$1000, %esi                     ## imm = 0x3E8
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpb	$10, -1136(%rbp)
	je	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	callq	_strlen
	movl	-48(%rbp), %ecx
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$1, %edx
	callq	_fwrite
	cmpl	$1, %eax
	je	LBB0_7
	jmp	LBB0_16
LBB0_11:
	leaq	-1136(%rbp), %r14
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	16(%r15), %ecx
	movq	%r14, %rdi
	movl	$1, %esi
	movl	$1000, %edx                     ## imm = 0x3E8
	callq	_fread
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rax, %rbx
	movl	-48(%rbp), %ecx
	movq	%r14, %rdi
	movl	$1, %esi
	movl	%ebx, %edx
	callq	_fwrite
	cltq
	cmpq	%rax, %rbx
	je	LBB0_12
	jmp	LBB0_16
LBB0_14:
	leaq	-64(%rbp), %rdi
	callq	_linkspool
	testq	%rax, %rax
	jne	LBB0_16
## %bb.15:
	movq	%r15, %rdi
	callq	_delqueue
	leaq	-64(%rbp), %rdi
	callq	_run_queue
LBB0_16:
	movq	_LOG_CRIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_syslog
	movq	%r15, %rdi
	callq	_delqueue
	movq	_EX_IOERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_LOG_INFO,4,2                   ## @LOG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"can not bounce a bounce message, discarding"

	.comm	_EX_SOFTWARE,4,2                ## @EX_SOFTWARE
L_.str.1:                               ## @.str.1
	.space	1

	.comm	_EXPAND_WILDCARD,4,2            ## @EXPAND_WILDCARD
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
L_.str.2:                               ## @.str.2
	.asciz	"delivery failed, bouncing as %s"

L_.str.3:                               ## @.str.3
	.asciz	"%s"

L_.str.4:                               ## @.str.4
	.asciz	"Received: from MAILER-DAEMON\n\tid %s\n\tby %s (%s);\n\t%s\nX-Original-To: <%s>\nFrom: MAILER-DAEMON <>\nTo: %s\nSubject: Mail delivery failed\nMessage-Id: <%s@%s>\nDate: %s\n\nThis is the %s at %s.\n\nThere was an error delivering your mail to <%s>.\n\n%s\n\n%s\n\n"

	.comm	_VERSION,8,3                    ## @VERSION
	.comm	_config,4,2                     ## @config
	.comm	_FULLBOUNCE,4,2                 ## @FULLBOUNCE
L_.str.5:                               ## @.str.5
	.asciz	"Original message follows."

L_.str.6:                               ## @.str.6
	.asciz	"Message headers follow."

	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.comm	_LOG_CRIT,4,2                   ## @LOG_CRIT
L_.str.7:                               ## @.str.7
	.asciz	"error creating bounce: %m"

	.comm	_EX_IOERR,4,2                   ## @EX_IOERR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bounce                         ; -- Begin function bounce
	.p2align	2
_bounce:                                ; @bounce
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #1120
	ldr	x8, [x0]
	ldr	x8, [x8]
	cbnz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _LOG_INFO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LOG_INFO@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_syslog
Lloh5:
	adrp	x8, _EX_SOFTWARE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EX_SOFTWARE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_exit
LBB0_2:
	mov	x20, x1
	mov	x19, x0
	sub	x21, x29, #112
	sub	x0, x29, #112
	mov	w1, #24
	bl	_bzero
	add	x0, x21, #20
	bl	_LIST_INIT
Lloh8:
	adrp	x8, l_.str.1@PAGE
Lloh9:
	add	x8, x8, l_.str.1@PAGEOFF
	stur	x8, [x29, #-112]
	ldr	x1, [x19]
Lloh10:
	adrp	x8, _EXPAND_WILDCARD@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EXPAND_WILDCARD@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	sub	x0, x29, #112
	bl	_add_recp
	cbnz	x0, LBB0_14
; %bb.3:
	sub	x0, x29, #112
	bl	_newspoolf
	cbnz	x0, LBB0_14
; %bb.4:
Lloh13:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ldur	x8, [x29, #-104]
	str	x8, [sp]
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_syslog
	ldur	x1, [x29, #-104]
Lloh18:
	adrp	x0, l_.str.3@PAGE
Lloh19:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_setlogident
	ldur	w8, [x29, #-96]
	str	w8, [sp, #76]                   ; 4-byte Folded Spill
	ldur	x8, [x29, #-104]
	str	x8, [sp, #80]                   ; 8-byte Folded Spill
	bl	_hostname
	str	x0, [sp, #64]                   ; 8-byte Folded Spill
Lloh20:
	adrp	x21, _VERSION@GOTPAGE
Lloh21:
	ldr	x21, [x21, _VERSION@GOTPAGEOFF]
	ldr	x24, [x21]
	bl	_rfc822date
	mov	x25, x0
	ldp	x27, x26, [x19]
	ldur	x23, [x29, #-104]
	bl	_hostname
	mov	x28, x0
	bl	_rfc822date
	mov	x22, x0
	ldr	x21, [x21]
	bl	_hostname
	ldr	x8, [x19, #8]
Lloh22:
	adrp	x9, _config@GOTPAGE
Lloh23:
	ldr	x9, [x9, _config@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
Lloh25:
	adrp	x10, _FULLBOUNCE@GOTPAGE
Lloh26:
	ldr	x10, [x10, _FULLBOUNCE@GOTPAGEOFF]
Lloh27:
	ldr	w10, [x10]
Lloh28:
	adrp	x11, l_.str.5@PAGE
Lloh29:
	add	x11, x11, l_.str.5@PAGEOFF
Lloh30:
	adrp	x12, l_.str.6@PAGE
Lloh31:
	add	x12, x12, l_.str.6@PAGEOFF
	tst	w10, w9
	csel	x9, x12, x11, eq
	stp	x20, x9, [sp, #48]
	stp	x0, x8, [sp, #32]
	stp	x22, x21, [sp, #16]
Lloh32:
	adrp	x1, l_.str.4@PAGE
Lloh33:
	add	x1, x1, l_.str.4@PAGEOFF
	stp	x23, x28, [sp]
	ldr	w0, [sp, #76]                   ; 4-byte Folded Reload
	ldr	x2, [sp, #80]                   ; 8-byte Folded Reload
	ldr	x3, [sp, #64]                   ; 8-byte Folded Reload
	mov	x4, x24
	mov	x5, x25
	mov	x6, x26
	mov	x7, x27
	bl	_fprintf
	tbnz	w0, #31, LBB0_14
; %bb.5:
	ldr	w0, [x19, #16]
Lloh34:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh35:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh36:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_fseek
	cbnz	x0, LBB0_14
; %bb.6:
Lloh37:
	adrp	x8, _config@GOTPAGE
Lloh38:
	ldr	x8, [x8, _config@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
Lloh40:
	adrp	x9, _FULLBOUNCE@GOTPAGE
Lloh41:
	ldr	x9, [x9, _FULLBOUNCE@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #16]
	bl	_feof
	cbnz	w0, LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w2, [x19, #16]
	add	x0, sp, #88
	mov	w1, #1000
	bl	_fgets
	ldrb	w8, [sp, #88]
	cmp	x0, #0
	ccmp	w8, #10, #4, ne
	b.eq	LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x0, sp, #88
	bl	_strlen
	mov	x1, x0
	ldur	w3, [x29, #-96]
	add	x0, sp, #88
	mov	w2, #1
	bl	_fwrite
	cmp	w0, #1
	b.eq	LBB0_7
	b	LBB0_14
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w3, [x19, #16]
	add	x0, sp, #88
	mov	w1, #1
	mov	w2, #1000
	bl	_fread
	cbz	x0, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x20, x0
	ldur	w3, [x29, #-96]
	add	x0, sp, #88
	mov	w1, #1
	mov	x2, x20
	bl	_fwrite
	cmp	x20, w0, sxtw
	b.eq	LBB0_10
	b	LBB0_14
LBB0_12:
	sub	x0, x29, #112
	bl	_linkspool
	cbnz	x0, LBB0_14
; %bb.13:
	mov	x0, x19
	bl	_delqueue
	sub	x0, x29, #112
	bl	_run_queue
LBB0_14:
Lloh43:
	adrp	x8, _LOG_CRIT@GOTPAGE
Lloh44:
	ldr	x8, [x8, _LOG_CRIT@GOTPAGEOFF]
Lloh45:
	ldr	w0, [x8]
Lloh46:
	adrp	x1, l_.str.7@PAGE
Lloh47:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_syslog
	mov	x0, x19
	bl	_delqueue
Lloh48:
	adrp	x8, _EX_IOERR@GOTPAGE
Lloh49:
	ldr	x8, [x8, _EX_IOERR@GOTPAGEOFF]
Lloh50:
	ldr	w0, [x8]
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_LOG_INFO,4,2                   ; @LOG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"can not bounce a bounce message, discarding"

	.comm	_EX_SOFTWARE,4,2                ; @EX_SOFTWARE
l_.str.1:                               ; @.str.1
	.space	1

	.comm	_EXPAND_WILDCARD,4,2            ; @EXPAND_WILDCARD
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
l_.str.2:                               ; @.str.2
	.asciz	"delivery failed, bouncing as %s"

l_.str.3:                               ; @.str.3
	.asciz	"%s"

l_.str.4:                               ; @.str.4
	.asciz	"Received: from MAILER-DAEMON\n\tid %s\n\tby %s (%s);\n\t%s\nX-Original-To: <%s>\nFrom: MAILER-DAEMON <>\nTo: %s\nSubject: Mail delivery failed\nMessage-Id: <%s@%s>\nDate: %s\n\nThis is the %s at %s.\n\nThere was an error delivering your mail to <%s>.\n\n%s\n\n%s\n\n"

	.comm	_VERSION,8,3                    ; @VERSION
	.comm	_config,4,2                     ; @config
	.comm	_FULLBOUNCE,4,2                 ; @FULLBOUNCE
l_.str.5:                               ; @.str.5
	.asciz	"Original message follows."

l_.str.6:                               ; @.str.6
	.asciz	"Message headers follow."

	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.comm	_LOG_CRIT,4,2                   ; @LOG_CRIT
l_.str.7:                               ; @.str.7
	.asciz	"error creating bounce: %m"

	.comm	_EX_IOERR,4,2                   ; @EX_IOERR
.subsections_via_symbols
