	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40iw_get_fcn_id
_i40iw_get_fcn_id:                      ## @i40iw_get_fcn_id
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_I40IW_INVALID_FCN_ID@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_I40IW_FIRST_NON_PF_STAT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_I40IW_MAX_STATS_COUNT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	%rdx, %rax
	jae	LBB0_5
## %bb.1:
	movq	(%rdi), %rsi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%rsi,%rax,4)
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rax
	cmpq	%rax, %rdx
	jne	LBB0_2
LBB0_5:
	movq	%rcx, %rax
	popq	%rbp
	retq
LBB0_3:
	movl	$1, (%rsi,%rax,4)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I40IW_INVALID_FCN_ID,8,3       ## @I40IW_INVALID_FCN_ID
	.comm	_I40IW_FIRST_NON_PF_STAT,8,3    ## @I40IW_FIRST_NON_PF_STAT
	.comm	_I40IW_MAX_STATS_COUNT,8,3      ## @I40IW_MAX_STATS_COUNT
	.no_dead_strip	_i40iw_get_fcn_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40iw_get_fcn_id
_i40iw_get_fcn_id:                      ; @i40iw_get_fcn_id
	.cfi_startproc
; %bb.0:
	mov	x8, x0
Lloh0:
	adrp	x9, _I40IW_INVALID_FCN_ID@GOTPAGE
Lloh1:
	ldr	x9, [x9, _I40IW_INVALID_FCN_ID@GOTPAGEOFF]
Lloh2:
	adrp	x10, _I40IW_FIRST_NON_PF_STAT@GOTPAGE
Lloh3:
	ldr	x10, [x10, _I40IW_FIRST_NON_PF_STAT@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	ldr	x0, [x10]
Lloh6:
	adrp	x10, _I40IW_MAX_STATS_COUNT@GOTPAGE
Lloh7:
	ldr	x10, [x10, _I40IW_MAX_STATS_COUNT@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x0, x10
	b.hs	LBB0_4
; %bb.1:
	ldr	x8, [x8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x8, x0, lsl #2]
	cbz	w11, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, x0, #1
	cmp	x10, x0
	b.ne	LBB0_2
LBB0_4:
	mov	x0, x9
	ret
LBB0_5:
	mov	w9, #1
	str	w9, [x8, x0, lsl #2]
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_I40IW_INVALID_FCN_ID,8,3       ; @I40IW_INVALID_FCN_ID
	.comm	_I40IW_FIRST_NON_PF_STAT,8,3    ; @I40IW_FIRST_NON_PF_STAT
	.comm	_I40IW_MAX_STATS_COUNT,8,3      ; @I40IW_MAX_STATS_COUNT
	.no_dead_strip	_i40iw_get_fcn_id
.subsections_via_symbols
