	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXPATHLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	xorl	%eax, %eax
	callq	_library_path
	movl	%eax, %edi
	callq	_strdup
	movq	%rax, %rbx
	movq	%rax, -64(%rbp)
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_err
LBB0_2:
	movq	%rbx, %rdi
	movl	$58, %esi
	callq	_strchr
	movq	%rax, %rcx
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rax
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	leaq	-64(%rbp), %rdi
	callq	_strsep
LBB0_4:
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:
	movq	_F_OK@GOTPCREL(%rip), %rbx
	movq	_ENOENT@GOTPCREL(%rip), %r13
	leaq	-64(%rbp), %r15
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	_class_name@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r8
	movq	%r12, %rdi
	movl	%r14d, %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%rax, %rcx
	callq	_snprintf
	movl	(%rbx), %esi
	movq	%r12, %rdi
	callq	_access
	cmpl	$-1, %eax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	(%r13), %rax
	jne	LBB0_20
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strsep
	testq	%rax, %rax
	jne	LBB0_6
	jmp	LBB0_21
LBB0_9:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	movq	_RTLD_NOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_dlopen
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	xorl	%eax, %eax
	callq	_dlerror
	leaq	L_.str.4(%rip), %rsi
	movl	%r15d, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_errx
LBB0_11:
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	callq	_dlsym
	testq	%rax, %rax
	je	LBB0_12
## %bb.14:
	movq	(%rax), %rax
	movq	_G_LIB_VERSION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_16
## %bb.15:
	movq	%r14, %rdi
	callq	_dlclose
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	xorl	%eax, %eax
	callq	_getprogname
	leaq	L_.str.7(%rip), %rsi
	movl	%r15d, %edi
	movl	%eax, %edx
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_errx
LBB0_16:
	leaq	L_.str.8(%rip), %rsi
	movq	%r14, %rdi
	callq	_dlsym
	movq	_version@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_17
## %bb.18:
	leaq	L_.str.9(%rip), %rsi
	movq	%r14, %rdi
	callq	_dlsym
	movq	_class_commands@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	jne	LBB0_22
## %bb.19:
	xorl	%eax, %eax
	callq	_dlerror
	leaq	L_.str.6(%rip), %rdi
	leaq	L_.str.9(%rip), %rsi
	jmp	LBB0_13
LBB0_20:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_err
LBB0_21:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
LBB0_22:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_24
## %bb.23:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	callq	___stack_chk_fail
LBB0_12:
	xorl	%eax, %eax
	callq	_dlerror
	leaq	L_.str.6(%rip), %rdi
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_13
LBB0_17:
	xorl	%eax, %eax
	callq	_dlerror
	leaq	L_.str.6(%rip), %rdi
	leaq	L_.str.8(%rip), %rsi
LBB0_13:
	movl	%eax, %edx
	callq	_warnx
	movq	%r14, %rdi
	callq	_dlclose
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXPATHLEN,4,2                 ## @MAXPATHLEN
	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Not enough memory for library path"

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

L_.str.2:                               ## @.str.2
	.asciz	"%s/geom_%s.so"

	.comm	_class_name,8,3                 ## @class_name
	.comm	_F_OK,4,2                       ## @F_OK
	.comm	_errno,8,3                      ## @errno
	.comm	_ENOENT,8,3                     ## @ENOENT
L_.str.3:                               ## @.str.3
	.asciz	"Cannot access library"

	.comm	_RTLD_NOW,4,2                   ## @RTLD_NOW
L_.str.4:                               ## @.str.4
	.asciz	"Cannot open library: %s."

L_.str.5:                               ## @.str.5
	.asciz	"lib_version"

L_.str.6:                               ## @.str.6
	.asciz	"Cannot find symbol %s: %s."

	.comm	_G_LIB_VERSION,8,3              ## @G_LIB_VERSION
L_.str.7:                               ## @.str.7
	.asciz	"%s and %s are not synchronized."

L_.str.8:                               ## @.str.8
	.asciz	"version"

	.comm	_version,8,3                    ## @version
L_.str.9:                               ## @.str.9
	.asciz	"class_commands"

	.comm	_class_commands,8,3             ## @class_commands
	.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:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MAXPATHLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXPATHLEN@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	mov	x9, x20
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x20, #15
	and	x9, x9, #0x1fffffff0
	sub	x19, x8, x9
	mov	sp, x19
	bl	_library_path
	bl	_strdup
	mov	x21, x0
	stur	x0, [x29, #-96]
	cbnz	x0, LBB0_2
; %bb.1:
Lloh8:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_err
LBB0_2:
	mov	x0, x21
	mov	w1, #58
	bl	_strchr
	mov	x3, x21
	cbz	x0, LBB0_4
; %bb.3:
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	sub	x0, x29, #96
	bl	_strsep
	mov	x3, x0
LBB0_4:
	cbz	x3, LBB0_9
; %bb.5:
Lloh15:
	adrp	x24, _class_name@GOTPAGE
Lloh16:
	ldr	x24, [x24, _class_name@GOTPAGEOFF]
Lloh17:
	adrp	x22, l_.str.2@PAGE
Lloh18:
	add	x22, x22, l_.str.2@PAGEOFF
Lloh19:
	adrp	x25, _F_OK@GOTPAGE
Lloh20:
	ldr	x25, [x25, _F_OK@GOTPAGEOFF]
Lloh21:
	adrp	x26, _errno@GOTPAGE
Lloh22:
	ldr	x26, [x26, _errno@GOTPAGEOFF]
Lloh23:
	adrp	x27, _ENOENT@GOTPAGE
Lloh24:
	ldr	x27, [x27, _ENOENT@GOTPAGEOFF]
Lloh25:
	adrp	x23, l_.str.1@PAGE
Lloh26:
	add	x23, x23, l_.str.1@PAGEOFF
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x4, [x24]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	bl	_snprintf
	ldr	w1, [x25]
	mov	x0, x19
	bl	_access
	cmn	w0, #1
	b.ne	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x26]
	ldr	x9, [x27]
	cmp	x8, x9
	b.ne	LBB0_17
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	x0, x29, #96
	mov	x1, x23
	bl	_strsep
	mov	x3, x0
	cbnz	x0, LBB0_6
	b	LBB0_18
