	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_write_counter                  ## -- Begin function write_counter
	.p2align	4, 0x90
_write_counter:                         ## @write_counter
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movl	140(%rdi), %edi
	callq	_writeout_long
	movl	(%r15), %edi
	callq	_writeout_int
	movq	_COUNTER_TYPE_LAST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	notl	%edi
	andl	4(%r15), %edi
	callq	_writeout_int
	movl	8(%r15), %edi
	callq	_writeout_int
	movl	12(%r15), %edi
	callq	_writeout_int
	movl	16(%r15), %edi
	callq	_writeout_int
	movl	(%r15), %edi
	callq	_writeout_int
	movl	20(%r15), %edi
	callq	_writeout_int
	movl	24(%r15), %edi
	callq	_writeout_int
	movl	28(%r15), %edi
	callq	_writeout_int
	movl	32(%r15), %edi
	callq	_writeout_int
	movl	136(%r15), %edi
	movl	$8, %esi
	callq	_writeout
	xorl	%eax, %eax
	cmpq	$0, 128(%r15)
	setne	%al
	leal	2(%rax), %ecx
	cmpq	$0, 120(%r15)
	cmovel	%eax, %ecx
	leal	4(%rcx), %eax
	cmpq	$0, 112(%r15)
	cmovel	%ecx, %eax
	cmpq	$0, 104(%r15)
	leal	8(%rax), %ecx
	cmovel	%eax, %ecx
	movl	%ecx, %eax
	orl	$16, %eax
	cmpq	$0, 96(%r15)
	cmovel	%ecx, %eax
	movl	%eax, %ecx
	orl	$32, %ecx
	cmpq	$0, 88(%r15)
	cmovel	%eax, %ecx
	movl	%ecx, %eax
	orl	$64, %eax
	cmpq	$0, 80(%r15)
	cmovel	%ecx, %eax
	movl	%eax, %ecx
	orl	$128, %ecx
	cmpq	$0, 72(%r15)
	cmovel	%eax, %ecx
	movl	%ecx, %edi
	orl	$256, %edi                      ## imm = 0x100
	cmpq	$0, 64(%r15)
	cmovel	%ecx, %edi
	callq	_writeout_int
	movq	128(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	_MAX_AGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_write_list
	movq	%rax, %r14
	addl	$60, %r14d
	jmp	LBB0_3
LBB0_1:
	movl	$60, %r14d
LBB0_3:
	movq	120(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	movq	_MAX_MSTATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_write_list
	addl	%eax, %r14d
LBB0_5:
	movq	112(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	movq	_MAX_POLIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_write_list
	addl	%eax, %r14d
LBB0_7:
	movq	104(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.8:
	movq	_MAX_SECTION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_write_list
	addl	%eax, %r14d
LBB0_9:
	movq	96(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.10:
	callq	_write_list2
	addl	%eax, %r14d
LBB0_11:
	movq	88(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.12:
	movq	_MAX_SEX_AGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_write_list
	addl	%eax, %r14d
LBB0_13:
	movq	80(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.14:
	callq	_write_list2
	addl	%eax, %r14d
LBB0_15:
	movq	72(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.16:
	callq	_write_list2
	addl	%eax, %r14d
LBB0_17:
	movq	64(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.18:
	movq	_MAX_SOURCE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_write_list
	addl	%eax, %r14d
LBB0_19:
	movl	60(%r15), %edi
	callq	_writeout_long
	movl	60(%r15), %edi
	callq	_ipopcount
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	jle	LBB0_22
## %bb.20:
	leal	(%r14,%rax,4), %r14d
	movl	%eax, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	40(%r15), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_writeout_int
	incq	%rbx
	cmpq	%rbx, %r12
	jne	LBB0_21
LBB0_22:
	movl	56(%r15), %edi
	callq	_writeout_char
	movl	20(%r15), %eax
	movq	_now@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_23
## %bb.24:
	movq	$0, 48(%r15)
	xorl	%edi, %edi
	jmp	LBB0_25
LBB0_23:
	movq	48(%r15), %rdi
LBB0_25:
	callq	_write_tree
	addl	%r14d, %eax
	addl	$9, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_COUNTER_TYPE_LAST,4,2          ## @COUNTER_TYPE_LAST
	.comm	_MAX_AGE,4,2                    ## @MAX_AGE
	.comm	_MAX_MSTATUS,4,2                ## @MAX_MSTATUS
	.comm	_MAX_POLIT,4,2                  ## @MAX_POLIT
	.comm	_MAX_SECTION,4,2                ## @MAX_SECTION
	.comm	_MAX_SEX_AGE,4,2                ## @MAX_SEX_AGE
	.comm	_MAX_SOURCE,4,2                 ## @MAX_SOURCE
	.comm	_now,4,2                        ## @now
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_write_counter                  ; -- Begin function write_counter
	.p2align	2
_write_counter:                         ; @write_counter
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldr	w0, [x0, #140]
	bl	_writeout_long
	ldr	w0, [x19]
	bl	_writeout_int
	ldr	w8, [x19, #4]
Lloh0:
	adrp	x9, _COUNTER_TYPE_LAST@GOTPAGE
Lloh1:
	ldr	x9, [x9, _COUNTER_TYPE_LAST@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	bic	w0, w8, w9
	bl	_writeout_int
	ldr	w0, [x19, #8]
	bl	_writeout_int
	ldr	w0, [x19, #12]
	bl	_writeout_int
	ldr	w0, [x19, #16]
	bl	_writeout_int
	ldr	w0, [x19]
	bl	_writeout_int
	ldr	w0, [x19, #20]
	bl	_writeout_int
	ldr	w0, [x19, #24]
	bl	_writeout_int
	ldr	w0, [x19, #28]
	bl	_writeout_int
	ldr	w0, [x19, #32]
	bl	_writeout_int
	ldr	w0, [x19, #136]
	mov	w1, #8
	bl	_writeout
	ldp	x9, x8, [x19, #120]
	cmp	x8, #0
	cset	w8, ne
	ldr	x10, [x19, #112]
	cmp	x9, #0
	orr	w9, w8, #0x2
	csel	w8, w8, w9, eq
	orr	w9, w8, #0x4
	cmp	x10, #0
	csel	w8, w8, w9, eq
	ldp	x10, x9, [x19, #96]
	cmp	x9, #0
	orr	w9, w8, #0x8
	csel	w8, w8, w9, eq
	orr	w9, w8, #0x10
	cmp	x10, #0
	csel	w8, w8, w9, eq
	ldp	x10, x9, [x19, #80]
	cmp	x9, #0
	orr	w9, w8, #0x20
	csel	w8, w8, w9, eq
	orr	w9, w8, #0x40
	cmp	x10, #0
	csel	w8, w8, w9, eq
	ldp	x10, x9, [x19, #64]
	cmp	x9, #0
	orr	w9, w8, #0x80
	csel	w8, w8, w9, eq
	orr	w9, w8, #0x100
	cmp	x10, #0
	csel	w0, w8, w9, eq
	bl	_writeout_int
	ldr	x0, [x19, #128]
	cbz	x0, LBB0_24
; %bb.1:
Lloh3:
	adrp	x8, _MAX_AGE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_AGE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_write_list
	add	w20, w0, #60
	ldr	x0, [x19, #120]
	cbz	x0, LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _MAX_MSTATUS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAX_MSTATUS@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_write_list
	add	w20, w20, w0
LBB0_3:
	ldr	x0, [x19, #112]
	cbz	x0, LBB0_5
; %bb.4:
Lloh9:
	adrp	x8, _MAX_POLIT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MAX_POLIT@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_write_list
	add	w20, w20, w0
LBB0_5:
	ldr	x0, [x19, #104]
	cbz	x0, LBB0_7
; %bb.6:
Lloh12:
	adrp	x8, _MAX_SECTION@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MAX_SECTION@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_write_list
	add	w20, w20, w0
LBB0_7:
	ldr	x0, [x19, #96]
	cbz	x0, LBB0_9
; %bb.8:
	bl	_write_list2
	add	w20, w20, w0
LBB0_9:
	ldr	x0, [x19, #88]
	cbz	x0, LBB0_11
; %bb.10:
Lloh15:
	adrp	x8, _MAX_SEX_AGE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MAX_SEX_AGE@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_write_list
	add	w20, w20, w0
LBB0_11:
	ldr	x0, [x19, #80]
	cbz	x0, LBB0_13
; %bb.12:
	bl	_write_list2
	add	w20, w20, w0
LBB0_13:
	ldr	x0, [x19, #72]
	cbz	x0, LBB0_15
; %bb.14:
	bl	_write_list2
	add	w20, w20, w0
LBB0_15:
	ldr	x0, [x19, #64]
	cbz	x0, LBB0_17
; %bb.16:
Lloh18:
	adrp	x8, _MAX_SOURCE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MAX_SOURCE@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	bl	_write_list
	add	w20, w20, w0
LBB0_17:
	ldr	w0, [x19, #60]
	bl	_writeout_long
	ldr	w0, [x19, #60]
	bl	_ipopcount
	cmp	w0, #1
	b.lt	LBB0_20
; %bb.18:
	mov	x21, #0
	add	w20, w20, w0, lsl #2
	mov	w8, w0
	lsl	x22, x8, #2
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #40]
	ldr	w0, [x8, x21]
	bl	_writeout_int
	add	x21, x21, #4
	cmp	x22, x21
	b.ne	LBB0_19
LBB0_20:
	ldr	w0, [x19, #56]
	bl	_writeout_char
	ldr	w8, [x19, #20]
Lloh21:
	adrp	x9, _now@GOTPAGE
Lloh22:
	ldr	x9, [x9, _now@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ge	LBB0_22
; %bb.21:
	mov	x0, #0
	str	xzr, [x19, #48]
	b	LBB0_23
LBB0_22:
	ldr	x0, [x19, #48]
LBB0_23:
	bl	_write_tree
	add	w8, w20, w0
	add	w0, w8, #9
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_24:
	mov	w20, #60
	ldr	x0, [x19, #120]
	cbnz	x0, LBB0_2
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_COUNTER_TYPE_LAST,4,2          ; @COUNTER_TYPE_LAST
	.comm	_MAX_AGE,4,2                    ; @MAX_AGE
	.comm	_MAX_MSTATUS,4,2                ; @MAX_MSTATUS
	.comm	_MAX_POLIT,4,2                  ; @MAX_POLIT
	.comm	_MAX_SECTION,4,2                ; @MAX_SECTION
	.comm	_MAX_SEX_AGE,4,2                ; @MAX_SEX_AGE
	.comm	_MAX_SOURCE,4,2                 ; @MAX_SOURCE
	.comm	_now,4,2                        ; @now
.subsections_via_symbols
