	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwrap_buf_add                  ## -- Begin function iwrap_buf_add
	.p2align	4, 0x90
_iwrap_buf_add:                         ## @iwrap_buf_add
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_snd_pos@GOTPCREL(%rip), %rax
	movslq	(%rax), %rcx
	movq	_MUX_BUF_SIZE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	decl	%edx
	cmpl	%edx, %ecx
	jge	LBB0_2
## %bb.1:
	movq	_buf@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	leal	1(%rcx), %esi
	movl	%esi, (%rax)
	movl	%edi, (%rdx,%rcx,4)
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_snd_pos,4,2                    ## @snd_pos
	.comm	_MUX_BUF_SIZE,4,2               ## @MUX_BUF_SIZE
	.comm	_buf,8,3                        ## @buf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwrap_buf_add                  ; -- Begin function iwrap_buf_add
	.p2align	2
_iwrap_buf_add:                         ; @iwrap_buf_add
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x9, _snd_pos@GOTPAGE
Lloh1:
	ldr	x9, [x9, _snd_pos@GOTPAGEOFF]
	ldrsw	x8, [x9]
Lloh2:
	adrp	x10, _MUX_BUF_SIZE@GOTPAGE
Lloh3:
	ldr	x10, [x10, _MUX_BUF_SIZE@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
	sub	w10, w10, #1
	cmp	w8, w10
	b.ge	LBB0_2
; %bb.1:
Lloh5:
	adrp	x10, _buf@GOTPAGE
Lloh6:
	ldr	x10, [x10, _buf@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	add	w11, w8, #1
	str	w11, [x9]
	str	w0, [x10, x8, lsl #2]
LBB0_2:
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_snd_pos,4,2                    ; @snd_pos
	.comm	_MUX_BUF_SIZE,4,2               ; @MUX_BUF_SIZE
	.comm	_buf,8,3                        ; @buf
.subsections_via_symbols
