	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_pcie_get_num_sections
_iwl_pcie_get_num_sections:             ## @iwl_pcie_get_num_sections
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	xorl	%eax, %eax
	subl	%esi, %ecx
	jle	LBB0_6
## %bb.1:
	movq	_CPU1_CPU2_SEPARATOR_SECTION@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	_PAGING_SEPARATOR_SECTION@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movslq	%esi, %rsi
	shlq	$3, %rsi
	addq	8(%rdi), %rsi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rsi,%rax,8), %rdi
	cmpq	%r8, %rdi
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rdx, %rdi
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rax
	cmpl	%eax, %ecx
	jne	LBB0_2
## %bb.5:
	movl	%ecx, %eax
LBB0_6:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CPU1_CPU2_SEPARATOR_SECTION,8,3 ## @CPU1_CPU2_SEPARATOR_SECTION
	.comm	_PAGING_SEPARATOR_SECTION,8,3   ## @PAGING_SEPARATOR_SECTION
	.no_dead_strip	_iwl_pcie_get_num_sections
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_pcie_get_num_sections
_iwl_pcie_get_num_sections:             ; @iwl_pcie_get_num_sections
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	ldr	w9, [x0]
	subs	w0, w9, w1
	b.le	LBB0_5
; %bb.1:
	mov	x9, #0
Lloh0:
	adrp	x10, _CPU1_CPU2_SEPARATOR_SECTION@GOTPAGE
Lloh1:
	ldr	x10, [x10, _CPU1_CPU2_SEPARATOR_SECTION@GOTPAGEOFF]
	ldr	x11, [x8, #8]
Lloh2:
	ldr	x8, [x10]
Lloh3:
	adrp	x10, _PAGING_SEPARATOR_SECTION@GOTPAGE
Lloh4:
	ldr	x10, [x10, _PAGING_SEPARATOR_SECTION@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	add	x11, x11, w1, sxtw #3
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x11, x9, lsl #3]
	cmp	x12, x8
	ccmp	x12, x10, #4, ne
	b.eq	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #1
	cmp	w0, w9
	b.ne	LBB0_2
; %bb.4:
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_5:
	mov	w0, #0
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_6:
	mov	x0, x9
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CPU1_CPU2_SEPARATOR_SECTION,8,3 ; @CPU1_CPU2_SEPARATOR_SECTION
	.comm	_PAGING_SEPARATOR_SECTION,8,3   ; @PAGING_SEPARATOR_SECTION
	.no_dead_strip	_iwl_pcie_get_num_sections
.subsections_via_symbols
