	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function load_library
_load_library:                          ## @load_library
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movq	%rdx, %rbx
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_strlen
	movl	%eax, %r14d
	testq	%rbx, %rbx
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_strlen
	movl	%eax, %r15d
	jmp	LBB0_3
LBB0_1:
	xorl	%r15d, %r15d
LBB0_3:
	addl	%r14d, %r15d
	xorl	%edi, %edi
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	cmpl	$2, %r12d
	setb	%dil
	callq	_vc_container_assert
	movq	_DL_PATH_PREFIX@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_strlen
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %r12
	movq	%r12, %rdi
	callq	_strlen
	movl	%eax, %r14d
	leaq	L_.str.3(%rip), %rdi
	callq	_strlen
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_MAX
	movl	%eax, %r14d
	movq	_DL_SUFFIX@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	addl	%r15d, %ebx
	addl	%r14d, %ebx
	leal	(%rax,%rbx), %r13d
	incl	%r13d
	movl	%r13d, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rdi
	callq	_strlen
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %r14
	movq	%r14, %rdi
	callq	_strlen
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_MAX
                                        ## kill: def $eax killed $eax def $rax
	leal	(%r15,%rax), %ebx
	addl	$2, %ebx
	movl	%ebx, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	movq	_DL_PATH_PREFIX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%r14, %rsi
	leaq	L_.str.5(%rip), %r14
	cmovneq	%rax, %r14
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	leaq	L_.str.3(%rip), %rax
	cmoveq	%rax, %r12
	leaq	L_.str.4(%rip), %rdx
	leaq	L_.str(%rip), %r15
	cmoveq	%rsi, %r15
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	movq	%r12, %r8
	movq	%r14, %r9
	xorl	%eax, %eax
	movl	%ebx, %r13d
	movq	_DL_SUFFIX@GOTPCREL(%rip), %rbx
	pushq	(%rbx)
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	pushq	%r12
	callq	_snprintf
	addq	$16, %rsp
	leaq	L_.str.6(%rip), %rdx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movq	%r12, %rcx
	movq	%r14, %r8
	movq	%r15, %r13
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r15, %r9
	xorl	%eax, %eax
	callq	_snprintf
	movq	_VCOS_DL_NOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_vcos_dlopen
	testq	%rax, %rax
	movq	%rbx, %r15
	je	LBB0_12
## %bb.8:
	movq	%rax, %r12
	movq	%rax, %rdi
	movq	%r13, %rsi
	callq	_vcos_dlsym
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_vcos_dlsym
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_11
LBB0_10:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%r12, (%rax)
	jmp	LBB0_13
LBB0_4:
	xorl	%ebx, %ebx
	jmp	LBB0_15
LBB0_6:
	xorl	%ebx, %ebx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_14
LBB0_11:
	movq	%r12, %rdi
	callq	_vcos_dlclose
LBB0_12:
	xorl	%ebx, %ebx
LBB0_13:
	movq	%r15, %rdi
	callq	_free
LBB0_14:
	movq	%r14, %rdi
	callq	_free
LBB0_15:
	movq	%rbx, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"reader_open"

L_.str.1:                               ## @.str.1
	.asciz	"writer_open"

	.comm	_DL_PATH_PREFIX,8,3             ## @DL_PATH_PREFIX
L_.str.2:                               ## @.str.2
	.asciz	"reader_"

L_.str.3:                               ## @.str.3
	.asciz	"writer_"

	.comm	_DL_SUFFIX,8,3                  ## @DL_SUFFIX
L_.str.4:                               ## @.str.4
	.asciz	"%s%s%s%s%s"

L_.str.5:                               ## @.str.5
	.space	1

L_.str.6:                               ## @.str.6
	.asciz	"%s_%s%s"

	.comm	_VCOS_DL_NOW,4,2                ## @VCOS_DL_NOW
	.comm	_DL_PREFIX_RD,8,3               ## @DL_PREFIX_RD
	.comm	_DL_PREFIX_WR,8,3               ## @DL_PREFIX_WR
	.no_dead_strip	_load_library
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function load_library
_load_library:                          ; @load_library
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x3
	mov	x23, x2
	mov	x21, x1
	mov	x24, x0
	mov	x0, x1
	bl	_strlen
	mov	x19, x0
	cbz	x23, LBB0_2
; %bb.1:
	mov	x0, x23
	bl	_strlen
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	add	w28, w0, w19
	cmp	w22, #2
	cset	w0, lo
	bl	_vc_container_assert
Lloh0:
	adrp	x8, _DL_PATH_PREFIX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DL_PATH_PREFIX@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	bl	_strlen
	mov	x19, x0
Lloh3:
	adrp	x0, l_.str.2@PAGE
Lloh4:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_strlen
	mov	x20, x0
