	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_dump_ini_paging_get_size
_iwl_dump_ini_paging_get_size:          ## @iwl_dump_ini_paging_get_size
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	8(%rdi), %rax
	movq	8(%rax), %rax
	movq	(%rax), %rbx
	callq	_iwl_dump_ini_paging_ranges
	movl	$4, %r12d
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.1:
	testl	%eax, %eax
	jle	LBB0_7
## %bb.2:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %eax
	addl	%eax, %r12d
	addl	$4, %r12d
	incq	%rbx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_iwl_dump_ini_paging_ranges
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_3
	jmp	LBB0_7
LBB0_4:
	testl	%eax, %eax
	jle	LBB0_7
## %bb.5:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movl	4(%rax,%rbx,4), %eax
	addl	%eax, %r12d
	addl	$4, %r12d
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_iwl_dump_ini_paging_ranges
	cltq
	incq	%rbx
	cmpq	%rax, %rbx
	jl	LBB0_6
LBB0_7:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_iwl_dump_ini_paging_get_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_dump_ini_paging_get_size
_iwl_dump_ini_paging_get_size:          ; @iwl_dump_ini_paging_get_size
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0, #8]
	ldr	x8, [x8, #8]
	ldr	x21, [x8]
	bl	_iwl_dump_ini_paging_ranges
	cmp	w0, #1
	cbz	x21, LBB0_4
; %bb.1:
	b.lt	LBB0_7
; %bb.2:
	mov	x22, #0
	mov	w21, #4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	w8, [x8, x22, lsl #2]
	add	w8, w21, w8
	add	w21, w8, #4
	add	x22, x22, #1
	mov	x0, x20
	mov	x1, x19
	bl	_iwl_dump_ini_paging_ranges
	cmp	x22, w0, sxtw
	b.lt	LBB0_3
	b	LBB0_8
LBB0_4:
	b.lt	LBB0_7
; %bb.5:
	mov	x22, #0
	mov	w21, #4
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	add	x8, x8, x22, lsl #2
	ldr	w8, [x8, #4]
	add	w8, w21, w8
	add	w21, w8, #4
	mov	x0, x20
	mov	x1, x19
	bl	_iwl_dump_ini_paging_ranges
	add	x22, x22, #1
	cmp	x22, w0, sxtw
	b.lt	LBB0_6
	b	LBB0_8
LBB0_7:
	mov	w21, #4
LBB0_8:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_iwl_dump_ini_paging_get_size
.subsections_via_symbols
