	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_generateHeadline               ## -- Begin function generateHeadline
	.p2align	4, 0x90
_generateHeadline:                      ## @generateHeadline
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	32(%rdi), %r13
	movl	$128, %ebx
	movl	$128, %edi
	callq	_palloc
	movq	%rax, %r15
	movq	_VARHDRSZ@GOTPCREL(%rip), %rax
	movslq	(%rax), %r8
	addq	%r15, %r8
	movq	%r13, %rax
	subq	32(%r14), %rax
	sarq	$4, %rax
	movabsq	$-6148914691236517205, %rcx     ## imm = 0xAAAAAAAAAAAAAAAB
	imulq	%rcx, %rax
	movslq	(%r14), %rcx
	cmpq	%rcx, %rax
	jge	LBB0_25
## %bb.1:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%edi, %edi
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	testl	%eax, %eax
	je	LBB0_14
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	%edi, %esi
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	addq	$48, %r13
	movq	%r13, %rax
	subq	32(%r14), %rax
	sarq	$4, %rax
	movabsq	$-6148914691236517205, %rcx     ## imm = 0xAAAAAAAAAAAAAAAB
	imulq	%rcx, %rax
	movslq	(%r14), %rcx
	movl	%esi, %edi
	cmpq	%rcx, %rax
	jge	LBB0_25
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movl	4(%r14), %eax
	movl	12(%r14), %edx
	addl	(%r13), %eax
	addl	8(%r14), %eax
	addl	%edx, %eax
	cltq
	movq	%r8, %r12
	subq	%r15, %r12
	addq	%r12, %rax
	movslq	%ebx, %rcx
	cmpq	%rcx, %rax
	jl	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	addl	%ebx, %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_repalloc
	movq	%rax, %r15
	movslq	%r12d, %r12
	movl	4(%r14), %eax
	addl	(%r13), %eax
	movl	12(%r14), %edx
	addl	8(%r14), %eax
	addl	%edx, %eax
	cltq
	addq	%r12, %rax
	movslq	%ebx, %rcx
	cmpq	%rcx, %rax
	jge	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	addq	%r15, %r12
	movq	%r12, %r8
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, 40(%r13)
	movl	8(%r13), %eax
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	testl	%eax, %eax
	jne	LBB0_2
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	%edi, %esi
	jmp	LBB0_17
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	4(%r13), %edi
	movq	%r8, %r12
	callq	_pfree
	movq	%r12, %r8
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %esi
	jmp	LBB0_3
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	leal	1(%rdi), %esi
	testl	%edi, %edi
	jle	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	%esi, -56(%rbp)                 ## 4-byte Spill
	movl	24(%r14), %esi
	movq	%r8, %rdi
	movq	%r8, %r12
	callq	_memcpy
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	movq	%r12, %r8
	movslq	12(%r14), %rax
	addq	%rax, %r8
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, 32(%r13)
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_4 Depth=1
	movb	$32, (%r8)
	incq	%r8
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_3
LBB0_19:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	cmpl	$0, 24(%r13)
	jne	LBB0_3
## %bb.20:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	%esi, -56(%rbp)                 ## 4-byte Spill
	cmpq	$0, 16(%r13)
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	8(%r14), %edx
	movl	20(%r14), %esi
	movq	%r8, %rdi
	movq	%r8, %r12
	callq	_memcpy
	movq	%r12, %r8
	movslq	8(%r14), %rax
	addq	%rax, %r8
LBB0_22:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r8, %r12
	movl	(%r13), %edx
	movl	4(%r13), %esi
	movq	%r8, %rdi
	callq	_memcpy
	movslq	(%r13), %r8
	addq	%r12, %r8
	cmpq	$0, 16(%r13)
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	4(%r14), %edx
	movl	16(%r14), %esi
	movq	%r8, %rdi
	movq	%r8, %r12
	callq	_memcpy
	movq	%r12, %r8
	movslq	4(%r14), %rax
	addq	%rax, %r8
