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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cim_obq_open
_cim_obq_open:                          ; @cim_obq_open
	.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, x1
	mov	x20, x0
	ldr	w23, [x0]
Lloh0:
	adrp	x22, _CIM_OBQ_SIZE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _CIM_OBQ_SIZE@GOTPAGEOFF]
	ldr	w8, [x22]
	add	w8, w8, w8, lsl #1
	lsl	w1, w8, #1
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:
	mov	x21, x0
	and	x0, x23, #0xfffffff8
	and	w1, w23, #0x7
	ldr	x2, [x21]
	ldr	w8, [x22]
	add	w8, w8, w8, lsl #1
	lsl	w3, w8, #3
	bl	_t4_read_cim_obq
	mov	x22, x0
	tbnz	w0, #31, LBB0_4
; %bb.2:
	lsr	w1, w22, #2
	mov	x0, x21
	bl	_seq_tab_trim
	mov	w22, #0
	b	LBB0_5
LBB0_3:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_5
LBB0_4:
	mov	x0, x20
	mov	x1, x19
	bl	_seq_release_private
LBB0_5:
	mov	x0, x22
	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 AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_CIM_OBQ_SIZE,4,2               ; @CIM_OBQ_SIZE
	.comm	_cimq_show,4,2                  ; @cimq_show
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_cim_obq_open
.subsections_via_symbols
