	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cim_ibq_open
_cim_ibq_open:                          ## @cim_ibq_open
	.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	%rsi, %r14
	movq	%rdi, %r15
	movl	(%rdi), %ebx
	movq	_CIM_IBQ_SIZE@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_cimq_show@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%r12d, %r12d
	movq	%r14, %rdi
	movl	$16, %edx
	xorl	%ecx, %ecx
	callq	_seq_open_tab
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	%ebx, %edi
	andl	$-8, %edi
	andl	$7, %ebx
	movq	(%rax), %rdx
	movl	(%r13), %ecx
	shll	$2, %ecx
	movl	%ebx, %esi
	callq	_t4_read_cim_ibq
	testl	%eax, %eax
	jns	LBB0_4
## %bb.3:
	movl	%eax, %ebx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_seq_release_private
	movl	%ebx, %r12d
	jmp	LBB0_4
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_4:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CIM_IBQ_SIZE,4,2               ## @CIM_IBQ_SIZE
	.comm	_cimq_show,4,2                  ## @cimq_show
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_cim_ibq_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cim_ibq_open
_cim_ibq_open:                          ; @cim_ibq_open
	.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	x19, x1
	mov	x20, x0
	ldr	w22, [x0]
Lloh0:
	adrp	x21, _CIM_IBQ_SIZE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _CIM_IBQ_SIZE@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh2:
	adrp	x8, _cimq_show@GOTPAGE
Lloh3:
	ldr	x8, [x8, _cimq_show@GOTPAGEOFF]
Lloh4:
	ldr	w4, [x8]
	mov	x0, x19
	mov	w2, #16
	mov	w3, #0
	bl	_seq_open_tab
	cbz	x0, LBB0_3
; %bb.1:
	and	x8, x22, #0xfffffff8
	and	w1, w22, #0x7
	ldr	x2, [x0]
	ldr	w9, [x21]
	lsl	w3, w9, #2
	mov	x0, x8
	bl	_t4_read_cim_ibq
	tbnz	w0, #31, LBB0_4
; %bb.2:
	mov	w21, #0
	b	LBB0_5
LBB0_3:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_5
LBB0_4:
	mov	x21, x0
	mov	x0, x20
	mov	x1, x19
	bl	_seq_release_private
LBB0_5:
	mov	x0, x21
	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
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_CIM_IBQ_SIZE,4,2               ; @CIM_IBQ_SIZE
	.comm	_cimq_show,4,2                  ; @cimq_show
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_cim_ibq_open
.subsections_via_symbols
