	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_antispam_serialize_pattern     ## -- Begin function antispam_serialize_pattern
	.p2align	4, 0x90
_antispam_serialize_pattern:            ## @antispam_serialize_pattern
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r15d
	movq	_id_to_pattern@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r15d, %esi
	callq	_id_to_pattern_find
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movq	16(%rax), %r13
	leaq	-2(%r14), %rbx
	movl	$39, %eax
	movq	%r13, %rcx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rcx), %rcx
	incq	%rbx
	incl	%eax
	testq	%rcx, %rcx
	jne	LBB0_3
## %bb.4:
	movq	_MAX_PATTERN_LEN@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	setle	%dil
	callq	_assert
	movl	(%r12), %ecx
	movl	4(%r12), %r8d
	movzwl	8(%r12), %r9d
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_sprintf
	movslq	%eax, %rcx
	movb	$0, 1(%rbx,%rcx)
	movq	_TRUE@GOTPCREL(%rip), %rax
	cmpq	$0, 8(%r13)
	je	LBB0_7
## %bb.5:
	addq	%rcx, %rbx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r13), %ecx
	movb	%cl, (%rbx)
	movq	8(%r13), %r13
	decq	%rbx
	cmpq	$0, 8(%r13)
	jne	LBB0_6
	jmp	LBB0_7
LBB0_1:
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_id_to_pattern,4,2              ## @id_to_pattern
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_MAX_PATTERN_LEN,4,2            ## @MAX_PATTERN_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d,%u,%u,%hu,"

	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_antispam_serialize_pattern     ; -- Begin function antispam_serialize_pattern
	.p2align	2
_antispam_serialize_pattern:            ; @antispam_serialize_pattern
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _id_to_pattern@GOTPAGE
Lloh1:
	ldr	x8, [x8, _id_to_pattern@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_id_to_pattern_find
	cbz	x0, LBB0_6
; %bb.1:
	mov	x21, x0
	mov	x23, #0
	ldr	x22, [x0, #16]
	mov	x8, x22
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8, #8]
	add	x23, x23, #1
	cbnz	x8, LBB0_2
; %bb.3:
	add	w8, w23, #39
Lloh3:
	adrp	x9, _MAX_PATTERN_LEN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MAX_PATTERN_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, le
	bl	_assert
	ldp	w3, w4, [x21]
	ldrh	w5, [x21, #8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_sprintf
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	add	x8, x19, x8
	add	x8, x8, x23
	sturb	wzr, [x8, #-1]
	ldr	x9, [x22, #8]
	cbz	x9, LBB0_7
; %bb.4:
	sub	x9, x8, #2
Lloh8:
	adrp	x8, _TRUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x22]
	strb	w10, [x9], #-1
	ldr	x22, [x22, #8]
	ldr	x10, [x22, #8]
	cbnz	x10, LBB0_5
	b	LBB0_8
LBB0_6:
Lloh10:
	adrp	x8, _FALSE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh12:
	adrp	x8, _TRUE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_id_to_pattern,4,2              ; @id_to_pattern
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_MAX_PATTERN_LEN,4,2            ; @MAX_PATTERN_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d,%u,%u,%hu,"

	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
