	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kempld_get_info_generic
_kempld_get_info_generic:               ## @kempld_get_info_generic
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_kempld_get_mutex
	movq	_KEMPLD_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_kempld_read16
	movq	%rax, %r15
	movq	_KEMPLD_SPEC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_kempld_read8
	movl	%eax, %r14d
	movq	_KEMPLD_BUILDNR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_kempld_read16
	movq	%rax, 40(%rbx)
	movq	%r15, %rdi
	callq	_KEMPLD_VERSION_GET_MINOR
	movl	%eax, 36(%rbx)
	movq	%r15, %rdi
	callq	_KEMPLD_VERSION_GET_MAJOR
	movl	%eax, 32(%rbx)
	movq	%r15, %rdi
	callq	_KEMPLD_VERSION_GET_NUMBER
	movl	%eax, 28(%rbx)
	movq	%r15, %rdi
	callq	_KEMPLD_VERSION_GET_TYPE
	movl	%eax, 24(%rbx)
	cmpl	$255, %r14d
	jne	LBB0_3
## %bb.1:
	movq	$0, 16(%rbx)
	movl	$1, 8(%rbx)
	jmp	LBB0_2
LBB0_3:
	movl	%r14d, %edi
	callq	_KEMPLD_SPEC_GET_MINOR
	movq	%rax, 16(%rbx)
	movl	%r14d, %edi
	callq	_KEMPLD_SPEC_GET_MAJOR
	movl	%eax, 8(%rbx)
	testl	%eax, %eax
	jle	LBB0_4
LBB0_2:
	movq	_KEMPLD_FEATURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_kempld_read16
	jmp	LBB0_5
LBB0_4:
	xorl	%eax, %eax
LBB0_5:
	movq	%rax, (%rbx)
	movq	%rbx, %rdi
	callq	_kempld_release_mutex
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KEMPLD_VERSION,4,2             ## @KEMPLD_VERSION
	.comm	_KEMPLD_SPEC,4,2                ## @KEMPLD_SPEC
	.comm	_KEMPLD_BUILDNR,4,2             ## @KEMPLD_BUILDNR
	.comm	_KEMPLD_FEATURE,4,2             ## @KEMPLD_FEATURE
	.no_dead_strip	_kempld_get_info_generic
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kempld_get_info_generic
_kempld_get_info_generic:               ; @kempld_get_info_generic
	.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	x19, x0
	bl	_kempld_get_mutex
Lloh0:
	adrp	x8, _KEMPLD_VERSION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KEMPLD_VERSION@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_kempld_read16
	mov	x21, x0
Lloh3:
	adrp	x8, _KEMPLD_SPEC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _KEMPLD_SPEC@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_kempld_read8
	mov	x20, x0
Lloh6:
	adrp	x8, _KEMPLD_BUILDNR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _KEMPLD_BUILDNR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_kempld_read16
	str	x0, [x19, #40]
	mov	x0, x21
	bl	_KEMPLD_VERSION_GET_MINOR
	str	w0, [x19, #36]
	mov	x0, x21
	bl	_KEMPLD_VERSION_GET_MAJOR
	str	w0, [x19, #32]
	mov	x0, x21
	bl	_KEMPLD_VERSION_GET_NUMBER
	str	w0, [x19, #28]
	mov	x0, x21
	bl	_KEMPLD_VERSION_GET_TYPE
	str	w0, [x19, #24]
	cmp	w20, #255
	b.ne	LBB0_2
; %bb.1:
	str	xzr, [x19, #16]
	mov	w8, #1
	str	w8, [x19, #8]
	b	LBB0_3
LBB0_2:
	mov	x0, x20
	bl	_KEMPLD_SPEC_GET_MINOR
	str	x0, [x19, #16]
	mov	x0, x20
	bl	_KEMPLD_SPEC_GET_MAJOR
	str	w0, [x19, #8]
	cmp	w0, #1
	b.lt	LBB0_4
LBB0_3:
Lloh9:
	adrp	x8, _KEMPLD_FEATURE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _KEMPLD_FEATURE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_kempld_read16
	b	LBB0_5
LBB0_4:
	mov	x0, #0
LBB0_5:
	str	x0, [x19]
	mov	x0, x19
	bl	_kempld_release_mutex
	mov	w0, #0
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_KEMPLD_VERSION,4,2             ; @KEMPLD_VERSION
	.comm	_KEMPLD_SPEC,4,2                ; @KEMPLD_SPEC
	.comm	_KEMPLD_BUILDNR,4,2             ; @KEMPLD_BUILDNR
	.comm	_KEMPLD_FEATURE,4,2             ; @KEMPLD_FEATURE
	.no_dead_strip	_kempld_get_info_generic
.subsections_via_symbols
