	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acquire_first_free_pipe
_acquire_first_free_pipe:               ## @acquire_first_free_pipe
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rsi), %r8d
	movl	$-1, %eax
	testl	%r8d, %r8d
	jle	LBB0_7
## %bb.1:
	movq	(%rdi), %rcx
	addq	$52, %rcx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, -44(%rcx)
	je	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdi
	addq	$56, %rcx
	cmpq	%rdi, %r8
	jne	LBB0_2
LBB0_7:
	popq	%rbp
	retq
LBB0_3:
	movq	56(%rsi), %rax
	movl	(%rax,%rdi,4), %eax
	movl	%eax, (%rcx)
	movq	48(%rsi), %rax
	movl	(%rax,%rdi,4), %eax
	movl	%eax, -8(%rcx)
	movq	40(%rsi), %rax
	movl	(%rax,%rdi,4), %eax
	movl	%eax, -12(%rcx)
	movq	32(%rsi), %rax
	movl	(%rax,%rdi,4), %eax
	movl	%eax, -16(%rcx)
	movq	24(%rsi), %rax
	movl	(%rax,%rdi,4), %eax
	movl	%eax, -20(%rcx)
	movq	8(%rsi), %r8
	movq	(%r8,%rdi,8), %rax
	movq	%rax, -28(%rcx)
	movq	16(%rsi), %rax
	movl	(%rax,%rdi,4), %eax
	movl	%eax, -4(%rcx)
	movq	(%r8,%rdi,8), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	(%rax), %eax
	movl	%eax, -36(%rcx)
LBB0_5:
	movl	%edi, -52(%rcx)
	movq	%rdx, -44(%rcx)
	movl	%edi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_acquire_first_free_pipe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acquire_first_free_pipe
_acquire_first_free_pipe:               ; @acquire_first_free_pipe
	.cfi_startproc
; %bb.0:
	ldr	w9, [x1]
	cmp	w9, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x8, x0
	mov	x0, #0
	ldr	x8, [x8]
	add	x8, x8, #32
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x10, [x8, #-24]
	cbz	x10, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, x0, #1
	add	x8, x8, #56
	cmp	x9, x0
	b.ne	LBB0_2
LBB0_4:
	mov	w0, #-1
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_5:
	ldr	x9, [x1, #56]
	lsl	x10, x0, #2
	ldr	w9, [x9, x10]
	str	w9, [x8, #20]
	ldp	x11, x9, [x1, #40]
	ldr	w9, [x9, x10]
	str	w9, [x8, #12]
	ldr	w9, [x11, x10]
	str	w9, [x8, #8]
	ldp	x11, x9, [x1, #24]
	ldr	w9, [x9, x10]
	str	w9, [x8, #4]
	ldr	w9, [x11, x10]
	str	w9, [x8]
	lsl	x9, x0, #3
	ldp	x11, x12, [x1, #8]
	ldr	x13, [x11, x9]
	stur	x13, [x8, #-8]
	ldr	w10, [x12, x10]
	str	w10, [x8, #16]
	ldr	x9, [x11, x9]
	cbz	x9, LBB0_7
; %bb.6:
	ldr	w9, [x9]
	stur	w9, [x8, #-16]
LBB0_7:
	stur	w0, [x8, #-32]
	stur	x2, [x8, #-24]
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_acquire_first_free_pipe
.subsections_via_symbols
