	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function concat_lock
_concat_lock:                           ## @concat_lock
	.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
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r13
	callq	_CONCAT
	movq	_EINVAL@GOTPCREL(%rip), %r14
	xorl	%ecx, %ecx
	subl	(%r14), %ecx
	leaq	(%rbx,%r12), %rdx
	cmpq	(%r13), %rdx
	jg	LBB0_10
## %bb.1:
	movq	%rbx, %r8
	movq	%rax, %r15
	movl	(%rax), %ebx
	testl	%ebx, %ebx
	jle	LBB0_10
## %bb.2:
	xorl	%r13d, %r13d
	movq	%r12, %rdx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r13
	movslq	%ebx, %rsi
	movq	%rdx, %r12
	cmpq	%rsi, %r13
	jge	LBB0_10
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rsi
	movq	(%rsi,%r13,8), %rdi
	movq	(%rdi), %rsi
	subq	%rsi, %rdx
	jge	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%r12,%r8), %rax
	movq	%rsi, %rbx
	subq	%r12, %rbx
	cmpq	%rsi, %rax
	cmovleq	%r8, %rbx
	movq	%r12, %rsi
	movq	%rbx, %rdx
	movq	%r8, %r12
	callq	*8(%rdi)
	testl	%eax, %eax
	jne	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	subq	%rbx, %r12
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %r8
	xorl	%ecx, %ecx
	subl	(%r14), %ecx
	movl	(%r15), %ebx
	xorl	%edx, %edx
	jmp	LBB0_9
LBB0_5:
	movl	%eax, %ecx
	jmp	LBB0_10
LBB0_7:
	xorl	%ecx, %ecx
LBB0_10:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_concat_lock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function concat_lock
_concat_lock:                           ; @concat_lock
	.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	x19, x2
	mov	x21, x1
	mov	x22, x0
	bl	_CONCAT
	mov	x20, x0
Lloh0:
	adrp	x23, _EINVAL@GOTPAGE
Lloh1:
	ldr	x23, [x23, _EINVAL@GOTPAGEOFF]
	ldr	w8, [x23]
	neg	w0, w8
	ldr	x8, [x22]
	add	x9, x19, x21
	cmp	x9, x8
	b.gt	LBB0_10
; %bb.1:
	ldr	w9, [x20]
	cmp	w9, #1
	b.lt	LBB0_10
; %bb.2:
	mov	x24, #0
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x21, x11
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x24, x24, #1
	cmp	x24, w9, sxtw
	b.ge	LBB0_10
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	x8, [x8, x24, lsl #3]
	ldr	x10, [x8]
	subs	x11, x21, x10
	b.ge	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	x9, x10, x21
	add	x11, x21, x19
	cmp	x11, x10
	csel	x22, x9, x19, gt
	ldr	x9, [x8, #8]
	mov	x0, x8
	mov	x1, x21
	mov	x2, x22
	blr	x9
	cbnz	w0, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	subs	x19, x19, x22
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x21, #0
	ldr	w8, [x23]
	neg	w0, w8
	ldr	w9, [x20]
	b	LBB0_4
LBB0_9:
	mov	w0, #0
LBB0_10:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_concat_lock
.subsections_via_symbols
