	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_cmd_groups_verify_sorted   ## -- Begin function iwl_cmd_groups_verify_sorted
	.p2align	4, 0x90
_iwl_cmd_groups_verify_sorted:          ## @iwl_cmd_groups_verify_sorted
	.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), %r9d
	testl	%r9d, %r9d
	jle	LBB0_8
## %bb.1:
	movq	8(%rdi), %r10
	xorl	%r8d, %r8d
	xorl	%r11d, %r11d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r11
	cmpq	%r9, %r11
	je	LBB0_8
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	%r11, %rax
	shlq	$4, %rax
	movq	8(%r10,%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r10,%rax), %edx
	decl	%edx
	testl	%edx, %edx
	cmovlel	%r8d, %edx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%rax, %rdx
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	(%rdi,%rax,8), %rcx
	leaq	1(%rax), %rsi
	cmpq	8(%rdi,%rax,8), %rcx
	movq	%rsi, %rax
	jle	LBB0_4
## %bb.6:
	movl	$-1, %eax
	popq	%rbp
	retq
LBB0_8:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_cmd_groups_verify_sorted   ; -- Begin function iwl_cmd_groups_verify_sorted
	.p2align	2
_iwl_cmd_groups_verify_sorted:          ; @iwl_cmd_groups_verify_sorted
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x9, #0
	ldr	x10, [x0, #8]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #1
	cmp	x9, x8
	b.eq	LBB0_8
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	add	x11, x10, x9, lsl #4
	ldr	x12, [x11, #8]
	cbz	x12, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	lsl	x11, x9, #4
	ldr	w11, [x10, x11]
	sub	w11, w11, #1
	cmp	w11, #0
	csel	w11, w11, wzr, gt
	add	x12, x12, #8
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cbz	x11, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	ldp	x13, x14, [x12, #-8]
	sub	x11, x11, #1
	add	x12, x12, #8
	cmp	x13, x14
	b.le	LBB0_5
; %bb.7:
	mov	w0, #-1
	ret
LBB0_8:
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
