	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function armada_37xx_find_next_grp_by_pin
_armada_37xx_find_next_grp_by_pin:      ## @armada_37xx_find_next_grp_by_pin
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdx), %r9d
	cmpl	(%rdi), %r9d
	jge	LBB0_7
## %bb.1:
	movq	8(%rdi), %r8
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	(%rdi), %r9d
	jge	LBB0_7
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movslq	%r9d, %r9
	movq	%r9, %rcx
	shlq	$4, %rcx
	incl	%r9d
	movl	%r9d, (%rdx)
	movl	4(%r8,%rcx), %r10d
	addl	(%r8,%rcx), %r10d
	testl	%r10d, %r10d
	jle	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%r8,%rcx), %rax
	movq	8(%r8,%rcx), %r11
	movl	%r10d, %r10d
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	%esi, (%r11,%rcx,4)
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	incq	%rcx
	cmpq	%rcx, %r10
	jne	LBB0_5
	jmp	LBB0_2
LBB0_7:
	xorl	%eax, %eax
LBB0_8:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_armada_37xx_find_next_grp_by_pin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function armada_37xx_find_next_grp_by_pin
_armada_37xx_find_next_grp_by_pin:      ; @armada_37xx_find_next_grp_by_pin
	.cfi_startproc
; %bb.0:
	ldr	w12, [x2]
	ldr	w8, [x0]
	cmp	w12, w8
	b.ge	LBB0_7
; %bb.1:
	ldr	x9, [x0, #8]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x0]
	mov	x12, x10
	cmp	w10, w8
	b.ge	LBB0_7
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	add	x8, x9, w12, sxtw #4
	add	w10, w12, #1
	str	w10, [x2]
	ldp	w11, w13, [x8]
	add	w11, w13, w11
	cmp	w11, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	sxtw	x12, w12
	add	x12, x9, x12, lsl #4
	ldr	x12, [x12, #8]
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w13, [x12]
	cmp	w13, w1
	b.eq	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	add	x12, x12, #4
	subs	x11, x11, #1
	b.ne	LBB0_5
	b	LBB0_2
LBB0_7:
	mov	x0, #0
	ret
LBB0_8:
	mov	x0, x8
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_armada_37xx_find_next_grp_by_pin
.subsections_via_symbols
