	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_capi20_isinstalled             ## -- Begin function capi20_isinstalled
	.p2align	4, 0x90
_capi20_isinstalled:                    ## @capi20_isinstalled
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_CAPI_MAXCONTR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_CAPI_REGNOTINSTALLED@GOTPCREL(%rip), %r9
	testl	%ecx, %ecx
	jle	LBB0_6
## %bb.1:
	movq	_capi_cards@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_CARD_RUNNING@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	xorl	%edi, %edi
	movq	_CAPI_NOERROR@GOTPCREL(%rip), %r8
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdi
	cmpq	%rdi, %rcx
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdx,%rdi,8), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rsi, (%rax)
	jne	LBB0_5
## %bb.4:
	movq	%r8, %r9
LBB0_6:
	movl	(%r9), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CAPI_MAXCONTR,4,2              ## @CAPI_MAXCONTR
	.comm	_capi_cards,8,3                 ## @capi_cards
	.comm	_CARD_RUNNING,8,3               ## @CARD_RUNNING
	.comm	_CAPI_NOERROR,4,2               ## @CAPI_NOERROR
	.comm	_CAPI_REGNOTINSTALLED,4,2       ## @CAPI_REGNOTINSTALLED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_capi20_isinstalled             ; -- Begin function capi20_isinstalled
	.p2align	2
_capi20_isinstalled:                    ; @capi20_isinstalled
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _CAPI_MAXCONTR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CAPI_MAXCONTR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
Lloh3:
	adrp	x9, _capi_cards@GOTPAGE
Lloh4:
	ldr	x9, [x9, _capi_cards@GOTPAGEOFF]
Lloh5:
	adrp	x10, _CARD_RUNNING@GOTPAGE
Lloh6:
	ldr	x10, [x10, _CARD_RUNNING@GOTPAGEOFF]
Lloh7:
	ldr	x11, [x9]
Lloh8:
	ldr	x12, [x10]
Lloh9:
	adrp	x10, _CAPI_REGNOTINSTALLED@GOTPAGE
Lloh10:
	ldr	x10, [x10, _CAPI_REGNOTINSTALLED@GOTPAGEOFF]
Lloh11:
	adrp	x9, _CAPI_NOERROR@GOTPAGE
Lloh12:
	ldr	x9, [x9, _CAPI_NOERROR@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x11, x11, #8
	subs	x8, x8, #1
	b.eq	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x11]
	cbz	x13, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x13, [x13]
	cmp	x13, x12
	b.ne	LBB0_2
; %bb.5:
	ldr	w0, [x9]
	ret
LBB0_6:
Lloh13:
	adrp	x9, _CAPI_REGNOTINSTALLED@GOTPAGE
Lloh14:
	ldr	x9, [x9, _CAPI_REGNOTINSTALLED@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x9]
	ret
LBB0_7:
	mov	x9, x10
	ldr	w0, [x9]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_CAPI_MAXCONTR,4,2              ; @CAPI_MAXCONTR
	.comm	_capi_cards,8,3                 ; @capi_cards
	.comm	_CARD_RUNNING,8,3               ; @CARD_RUNNING
	.comm	_CAPI_NOERROR,4,2               ; @CAPI_NOERROR
	.comm	_CAPI_REGNOTINSTALLED,4,2       ; @CAPI_REGNOTINSTALLED
.subsections_via_symbols
