	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __get_capi_appl_by_nr
___get_capi_appl_by_nr:                 ## @__get_capi_appl_by_nr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	movq	_capi_controller_lock@GOTPCREL(%rip), %rdi
	callq	_lockdep_assert_held
	xorl	%eax, %eax
	testl	%ebx, %ebx
	jle	LBB0_3
## %bb.1:
	movq	_CAPI_MAXAPPL@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	jl	LBB0_3
## %bb.2:
	decl	%ebx
	movq	_capi_applications@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rbx,8), %rax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_capi_controller_lock,4,2       ## @capi_controller_lock
	.comm	_CAPI_MAXAPPL,4,2               ## @CAPI_MAXAPPL
	.comm	_capi_applications,8,3          ## @capi_applications
	.no_dead_strip	___get_capi_appl_by_nr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __get_capi_appl_by_nr
___get_capi_appl_by_nr:                 ; @__get_capi_appl_by_nr
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x0, _capi_controller_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _capi_controller_lock@GOTPAGEOFF]
	bl	_lockdep_assert_held
	mov	x0, #0
	subs	w8, w19, #1
	b.lt	LBB0_3
; %bb.1:
Lloh2:
	adrp	x9, _CAPI_MAXAPPL@GOTPAGE
Lloh3:
	ldr	x9, [x9, _CAPI_MAXAPPL@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w9, w19
	b.lt	LBB0_3
; %bb.2:
Lloh5:
	adrp	x9, _capi_applications@GOTPAGE
Lloh6:
	ldr	x9, [x9, _capi_applications@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldr	x0, [x9, w8, uxtw #3]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_capi_controller_lock,4,2       ; @capi_controller_lock
	.comm	_CAPI_MAXAPPL,4,2               ; @CAPI_MAXAPPL
	.comm	_capi_applications,8,3          ; @capi_applications
	.no_dead_strip	___get_capi_appl_by_nr
.subsections_via_symbols
