	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function GetFifoForId
_GetFifoForId:                          ## @GetFifoForId
	.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	%rdi, %r14
	movq	16(%rdi), %r13
	movq	32(%r13), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_4
## %bb.1:
	cmpq	$0, 8(%r13)
	je	LBB0_12
## %bb.2:
	cmpq	$0, 8(%r14)
	jne	LBB0_15
LBB0_12:
	movq	24(%r13), %rax
	movq	(%r14), %rcx
	movq	%rax, (%rcx)
	movq	(%r14), %rax
	addq	$8, %rax
	jmp	LBB0_13
LBB0_4:
	movl	%esi, %r12d
	movl	16(%r13), %edi
	callq	_hb_list_count
	testl	%eax, %eax
	jle	LBB0_14
## %bb.5:
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	incl	%ebx
	movl	16(%r13), %edi
	callq	_hb_list_count
	cmpl	%eax, %ebx
	jge	LBB0_9
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	16(%r13), %edi
	movl	%ebx, %esi
	callq	_hb_list_item
	cmpl	%r12d, (%rax)
	jne	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	8(%rax), %rax
	movq	(%r14), %rcx
	movslq	%r15d, %rdx
	incl	%r15d
	movq	%rax, (%rcx,%rdx,8)
	jmp	LBB0_6
LBB0_9:
	testl	%r15d, %r15d
	je	LBB0_14
## %bb.10:
	movslq	%r15d, %rax
LBB0_11:
	shlq	$3, %rax
	addq	(%r14), %rax
LBB0_13:
	movq	$0, (%rax)
	movq	(%r14), %r15
	jmp	LBB0_16
LBB0_14:
	cmpq	$0, 8(%r13)
	je	LBB0_17
LBB0_15:
	xorl	%r15d, %r15d
LBB0_16:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movl	(%r13), %edi
	callq	_hb_list_count
	xorl	%r15d, %r15d
	testl	%eax, %eax
	jle	LBB0_16
## %bb.18:
	xorl	%ebx, %ebx
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_20 Depth=1
	incl	%ebx
	movl	(%r13), %edi
	callq	_hb_list_count
	cmpl	%eax, %ebx
	jge	LBB0_22
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	movl	%ebx, %esi
	callq	_hb_list_item
	cmpl	%r12d, (%rax)
	jne	LBB0_19
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	8(%rax), %rax
	movq	(%r14), %rcx
	movslq	%r15d, %rdx
	incl	%r15d
	movq	%rax, (%rcx,%rdx,8)
	jmp	LBB0_19
LBB0_22:
	testl	%r15d, %r15d
	je	LBB0_15
## %bb.23:
	movslq	%r15d, %rax
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_GetFifoForId
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function GetFifoForId
_GetFifoForId:                          ; @GetFifoForId
	.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, x0
	ldr	x22, [x0, #16]
	ldr	x8, [x22, #32]
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_4
; %bb.1:
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_13
LBB0_3:
	ldr	x8, [x22, #24]
	ldr	x9, [x19]
	str	x8, [x9]
	ldr	x8, [x19]
	add	x8, x8, #8
	b	LBB0_11
LBB0_4:
	mov	x20, x1
	ldr	w0, [x22, #16]
	bl	_hb_list_count
	cmp	w0, #1
	b.lt	LBB0_12
; %bb.5:
	mov	w23, #0
	mov	w21, #0
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	w21, w21, #1
	ldr	w0, [x22, #16]
	bl	_hb_list_count
	cmp	w21, w0
	b.ge	LBB0_9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22, #16]
	mov	x1, x21
	bl	_hb_list_item
	ldr	w8, [x0]
	cmp	w8, w20
	b.ne	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x0, #8]
	ldr	x9, [x19]
	str	x8, [x9, w23, sxtw #3]
	add	w23, w23, #1
	b	LBB0_6
LBB0_9:
	cbz	w23, LBB0_12
LBB0_10:
	ldr	x8, [x19]
	add	x8, x8, w23, sxtw #3
LBB0_11:
	str	xzr, [x8]
	ldr	x0, [x19]
	b	LBB0_14
LBB0_12:
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_15
LBB0_13:
	mov	x0, #0
LBB0_14:
	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
LBB0_15:
	ldr	w0, [x22]
	bl	_hb_list_count
	cmp	w0, #1
	b.lt	LBB0_13
; %bb.16:
	mov	w23, #0
	mov	w21, #0
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	add	w21, w21, #1
	ldr	w0, [x22]
	bl	_hb_list_count
	cmp	w21, w0
	b.ge	LBB0_20
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22]
	mov	x1, x21
	bl	_hb_list_item
	ldr	w8, [x0]
	cmp	w8, w20
	b.ne	LBB0_17
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	x8, [x0, #8]
	ldr	x9, [x19]
	str	x8, [x9, w23, sxtw #3]
	add	w23, w23, #1
	b	LBB0_17
LBB0_20:
	cbnz	w23, LBB0_10
	b	LBB0_13
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_GetFifoForId
.subsections_via_symbols