LBB0_9:
	mov	x0, x21
	bl	_free
Lloh27:
	adrp	x8, _RTLD_NOW@GOTPAGE
Lloh28:
	ldr	x8, [x8, _RTLD_NOW@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_dlopen
	mov	x20, x0
	cbnz	x0, LBB0_11
; %bb.10:
Lloh30:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh32:
	ldr	w21, [x8]
	bl	_dlerror
	mov	x2, x0
Lloh33:
	adrp	x1, l_.str.4@PAGE
Lloh34:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_errx
LBB0_11:
Lloh35:
	adrp	x1, l_.str.5@PAGE
Lloh36:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_dlsym
	cbz	x0, LBB0_22
; %bb.12:
	ldr	x8, [x0]
Lloh37:
	adrp	x9, _G_LIB_VERSION@GOTPAGE
Lloh38:
	ldr	x9, [x9, _G_LIB_VERSION@GOTPAGEOFF]
Lloh39:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_14
; %bb.13:
	mov	x0, x20
	bl	_dlclose
Lloh40:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh41:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh42:
	ldr	w21, [x8]
	bl	_getprogname
	mov	x2, x0
	str	x19, [sp, #-16]!
Lloh43:
	adrp	x1, l_.str.7@PAGE
Lloh44:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x21
	bl	_errx
	add	sp, sp, #16
LBB0_14:
Lloh45:
	adrp	x1, l_.str.8@PAGE
Lloh46:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x20
	bl	_dlsym
Lloh47:
	adrp	x8, _version@GOTPAGE
Lloh48:
	ldr	x8, [x8, _version@GOTPAGEOFF]
Lloh49:
	str	x0, [x8]
	cbz	x0, LBB0_23
; %bb.15:
Lloh50:
	adrp	x1, l_.str.9@PAGE
Lloh51:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x20
	bl	_dlsym
Lloh52:
	adrp	x8, _class_commands@GOTPAGE
Lloh53:
	ldr	x8, [x8, _class_commands@GOTPAGEOFF]
Lloh54:
	str	x0, [x8]
	cbnz	x0, LBB0_19
; %bb.16:
	bl	_dlerror
	mov	x2, x0
Lloh55:
	adrp	x0, l_.str.6@PAGE
Lloh56:
	add	x0, x0, l_.str.6@PAGEOFF
Lloh57:
	adrp	x1, l_.str.9@PAGE
Lloh58:
	add	x1, x1, l_.str.9@PAGEOFF
	b	LBB0_24
LBB0_17:
Lloh59:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh60:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh61:
	ldr	w0, [x8]
Lloh62:
	adrp	x1, l_.str.3@PAGE
Lloh63:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_err
LBB0_18:
	mov	x0, x21
	bl	_free
LBB0_19:
	ldur	x8, [x29, #-88]
Lloh64:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh65:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh66:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.20:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_21:
	bl	___stack_chk_fail
LBB0_22:
	bl	_dlerror
	mov	x2, x0
Lloh67:
	adrp	x0, l_.str.6@PAGE
Lloh68:
	add	x0, x0, l_.str.6@PAGEOFF
Lloh69:
	adrp	x1, l_.str.5@PAGE
Lloh70:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_24
LBB0_23:
	bl	_dlerror
	mov	x2, x0
Lloh71:
	adrp	x0, l_.str.6@PAGE
Lloh72:
	add	x0, x0, l_.str.6@PAGEOFF
Lloh73:
	adrp	x1, l_.str.8@PAGE
Lloh74:
	add	x1, x1, l_.str.8@PAGEOFF
LBB0_24:
	bl	_warnx
	mov	x0, x20
	bl	_dlclose
Lloh75:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh76:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh77:
	ldr	w0, [x8]
	bl	_exit
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotStr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotStr	Lloh52, Lloh53, Lloh54
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXPATHLEN,4,2                 ; @MAXPATHLEN
	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Not enough memory for library path"

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

l_.str.2:                               ; @.str.2
	.asciz	"%s/geom_%s.so"

	.comm	_class_name,8,3                 ; @class_name
	.comm	_F_OK,4,2                       ; @F_OK
	.comm	_errno,8,3                      ; @errno
	.comm	_ENOENT,8,3                     ; @ENOENT
l_.str.3:                               ; @.str.3
	.asciz	"Cannot access library"

	.comm	_RTLD_NOW,4,2                   ; @RTLD_NOW
l_.str.4:                               ; @.str.4
	.asciz	"Cannot open library: %s."

l_.str.5:                               ; @.str.5
	.asciz	"lib_version"

l_.str.6:                               ; @.str.6
	.asciz	"Cannot find symbol %s: %s."

	.comm	_G_LIB_VERSION,8,3              ; @G_LIB_VERSION
l_.str.7:                               ; @.str.7
	.asciz	"%s and %s are not synchronized."

l_.str.8:                               ; @.str.8
	.asciz	"version"

	.comm	_version,8,3                    ; @version
l_.str.9:                               ; @.str.9
	.asciz	"class_commands"

	.comm	_class_commands,8,3             ; @class_commands
	.no_dead_strip	_load_library
.subsections_via_symbols
