	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function nvmet_execute_get_log_page_ana
LCPI0_0:
	.quad	2                               ## 0x2
	.quad	2                               ## 0x2
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_nvmet_execute_get_log_page_ana:        ## @nvmet_execute_get_log_page_ana
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	$0, -56(%rbp)
	movq	$0, -64(%rbp)
	movq	_NVME_SC_INTERNAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_NVMET_MAX_NAMESPACES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	12(,%rax,4), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kmalloc
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_23
## %bb.1:
	movq	_nvmet_ana_sem@GOTPCREL(%rip), %rdi
	callq	_down_read
	movq	_NVMET_MAX_ANAGRPS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movl	$12, %ebx
	movl	$1, %r12d
	xorl	%r15d, %r15d
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%r12
	cmpq	%rax, %r12
	ja	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	_nvmet_ana_group_enabled@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rcx,%r12,8)
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	callq	_nvmet_format_ana_group
	movq	%rax, %r14
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movl	%r14d, %ecx
	callq	_nvmet_copy_to_sgl
	testq	%rax, %rax
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	addq	%r14, %rbx
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	incq	%r15
	movq	_NVMET_MAX_ANAGRPS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_8
LBB0_2:
	xorl	%r15d, %r15d
	jmp	LBB0_22
LBB0_6:
	movq	_NVMET_MAX_ANAGRPS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-80(%rbp), %r15                 ## 8-byte Reload
LBB0_9:
	cmpq	%rax, %r12
	jbe	LBB0_11
## %bb.10:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_22
LBB0_11:
	leaq	1(%r12), %rcx
	leaq	1(%rax), %r10
	cmpq	%r10, %rcx
	cmovaq	%rcx, %r10
	movq	_nvmet_ana_group_enabled@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	subq	%r12, %r10
	cmpq	$4, %r10
	jae	LBB0_13
## %bb.12:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_21
LBB0_13:
	movq	%r10, %r8
	andq	$-4, %r8
	movq	%r15, %xmm0
	leaq	-4(%r8), %rdx
	movq	%rdx, %r9
	shrq	$2, %r9
	incq	%r9
	testq	%rdx, %rdx
	je	LBB0_14
## %bb.15:
	movq	%r9, %rdi
	andq	$-2, %rdi
	leaq	(%rcx,%r12,8), %rdx
	addq	$48, %rdx
	pxor	%xmm2, %xmm2
	xorl	%esi, %esi
	movdqa	LCPI0_0(%rip), %xmm3            ## xmm3 = [2,2]
	movdqa	%xmm0, %xmm5
	pxor	%xmm4, %xmm4
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movdqu	-48(%rdx,%rsi,8), %xmm6
	movdqu	-32(%rdx,%rsi,8), %xmm7
	movdqu	-16(%rdx,%rsi,8), %xmm0
	movdqu	(%rdx,%rsi,8), %xmm1
	pcmpeqq	%xmm2, %xmm6
	paddq	%xmm5, %xmm6
	pcmpeqq	%xmm2, %xmm7
	paddq	%xmm4, %xmm7
	pcmpeqq	%xmm2, %xmm0
	pcmpeqq	%xmm2, %xmm1
	paddq	%xmm3, %xmm0
	paddq	%xmm6, %xmm0
	paddq	%xmm3, %xmm1
	paddq	%xmm7, %xmm1
	addq	$8, %rsi
	movdqa	%xmm0, %xmm5
	movdqa	%xmm1, %xmm4
	addq	$-2, %rdi
	jne	LBB0_16
## %bb.17:
	testb	$1, %r9b
	je	LBB0_19
LBB0_18:
	addq	%r12, %rsi
	movdqu	(%rcx,%rsi,8), %xmm2
	movdqu	16(%rcx,%rsi,8), %xmm3
	pxor	%xmm4, %xmm4
	pcmpeqq	%xmm4, %xmm2
	paddq	%xmm2, %xmm0
	pcmpeqq	%xmm4, %xmm3
	paddq	%xmm3, %xmm1
	pcmpeqd	%xmm2, %xmm2
	psubq	%xmm2, %xmm0
	psubq	%xmm2, %xmm1
