	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_capi_ctr_by_nr
_get_capi_ctr_by_nr:                    ## @get_capi_ctr_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
                                        ## kill: def $edi killed $edi def $rdi
	xorl	%eax, %eax
	testl	%edi, %edi
	jle	LBB0_3
## %bb.1:
	movq	_CAPI_MAXCONTR@GOTPCREL(%rip), %rcx
	cmpl	%edi, (%rcx)
	jl	LBB0_3
## %bb.2:
	decl	%edi
	movq	_capi_controller@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rdi,8), %rax
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CAPI_MAXCONTR,4,2              ## @CAPI_MAXCONTR
	.comm	_capi_controller,8,3            ## @capi_controller
	.no_dead_strip	_get_capi_ctr_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_ctr_by_nr
_get_capi_ctr_by_nr:                    ; @get_capi_ctr_by_nr
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	mov	x0, #0
	subs	w9, w8, #1
	b.lt	LBB0_3
; %bb.1:
Lloh0:
	adrp	x10, _CAPI_MAXCONTR@GOTPAGE
Lloh1:
	ldr	x10, [x10, _CAPI_MAXCONTR@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	cmp	w10, w8
	b.lt	LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _capi_controller@GOTPAGE
Lloh4:
	ldr	x8, [x8, _capi_controller@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x0, [x8, w9, uxtw #3]
LBB0_3:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CAPI_MAXCONTR,4,2              ; @CAPI_MAXCONTR
	.comm	_capi_controller,8,3            ; @capi_controller
	.no_dead_strip	_get_capi_ctr_by_nr
.subsections_via_symbols
