	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ice_reg_test
_ice_reg_test:                          ## @ice_reg_test
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_netdev_priv
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %r12
	movl	(%r12), %r13d
	subl	$1, %r13d
	movl	$1, %eax
	cmovbl	%eax, %r13d
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_GLINT_ITR
	movl	%eax, -112(%rbp)
	movl	$4095, -108(%rbp)               ## imm = 0xFFF
	movl	%r13d, -104(%rbp)
	xorl	%edi, %edi
	movl	$1, %esi
	callq	_GLINT_ITR
	movq	%rax, %rbx
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_GLINT_ITR
	subl	%eax, %ebx
	movl	%ebx, -100(%rbp)
	movl	$1, %edi
	xorl	%esi, %esi
	callq	_GLINT_ITR
	movl	%eax, -96(%rbp)
	movl	$4095, -92(%rbp)                ## imm = 0xFFF
	movl	%r13d, -88(%rbp)
	movl	$1, %edi
	movl	$1, %esi
	callq	_GLINT_ITR
	movq	%rax, %rbx
	movl	$1, %edi
	xorl	%esi, %esi
	callq	_GLINT_ITR
	subl	%eax, %ebx
	movl	%ebx, -84(%rbp)
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_GLINT_ITR
	movl	%eax, -80(%rbp)
	movl	$4095, -76(%rbp)                ## imm = 0xFFF
	movl	%r13d, -72(%rbp)
	movl	$2, %edi
	movl	$1, %esi
	callq	_GLINT_ITR
	movq	%rax, %rbx
	movl	$2, %edi
	xorl	%esi, %esi
	callq	_GLINT_ITR
	subl	%eax, %ebx
	movl	%ebx, -68(%rbp)
	movq	_GLINT_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movabsq	$8589869057, %rax               ## imm = 0x1FFFF0001
	movq	%rax, -60(%rbp)
	movl	$0, -52(%rbp)
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_netdev_dbg
	leaq	-112(%rbp), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_9
## %bb.1:
	xorl	%r15d, %r15d
	leaq	-112(%rbp), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %r15
	jge	LBB0_8
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	%r15, %rax
	shlq	$4, %rax
	cmpl	$0, -104(%rbp,%rax)
	jle	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%rax,%rbp), %r13
	addq	$-104, %r13
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	-4(%r13), %edx
	movl	4(%r13), %esi
	imull	%ebx, %esi
	addl	-8(%r13), %esi
	movq	%r12, %rdi
	callq	_ice_reg_pattern_test
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_5 Depth=2
	incl	%ebx
	cmpl	(%r13), %ebx
	jl	LBB0_5
	jmp	LBB0_7
LBB0_6:
	movl	$1, %r14d
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	movl	%r14d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	xorl	%r14d, %r14d
	jmp	LBB0_9
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_GLINT_CTL,8,3                  ## @GLINT_CTL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Register test\n"

	.no_dead_strip	_ice_reg_test
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function ice_reg_test
lCPI0_0:
	.long	4294901761                      ; 0xffff0001
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_ice_reg_test:                          ; @ice_reg_test
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #72]
	bl	_netdev_priv
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x19, [x8]
	ldr	w8, [x19]
	sub	w9, w8, #1
	cmp	w8, #0
	csinc	w22, w9, wzr, ne
	mov	w0, #0
	mov	w1, #0
	bl	_GLINT_ITR
	mov	w23, #4095
	stp	w0, w23, [sp, #8]
	str	w22, [sp, #16]
	mov	w0, #0
	mov	w1, #1
	bl	_GLINT_ITR
	mov	x21, x0
	mov	w0, #0
	mov	w1, #0
	bl	_GLINT_ITR
	sub	w8, w21, w0
	str	w8, [sp, #20]
	mov	w0, #1
	mov	w1, #0
	bl	_GLINT_ITR
	stp	w0, w23, [sp, #24]
	str	w22, [sp, #32]
	mov	w0, #1
	mov	w1, #1
	bl	_GLINT_ITR
	mov	x21, x0
	mov	w0, #1
	mov	w1, #0
	bl	_GLINT_ITR
	sub	w8, w21, w0
	str	w8, [sp, #36]
	mov	w0, #0
	mov	w1, #0
	bl	_GLINT_ITR
	stp	w0, w23, [sp, #40]
	str	w22, [sp, #48]
	mov	w0, #2
	mov	w1, #1
	bl	_GLINT_ITR
	mov	x21, x0
	mov	w0, #2
	mov	w1, #0
	bl	_GLINT_ITR
	sub	w8, w21, w0
Lloh3:
	adrp	x9, _GLINT_CTL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GLINT_CTL@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	stp	w8, w9, [sp, #52]
Lloh6:
	adrp	x8, lCPI0_0@PAGE
Lloh7:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	stur	d0, [sp, #60]
	str	wzr, [sp, #68]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_netdev_dbg
	add	x20, sp, #8
	add	x0, sp, #8
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x21, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #1
	add	x0, sp, #8
	bl	_ARRAY_SIZE
	cmp	x21, w0, sxtw
	b.ge	LBB0_8
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	add	x22, x20, x21, lsl #4
	mov	x23, x22
	ldr	w8, [x23, #8]!
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w24, #0
	orr	x25, x22, #0x4
	add	x26, x22, #12
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w2, [x25]
	ldr	w8, [x22]
	ldr	w9, [x26]
	madd	w1, w9, w24, w8
	mov	x0, x19
	bl	_ice_reg_pattern_test
	cbnz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	add	w24, w24, #1
	ldr	w8, [x23]
	cmp	w24, w8
	b.lt	LBB0_5
	b	LBB0_2
LBB0_7:
	mov	w0, #1
	b	LBB0_9
LBB0_8:
	mov	w0, #0
LBB0_9:
	ldr	x8, [sp, #72]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_GLINT_CTL,8,3                  ; @GLINT_CTL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Register test\n"

	.no_dead_strip	_ice_reg_test
.subsections_via_symbols