LBB0_19:
	paddq	%xmm1, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	paddq	%xmm0, %xmm1
	movq	%xmm1, %r15
	cmpq	%r8, %r10
	je	LBB0_22
## %bb.20:
	addq	%r8, %r12
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$1, (%rcx,%r12,8)
	sbbq	$-1, %r15
	incq	%r12
	cmpq	%rax, %r12
	jbe	LBB0_21
LBB0_22:
	movq	_nvmet_ana_chgcnt@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le64
	movl	%eax, -60(%rbp)
	movq	%r15, %rdi
	callq	_cpu_to_le16
	movl	%eax, -64(%rbp)
	movq	_NVME_AEN_BIT_ANA_CHANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_nvmet_clear_aen_bit
	movq	_nvmet_ana_sem@GOTPCREL(%rip), %rdi
	callq	_up_read
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_kfree
	leaq	-64(%rbp), %rdx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$12, %ecx
	callq	_nvmet_copy_to_sgl
	movq	%rax, %rbx
LBB0_23:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_nvmet_req_complete
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	pxor	%xmm1, %xmm1
	xorl	%esi, %esi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	testb	$1, %r9b
	jne	LBB0_18
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_NVME_SC_INTERNAL,8,3           ## @NVME_SC_INTERNAL
	.comm	_NVMET_MAX_NAMESPACES,4,2       ## @NVMET_MAX_NAMESPACES
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_nvmet_ana_sem,4,2              ## @nvmet_ana_sem
	.comm	_NVMET_MAX_ANAGRPS,8,3          ## @NVMET_MAX_ANAGRPS
	.comm	_nvmet_ana_group_enabled,8,3    ## @nvmet_ana_group_enabled
	.comm	_nvmet_ana_chgcnt,4,2           ## @nvmet_ana_chgcnt
	.comm	_NVME_AEN_BIT_ANA_CHANGE,4,2    ## @NVME_AEN_BIT_ANA_CHANGE
	.no_dead_strip	_nvmet_execute_get_log_page_ana
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvmet_execute_get_log_page_ana
_nvmet_execute_get_log_page_ana:        ; @nvmet_execute_get_log_page_ana
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x0
	str	wzr, [sp, #8]
	str	xzr, [sp]
Lloh0:
	adrp	x8, _NVME_SC_INTERNAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NVME_SC_INTERNAL@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
Lloh3:
	adrp	x8, _NVMET_MAX_NAMESPACES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NVMET_MAX_NAMESPACES@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	w8, w8, #2
	add	w0, w8, #12
Lloh6:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_kmalloc
	cbz	x0, LBB0_17
; %bb.1:
	mov	x20, x0
Lloh9:
	adrp	x0, _nvmet_ana_sem@GOTPAGE
Lloh10:
	ldr	x0, [x0, _nvmet_ana_sem@GOTPAGEOFF]
	bl	_down_read
Lloh11:
	adrp	x26, _NVMET_MAX_ANAGRPS@GOTPAGE
Lloh12:
	ldr	x26, [x26, _NVMET_MAX_ANAGRPS@GOTPAGEOFF]
	ldr	x8, [x26]
	cbz	x8, LBB0_11
; %bb.2:
	mov	x21, #0
	mov	w23, #12
	mov	w22, #1
Lloh13:
	adrp	x25, _nvmet_ana_group_enabled@GOTPAGE
Lloh14:
	ldr	x25, [x25, _nvmet_ana_group_enabled@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x23, x24, x23
	add	x21, x21, #1
	ldr	x8, [x26]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #1
	cmp	x22, x8
	b.hi	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x25]
	ldr	x9, [x9, x22, lsl #3]
	cbz	x9, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	bl	_nvmet_format_ana_group
	mov	x24, x0
	mov	x0, x19
	mov	x1, x23
	mov	x2, x20
	mov	x3, x24
	bl	_nvmet_copy_to_sgl
	cbz	x0, LBB0_3
; %bb.7:
	ldr	x8, [x26]
LBB0_8:
	cmp	x22, x8
	b.hi	LBB0_16
; %bb.9:
	ldr	x9, [x25]
	add	x10, x22, #1
	add	x11, x8, #1
	cmp	x10, x11
	csinc	x10, x10, x8, hi
	sub	x11, x10, x22
	cmp	x11, #8
	b.hs	LBB0_12
; %bb.10:
	mov	x10, x22
	b	LBB0_15
LBB0_11:
	mov	x21, #0
	b	LBB0_16
LBB0_12:
	and	x12, x11, #0xfffffffffffffff8
	add	x10, x22, x12
	movi.2d	v0, #0000000000000000
	mov.d	v0[0], x21
	movi.2d	v1, #0000000000000000
	add	x13, x9, x22, lsl #3
	add	x13, x13, #32
	mov	x14, x12
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldp	q4, q5, [x13, #-32]
	ldp	q6, q7, [x13], #64
	cmtst.2d	v4, v4, v4
	cmtst.2d	v5, v5, v5
	cmtst.2d	v6, v6, v6
	cmtst.2d	v7, v7, v7
	sub.2d	v0, v0, v4
	sub.2d	v1, v1, v5
	sub.2d	v2, v2, v6
	sub.2d	v3, v3, v7
	subs	x14, x14, #8
	b.ne	LBB0_13
; %bb.14:
	add.2d	v0, v1, v0
	add.2d	v0, v2, v0
	add.2d	v0, v3, v0
	addp.2d	d0, v0
	fmov	x21, d0
	cmp	x11, x12
	b.eq	LBB0_16
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x9, x10, lsl #3]
	cmp	x11, #0
	cinc	x21, x21, ne
	add	x10, x10, #1
	cmp	x10, x8
	b.ls	LBB0_15
LBB0_16:
Lloh15:
	adrp	x8, _nvmet_ana_chgcnt@GOTPAGE
Lloh16:
	ldr	x8, [x8, _nvmet_ana_chgcnt@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_cpu_to_le64
	str	w0, [sp, #4]
	mov	x0, x21
	bl	_cpu_to_le16
	str	w0, [sp]
Lloh18:
	adrp	x8, _NVME_AEN_BIT_ANA_CHANGE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _NVME_AEN_BIT_ANA_CHANGE@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_nvmet_clear_aen_bit
Lloh21:
	adrp	x0, _nvmet_ana_sem@GOTPAGE
Lloh22:
	ldr	x0, [x0, _nvmet_ana_sem@GOTPAGEOFF]
	bl	_up_read
	mov	x0, x20
	bl	_kfree
	mov	x2, sp
	mov	x0, x19
	mov	x1, #0
	mov	w3, #12
	bl	_nvmet_copy_to_sgl
	mov	x21, x0
LBB0_17:
	mov	x0, x19
	mov	x1, x21
	bl	_nvmet_req_complete
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_NVME_SC_INTERNAL,8,3           ; @NVME_SC_INTERNAL
	.comm	_NVMET_MAX_NAMESPACES,4,2       ; @NVMET_MAX_NAMESPACES
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_nvmet_ana_sem,4,2              ; @nvmet_ana_sem
	.comm	_NVMET_MAX_ANAGRPS,8,3          ; @NVMET_MAX_ANAGRPS
	.comm	_nvmet_ana_group_enabled,8,3    ; @nvmet_ana_group_enabled
	.comm	_nvmet_ana_chgcnt,4,2           ; @nvmet_ana_chgcnt
	.comm	_NVME_AEN_BIT_ANA_CHANGE,4,2    ; @NVME_AEN_BIT_ANA_CHANGE
	.no_dead_strip	_nvmet_execute_get_log_page_ana
.subsections_via_symbols
