	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__citrus_lookup_seq_open        ## -- Begin function _citrus_lookup_seq_open
	.p2align	4, 0x90
__citrus_lookup_seq_open:               ## @_citrus_lookup_seq_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	$24, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rax)
	movl	%r12d, (%rax)
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_seq_open_db
	movl	%eax, %r12d
	movq	_ENOENT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jne	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_seq_open_plain
	movl	%eax, %r12d
LBB0_4:
	testl	%r12d, %r12d
	je	LBB0_5
## %bb.6:
	movq	%rbx, %rdi
	callq	_free
	jmp	LBB0_7
LBB0_1:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	jmp	LBB0_7
LBB0_5:
	movq	%rbx, (%r14)
	xorl	%r12d, %r12d
LBB0_7:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,4,2                      ## @errno
	.comm	_ENOENT,4,2                     ## @ENOENT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__citrus_lookup_seq_open        ; -- Begin function _citrus_lookup_seq_open
	.p2align	2
__citrus_lookup_seq_open:               ; @_citrus_lookup_seq_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	x21, x2
	mov	x22, x1
	mov	x19, x0
	mov	w0, #24
	bl	_malloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
	stp	xzr, xzr, [x0, #8]
	str	w21, [x0]
	mov	x1, x22
	bl	_seq_open_db
	mov	x21, x0
Lloh0:
	adrp	x8, _ENOENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x20
	mov	x1, x22
	bl	_seq_open_plain
	mov	x21, x0
LBB0_3:
	cbz	w21, LBB0_6
; %bb.4:
	mov	x0, x20
	bl	_free
	b	LBB0_7
LBB0_5:
Lloh3:
	adrp	x8, _errno@GOTPAGE
Lloh4:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	b	LBB0_7
LBB0_6:
	str	x20, [x19]
LBB0_7:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,4,2                      ; @errno
	.comm	_ENOENT,4,2                     ; @ENOENT
.subsections_via_symbols
