	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function load_kod_library
_load_kod_library:                      ## @load_kod_library
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_operating_system@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdi
	popq	%rbp
	jmp	_error                          ## TAILCALL
LBB0_1:
	movq	_cisco_kod_open@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_gdb_kod_open@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_cisco_kod_request@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_gdb_kod_request@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_cisco_kod_close@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_gdb_kod_close@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cisco"

	.comm	_cisco_kod_open,4,2             ## @cisco_kod_open
	.comm	_gdb_kod_open,4,2               ## @gdb_kod_open
	.comm	_cisco_kod_request,4,2          ## @cisco_kod_request
	.comm	_gdb_kod_request,4,2            ## @gdb_kod_request
	.comm	_cisco_kod_close,4,2            ## @cisco_kod_close
	.comm	_gdb_kod_close,4,2              ## @gdb_kod_close
L_.str.1:                               ## @.str.1
	.asciz	"Unknown operating system: %s\n"

	.comm	_operating_system,4,2           ## @operating_system
	.comm	_ecos_kod_close,4,2             ## @ecos_kod_close
	.comm	_ecos_kod_open,4,2              ## @ecos_kod_open
	.comm	_ecos_kod_request,4,2           ## @ecos_kod_request
	.no_dead_strip	_load_kod_library
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function load_kod_library
_load_kod_library:                      ; @load_kod_library
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _operating_system@GOTPAGE
Lloh3:
	ldr	x8, [x8, _operating_system@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_error
LBB0_2:
Lloh7:
	adrp	x8, _cisco_kod_open@GOTPAGE
Lloh8:
	ldr	x8, [x8, _cisco_kod_open@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _gdb_kod_open@GOTPAGE
Lloh11:
	ldr	x9, [x9, _gdb_kod_open@GOTPAGEOFF]
Lloh12:
	str	w8, [x9]
Lloh13:
	adrp	x8, _cisco_kod_request@GOTPAGE
Lloh14:
	ldr	x8, [x8, _cisco_kod_request@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _gdb_kod_request@GOTPAGE
Lloh17:
	ldr	x9, [x9, _gdb_kod_request@GOTPAGEOFF]
Lloh18:
	str	w8, [x9]
Lloh19:
	adrp	x8, _cisco_kod_close@GOTPAGE
Lloh20:
	ldr	x8, [x8, _cisco_kod_close@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
Lloh22:
	adrp	x9, _gdb_kod_close@GOTPAGE
Lloh23:
	ldr	x9, [x9, _gdb_kod_close@GOTPAGEOFF]
Lloh24:
	str	w8, [x9]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotStr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cisco"

	.comm	_cisco_kod_open,4,2             ; @cisco_kod_open
	.comm	_gdb_kod_open,4,2               ; @gdb_kod_open
	.comm	_cisco_kod_request,4,2          ; @cisco_kod_request
	.comm	_gdb_kod_request,4,2            ; @gdb_kod_request
	.comm	_cisco_kod_close,4,2            ; @cisco_kod_close
	.comm	_gdb_kod_close,4,2              ; @gdb_kod_close
l_.str.1:                               ; @.str.1
	.asciz	"Unknown operating system: %s\n"

	.comm	_operating_system,4,2           ; @operating_system
	.comm	_ecos_kod_close,4,2             ; @ecos_kod_close
	.comm	_ecos_kod_open,4,2              ; @ecos_kod_open
	.comm	_ecos_kod_request,4,2           ; @ecos_kod_request
	.no_dead_strip	_load_kod_library
.subsections_via_symbols
