	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_add_field                      ## -- Begin function add_field
	.p2align	4, 0x90
_add_field:                             ## @add_field
	.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
	movl	%edx, %r14d
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movl	%edx, %edi
	notl	%edi
	shrl	$31, %edi
	callq	_assert
	movq	_FN@GOTPCREL(%rip), %r13
	movl	(%r12), %edx
	addl	(%r13), %edx
	movl	%edx, (%r12)
	movslq	(%r13), %rax
	movl	4(%r12), %ecx
	addl	%eax, %ecx
	movl	%ecx, 4(%r12)
	movq	16(%r12), %rdi
	shlq	$4, %rax
	subq	%rax, %rdi
	movq	%rdi, 16(%r12)
	cmpl	%ecx, %edx
	jne	LBB0_2
## %bb.1:
	movl	%edx, %eax
	incl	%eax
	movl	$1, %r15d
	cmovnel	%eax, %r15d
	leal	(,%r15,4), %esi
	shll	$2, %edx
	callq	_dl_realloc0
	jmp	LBB0_3
LBB0_2:
	xorl	%edi, %edi
	callq	_assert
	movl	4(%r12), %r15d
	movq	16(%r12), %rax
LBB0_3:
	movslq	(%r13), %rcx
	movslq	(%r12), %rbx
	subq	%rcx, %rbx
	movl	%ebx, (%r12)
	movslq	(%r13), %rcx
	subl	%ecx, %r15d
	movl	%r15d, 4(%r12)
	shlq	$4, %rcx
	addq	%rax, %rcx
	movq	%rcx, 16(%r12)
	leal	1(%rbx), %eax
	movl	%eax, (%r12)
	movq	_t_string@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	cmpl	%r14d, %eax
	jge	LBB0_5
## %bb.4:
	subl	%eax, %r14d
	setg	%al
	movq	_MAX_EVENT_SIZE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r14d
	setl	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	movq	16(%r12), %rcx
	movq	%rbx, %rax
	shlq	$4, %rax
	movl	%r14d, (%rcx,%rax)
	movl	(%r13), %r14d
	jmp	LBB0_6
LBB0_5:
	movslq	%ebx, %rbx
	movq	%rbx, %rax
	shlq	$4, %rax
	movl	$0, (%rcx,%rax)
LBB0_6:
	shlq	$4, %rbx
	movl	%r14d, 4(%rcx,%rbx)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_dl_strdup
	movq	16(%r12), %rcx
	movl	%eax, 12(%rcx,%rbx)
	movl	8(%r12), %eax
	movl	%eax, 8(%rcx,%rbx)
	xorl	%ecx, %ecx
	cmpl	(%r13), %r14d
	sete	%cl
	addl	%ecx, %eax
	incl	%eax
	movl	%eax, 8(%r12)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FN,4,2                         ## @FN
	.comm	_t_string,4,2                   ## @t_string
	.comm	_MAX_EVENT_SIZE,4,2             ## @MAX_EVENT_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_add_field                      ; -- Begin function add_field
	.p2align	2
_add_field:                             ; @add_field
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	mvn	w8, w2
	lsr	w0, w8, #31
	bl	_assert
Lloh0:
	adrp	x22, _FN@GOTPAGE
Lloh1:
	ldr	x22, [x22, _FN@GOTPAGEOFF]
	ldr	w8, [x22]
	ldp	w9, w10, [x19]
	add	w8, w9, w8
	str	w8, [x19]
	ldrsw	x9, [x22]
	add	w10, w10, w9
	cmp	w8, w10
	str	w10, [x19, #4]
	ldr	x10, [x19, #16]
	sub	x0, x10, x9, lsl #4
	str	x0, [x19, #16]
	b.ne	LBB0_2
; %bb.1:
	adds	w9, w8, #1
	csinc	w24, w9, wzr, lo
	lsl	w1, w24, #2
	lsl	w2, w8, #2
	bl	_dl_realloc0
	b	LBB0_3
LBB0_2:
	mov	w0, #0
	bl	_assert
	ldr	w24, [x19, #4]
	ldr	x0, [x19, #16]
LBB0_3:
	ldrsw	x8, [x22]
	ldrsw	x9, [x19]
	sub	x23, x9, x8
	str	w23, [x19]
	ldrsw	x8, [x22]
	sub	w9, w24, w8
	add	x8, x0, x8, lsl #4
	str	x8, [x19, #16]
	add	w10, w23, #1
	stp	w10, w9, [x19]
Lloh2:
	adrp	x22, _t_string@GOTPAGE
Lloh3:
	ldr	x22, [x22, _t_string@GOTPAGEOFF]
	ldr	w9, [x22]
	cmp	w9, w21
	b.ge	LBB0_5
; %bb.4:
	sub	w21, w21, w9
	cmp	w21, #0
Lloh4:
	adrp	x8, _MAX_EVENT_SIZE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MAX_EVENT_SIZE@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	ccmp	w21, w8, #0, gt
	cset	w0, lt
	bl	_assert
	ldr	x8, [x19, #16]
	lsl	x9, x23, #4
	str	w21, [x8, x9]
	ldr	w21, [x22]
	b	LBB0_6
LBB0_5:
                                        ; kill: def $w23 killed $w23 killed $x23 def $x23
	sbfiz	x9, x23, #4, #32
	sxtw	x23, w23
	str	wzr, [x8, x9]
LBB0_6:
	lsl	x23, x23, #4
	add	x8, x8, x23
	str	w21, [x8, #4]
	mov	x0, x20
	bl	_dl_strdup
	ldr	x8, [x19, #16]
	add	x8, x8, x23
	ldr	w9, [x19, #8]
	stp	w9, w0, [x8, #8]
	ldr	w8, [x22]
	cmp	w21, w8
	mov	w8, #1
	cinc	w8, w8, eq
	add	w8, w8, w9
	str	w8, [x19, #8]
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_FN,4,2                         ; @FN
	.comm	_t_string,4,2                   ; @t_string
	.comm	_MAX_EVENT_SIZE,4,2             ; @MAX_EVENT_SIZE
.subsections_via_symbols