Lloh5:
	adrp	x26, l_.str.3@PAGE
Lloh6:
	add	x26, x26, l_.str.3@PAGEOFF
	mov	x0, x26
	bl	_strlen
	mov	x1, x0
	mov	x0, x20
	bl	_MAX
	mov	x20, x0
Lloh7:
	adrp	x25, _DL_SUFFIX@GOTPAGE
Lloh8:
	ldr	x25, [x25, _DL_SUFFIX@GOTPAGEOFF]
	ldr	x0, [x25]
	bl	_strlen
	add	w8, w28, w19
	add	w8, w8, w20
	add	w8, w8, w0
	add	w27, w8, #1
	mov	x0, x27
	bl	_malloc
	cbz	x0, LBB0_9
; %bb.4:
	mov	x20, x0
	str	x24, [sp, #24]                  ; 8-byte Folded Spill
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_strlen
	mov	x24, x0
Lloh11:
	adrp	x19, l_.str.1@PAGE
Lloh12:
	add	x19, x19, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_strlen
	mov	x1, x0
	mov	x0, x24
	bl	_MAX
	add	w8, w28, w0
	add	w28, w8, #2
	mov	x0, x28
	bl	_malloc
	cbz	x0, LBB0_10
; %bb.5:
	mov	x24, x0
Lloh13:
	adrp	x8, l_.str.5@PAGE
Lloh14:
	add	x8, x8, l_.str.5@PAGEOFF
Lloh15:
	adrp	x9, _DL_PATH_PREFIX@GOTPAGE
Lloh16:
	ldr	x9, [x9, _DL_PATH_PREFIX@GOTPAGEOFF]
Lloh17:
	ldr	x3, [x9]
	cmp	x23, #0
	csel	x23, x8, x23, eq
	cmp	w22, #0
Lloh18:
	adrp	x8, l_.str.2@PAGE
Lloh19:
	add	x8, x8, l_.str.2@PAGEOFF
	csel	x4, x26, x8, eq
	ldr	x8, [x25]
	stp	x21, x8, [sp]
Lloh20:
	adrp	x2, l_.str.4@PAGE
Lloh21:
	add	x2, x2, l_.str.4@PAGEOFF
Lloh22:
	adrp	x8, l_.str@PAGE
Lloh23:
	add	x8, x8, l_.str@PAGEOFF
	csel	x19, x19, x8, eq
	mov	x0, x20
	mov	x1, x27
	mov	x5, x23
	bl	_snprintf
Lloh24:
	adrp	x2, l_.str.6@PAGE
Lloh25:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x24
	mov	x1, x28
	mov	x3, x21
	mov	x4, x23
	mov	x5, x19
	bl	_snprintf
Lloh26:
	adrp	x8, _VCOS_DL_NOW@GOTPAGE
Lloh27:
	ldr	x8, [x8, _VCOS_DL_NOW@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_vcos_dlopen
	cbz	x0, LBB0_11
; %bb.6:
	mov	x22, x0
	mov	x1, x19
	bl	_vcos_dlsym
	mov	x21, x0
	cbnz	x0, LBB0_8
; %bb.7:
	mov	x0, x22
	mov	x1, x24
	bl	_vcos_dlsym
	mov	x21, x0
	cbz	x0, LBB0_12
LBB0_8:
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	str	x22, [x8]
	b	LBB0_13
LBB0_9:
	mov	x21, #0
	b	LBB0_15
LBB0_10:
	mov	x21, #0
	b	LBB0_14
LBB0_11:
	mov	x21, #0
	b	LBB0_13
LBB0_12:
	mov	x0, x22
	bl	_vcos_dlclose
LBB0_13:
	mov	x0, x24
	bl	_free
LBB0_14:
	mov	x0, x20
	bl	_free
LBB0_15:
	mov	x0, x21
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"reader_open"

l_.str.1:                               ; @.str.1
	.asciz	"writer_open"

	.comm	_DL_PATH_PREFIX,8,3             ; @DL_PATH_PREFIX
l_.str.2:                               ; @.str.2
	.asciz	"reader_"

l_.str.3:                               ; @.str.3
	.asciz	"writer_"

	.comm	_DL_SUFFIX,8,3                  ; @DL_SUFFIX
l_.str.4:                               ; @.str.4
	.asciz	"%s%s%s%s%s"

l_.str.5:                               ; @.str.5
	.space	1

l_.str.6:                               ; @.str.6
	.asciz	"%s_%s%s"

	.comm	_VCOS_DL_NOW,4,2                ; @VCOS_DL_NOW
	.comm	_DL_PREFIX_RD,8,3               ; @DL_PREFIX_RD
	.comm	_DL_PREFIX_WR,8,3               ; @DL_PREFIX_WR
	.no_dead_strip	_load_library
.subsections_via_symbols
