	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function addsample
_addsample:                             ## @addsample
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_RND_EVENTQSIZE@GOTPCREL(%rip), %r8
	cmpq	(%r8), %rax
	jae	LBB0_1
## %bb.2:
	movq	16(%rdi), %rcx
	movq	%rsi, (%rcx,%rax,8)
	movq	8(%rdi), %rcx
	movq	%rdx, (%rcx,%rax,8)
	incq	%rax
	movq	%rax, (%rdi)
	cmpq	(%r8), %rax
	jae	LBB0_3
## %bb.4:
	movq	_ISC_R_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	movq	_ISC_R_NOMORE@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_ISC_R_QUEUEFULL@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RND_EVENTQSIZE,8,3             ## @RND_EVENTQSIZE
	.comm	_ISC_R_NOMORE,4,2               ## @ISC_R_NOMORE
	.comm	_ISC_R_QUEUEFULL,4,2            ## @ISC_R_QUEUEFULL
	.comm	_ISC_R_SUCCESS,4,2              ## @ISC_R_SUCCESS
	.no_dead_strip	_addsample
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function addsample
_addsample:                             ; @addsample
	.cfi_startproc
; %bb.0:
	ldr	x9, [x0]
Lloh0:
	adrp	x8, _RND_EVENTQSIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RND_EVENTQSIZE@GOTPAGEOFF]
	ldr	x10, [x8]
	cmp	x9, x10
	b.hs	LBB0_2
; %bb.1:
	ldr	x10, [x0, #16]
	lsl	x11, x9, #3
	str	x1, [x10, x11]
	ldr	x10, [x0, #8]
	str	x2, [x10, x11]
	add	x9, x9, #1
	str	x9, [x0]
	ldr	x8, [x8]
Lloh2:
	adrp	x10, _ISC_R_QUEUEFULL@GOTPAGE
Lloh3:
	ldr	x10, [x10, _ISC_R_QUEUEFULL@GOTPAGEOFF]
Lloh4:
	adrp	x11, _ISC_R_SUCCESS@GOTPAGE
Lloh5:
	ldr	x11, [x11, _ISC_R_SUCCESS@GOTPAGEOFF]
	cmp	x9, x8
	csel	x8, x11, x10, lo
	ldr	w0, [x8]
	ret
LBB0_2:
Lloh6:
	adrp	x8, _ISC_R_NOMORE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ISC_R_NOMORE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_RND_EVENTQSIZE,8,3             ; @RND_EVENTQSIZE
	.comm	_ISC_R_NOMORE,4,2               ; @ISC_R_NOMORE
	.comm	_ISC_R_QUEUEFULL,4,2            ; @ISC_R_QUEUEFULL
	.comm	_ISC_R_SUCCESS,4,2              ; @ISC_R_SUCCESS
	.no_dead_strip	_addsample
.subsections_via_symbols