LBB0_24:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	jmp	LBB0_3
LBB0_25:
	subl	%r15d, %r8d
	movq	%r15, %rdi
	movl	%r8d, %esi
	callq	_SET_VARSIZE
	movq	%r15, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VARHDRSZ,4,2                   ## @VARHDRSZ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_generateHeadline               ; -- Begin function generateHeadline
	.p2align	2
_generateHeadline:                      ; @generateHeadline
	.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
	mov	x20, x0
	ldr	x23, [x0, #32]
	mov	w0, #128
	bl	_palloc
	mov	x19, x0
Lloh0:
	adrp	x8, _VARHDRSZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VARHDRSZ@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	add	x22, x0, x8
	ldr	x8, [x20, #32]
	sub	x8, x23, x8
	asr	x8, x8, #4
	mov	x24, #-6148914691236517206
	movk	x24, #43691
	mul	x8, x8, x24
	ldrsw	x9, [x20]
	cmp	x8, x9
	b.ge	LBB0_23
; %bb.1:
	mov	w26, #0
	mov	w28, #0
	mov	w21, #128
	mov	w25, #32
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	cbz	w8, LBB0_12
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x27, x28
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x23, x23, #48
	ldr	x8, [x20, #32]
	sub	x8, x23, x8
	asr	x8, x8, #4
	mul	x8, x8, x24
	ldrsw	x9, [x20]
	mov	x28, x27
	cmp	x8, x9
	b.ge	LBB0_23
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	ldr	w8, [x23]
	ldp	w9, w10, [x20, #4]
	add	w8, w9, w8
	add	w8, w8, w10
	ldr	w2, [x20, #12]
	add	w8, w8, w2
	sub	x27, x22, x19
	add	x8, x27, w8, sxtw
	cmp	x8, w21, sxtw
	b.lt	LBB0_8
LBB0_6:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	w21, w21, #1
	mov	x0, x19
	mov	x1, x21
	bl	_repalloc
	mov	x19, x0
	sxtw	x27, w27
	ldr	w8, [x23]
	ldp	w9, w10, [x20, #4]
	add	w8, w9, w8
	add	w8, w8, w10
	ldr	w2, [x20, #12]
	add	w8, w8, w2
	add	x8, x27, w8, sxtw
	cmp	x8, w21, sxtw
	b.ge	LBB0_6
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x19, x27
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x23, #40]
	ldr	w8, [x23, #8]
	cbz	x9, LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	cbnz	w8, LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	cbz	w26, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x27, x28
	b	LBB0_15
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x23, #4]
	bl	_pfree
	mov	w26, #0
	b	LBB0_3
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w27, w28, #1
	cmp	w28, #1
	b.lt	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x20, #24]
	mov	x0, x22
	bl	_memcpy
	ldrsw	x8, [x20, #12]
	add	x22, x22, x8
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x23, #32]
	cbz	x8, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_5 Depth=1
	strb	w25, [x22], #1
	mov	w26, #1
	b	LBB0_4
LBB0_17:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x23, #24]
	cbnz	w8, LBB0_22
; %bb.18:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x23, #16]
	cbz	x8, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x20, #20]
	ldr	w2, [x20, #8]
	mov	x0, x22
	bl	_memcpy
	ldrsw	x8, [x20, #8]
	add	x22, x22, x8
LBB0_20:                                ;   in Loop: Header=BB0_5 Depth=1
	ldp	w2, w1, [x23]
	mov	x0, x22
	bl	_memcpy
	ldrsw	x8, [x23]
	add	x22, x22, x8
	ldr	x8, [x23, #16]
	cbz	x8, LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x20, #16]
	ldr	w2, [x20, #4]
	mov	x0, x22
	bl	_memcpy
	ldrsw	x8, [x20, #4]
	add	x22, x22, x8
LBB0_22:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w26, #1
	b	LBB0_4
LBB0_23:
	sub	w1, w22, w19
	mov	x0, x19
	bl	_SET_VARSIZE
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VARHDRSZ,4,2                   ; @VARHDRSZ
.subsections_via_symbols
