	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ocrdma_bind_eq
_ocrdma_bind_eq:                        ## @ocrdma_bind_eq
	.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
	leaq	4(%rdi), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	8(%r15), %rax
	movl	(%rax), %ecx
	movl	4(%rax), %r12d
	movl	(%r15), %edx
	testl	%edx, %edx
	jle	LBB0_1
## %bb.2:
	decq	%rdx
	xorl	%edi, %edi
	movl	%ecx, %ebx
	xorl	%esi, %esi
	cmpl	%ebx, %ecx
	jge	LBB0_5
	.p2align	4, 0x90
LBB0_4:
	movl	4(%rax,%rdi,8), %r12d
	movl	%edi, %esi
	movl	%ecx, %ebx
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rdi, %rdx
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	8(%rax,%rdi,8), %ecx
	incq	%rdi
	cmpl	%ebx, %ecx
	jl	LBB0_4
	jmp	LBB0_5
LBB0_7:
	movslq	%esi, %rcx
	movl	(%rax,%rcx,8), %ecx
	jmp	LBB0_8
LBB0_1:
	xorl	%esi, %esi
LBB0_8:
	movslq	%esi, %rdx
	incl	%ecx
	movl	%ecx, (%rax,%rdx,8)
	movq	%r14, %rdi
	callq	_mutex_unlock
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ocrdma_bind_eq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ocrdma_bind_eq
_ocrdma_bind_eq:                        ; @ocrdma_bind_eq
	.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	x21, x0
	add	x19, x0, #4
	mov	x0, x19
	bl	_mutex_lock
	ldr	x8, [x21, #8]
	ldp	w9, w20, [x8]
	ldr	w13, [x21]
	cmp	w13, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x11, #0
	mov	w10, #0
	add	x12, x8, #8
	sub	x13, x13, #1
	mov	x14, x9
	cmp	w9, w14
	b.ge	LBB0_3
LBB0_2:
	ldur	w20, [x12, #-4]
	mov	x10, x11
	mov	x14, x9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x13, x11
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x12], #8
	add	x11, x11, #1
	cmp	w9, w14
	b.lt	LBB0_2
	b	LBB0_3
LBB0_5:
	sbfiz	x9, x10, #3, #32
	ldr	w9, [x8, x9]
	b	LBB0_7
LBB0_6:
	mov	w10, #0
LBB0_7:
                                        ; kill: def $w10 killed $w10 killed $x10 def $x10
	sbfiz	x10, x10, #3, #32
	add	w9, w9, #1
	str	w9, [x8, x10]
	mov	x0, x19
	bl	_mutex_unlock
	mov	x0, x20
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ocrdma_bind_eq
.subsections_via_symbols
