	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ehea_stop_qps
_ehea_stop_qps:                         ## @ehea_stop_qps
	.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
	callq	_netdev_priv
	movq	%rax, %r13
	movq	16(%rax), %rbx
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	movq	$0, -104(%rbp)
	movl	$0, -52(%rbp)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_get_zeroed_page
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	cmpl	$0, (%r13)
	jle	LBB0_15
## %bb.2:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	xorl	%ebx, %ebx
	movq	_H_SUCCESS@GOTPCREL(%rip), %r12
	xorl	%ecx, %ecx
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	8(%r13), %rax
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	(%rax,%rbx), %rbx
	movq	%rbx, %rdi
	callq	_ehea_purge_sq
	movq	%r15, %r13
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movl	(%r14), %r15d
	movl	(%rbx), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_H_QPCB0_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$65535, %esi                    ## imm = 0xFFFF
	callq	_EHEA_BMASK_SET
	movl	%r15d, %edi
	movq	%r13, %r15
	xorl	%esi, %esi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	%eax, %ecx
	movq	%r13, %r8
	callq	_ehea_h_query_ehea_qp
	cmpq	(%r12), %rax
	jne	LBB0_4
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_H_QP_CR_RES_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%r15), %eax
	shll	$8, %eax
	movl	%eax, (%r15)
	movq	_H_QP_CR_ENABLED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%eax, %ecx
	movl	%ecx, (%r15)
	movl	(%r14), %r15d
	movl	(%rbx), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_H_QPCB0_QP_CTL_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_EHEA_BMASK_SET
	subq	$8, %rsp
	movl	%r15d, %edi
	xorl	%esi, %esi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movq	%r13, %r15
	movl	%eax, %ecx
	movq	%r13, %r8
	leaq	-104(%rbp), %r9
	leaq	-52(%rbp), %rax
	pushq	%rax
	pushq	%rax
	pushq	%r9
	callq	_ehea_h_modify_ehea_qp
	addq	$32, %rsp
	cmpq	(%r12), %rax
	jne	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r14), %r14d
	movl	(%rbx), %ebx
	movq	_H_QPCB0_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$65535, %esi                    ## imm = 0xFFFF
	callq	_EHEA_BMASK_SET
	movl	%r14d, %edi
	xorl	%esi, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	movq	%r15, %r8
	callq	_ehea_h_query_ehea_qp
	cmpq	(%r12), %rax
	jne	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	addq	%rbx, %rdi
	callq	_ehea_rem_smrs
	testl	%eax, %eax
	jne	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	incq	%rcx
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movslq	(%r13), %rax
	addq	$8, %rbx
	cmpq	%rax, %rcx
	jl	LBB0_3
## %bb.7:
	xorl	%r14d, %r14d
	jmp	LBB0_15
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_15
LBB0_4:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_14
LBB0_9:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_14
LBB0_11:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_14
LBB0_13:
	leaq	L_.str.3(%rip), %rdi
LBB0_14:
	callq	_pr_err
	movl	-44(%rbp), %r14d                ## 4-byte Reload
LBB0_15:
	movq	%r15, %rdi
	callq	_free_page
	movl	%r14d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_H_QPCB0_ALL,4,2                ## @H_QPCB0_ALL
	.comm	_H_SUCCESS,8,3                  ## @H_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"query_ehea_qp failed (1)\n"

	.comm	_H_QP_CR_RES_STATE,4,2          ## @H_QP_CR_RES_STATE
	.comm	_H_QP_CR_ENABLED,4,2            ## @H_QP_CR_ENABLED
	.comm	_H_QPCB0_QP_CTL_REG,4,2         ## @H_QPCB0_QP_CTL_REG
L_.str.1:                               ## @.str.1
	.asciz	"modify_ehea_qp failed (1)\n"

L_.str.2:                               ## @.str.2
	.asciz	"query_ehea_qp failed (2)\n"

L_.str.3:                               ## @.str.3
	.asciz	"unreg shared memory region failed\n"

	.no_dead_strip	_ehea_stop_qps
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ehea_stop_qps
_ehea_stop_qps:                         ; @ehea_stop_qps
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	bl	_netdev_priv
	mov	x21, x0
	ldr	x26, [x0, #16]
Lloh0:
	adrp	x8, _EIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	str	xzr, [sp, #24]
	str	wzr, [sp, #20]
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_get_zeroed_page
	mov	x19, x0
	cbz	x0, LBB0_9
; %bb.1:
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.2:
	mov	x27, #0
	mov	x28, #0
Lloh6:
	adrp	x20, _H_SUCCESS@GOTPAGE
Lloh7:
	ldr	x20, [x20, _H_SUCCESS@GOTPAGEOFF]
	neg	w8, w22
	str	w8, [sp, #16]                   ; 4-byte Folded Spill
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	add	x22, x8, x27
	ldr	x23, [x22]
	mov	x0, x23
	bl	_ehea_purge_sq
	ldr	w24, [x26]
	ldr	w25, [x23]
Lloh8:
	adrp	x8, _H_QPCB0_ALL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _H_QPCB0_ALL@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	w1, #65535
	bl	_EHEA_BMASK_SET
	mov	x3, x0
	mov	x0, x24
	mov	w1, #0
	mov	x2, x25
	mov	x4, x19
	bl	_ehea_h_query_ehea_qp
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x19]
Lloh11:
	adrp	x9, _H_QP_CR_RES_STATE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _H_QP_CR_RES_STATE@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	and	w8, w9, w8
	lsl	w8, w8, #8
	str	w8, [x19]
Lloh14:
	adrp	x9, _H_QP_CR_ENABLED@GOTPAGE
Lloh15:
	ldr	x9, [x9, _H_QP_CR_ENABLED@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	bic	w8, w8, w9
	str	w8, [x19]
	ldr	w24, [x26]
	ldr	w25, [x23]
Lloh17:
	adrp	x8, _H_QPCB0_QP_CTL_REG@GOTPAGE
Lloh18:
	ldr	x8, [x8, _H_QPCB0_QP_CTL_REG@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	mov	w1, #1
	bl	_EHEA_BMASK_SET
	mov	x3, x0
	add	x8, sp, #20
	str	x8, [sp]
	add	x5, sp, #24
	add	x6, sp, #24
	add	x7, sp, #20
	mov	x0, x24
	mov	w1, #0
	mov	x2, x25
	mov	x4, x19
	bl	_ehea_h_modify_ehea_qp
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w24, [x26]
	ldr	w23, [x23]
Lloh20:
	adrp	x8, _H_QPCB0_ALL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _H_QPCB0_ALL@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	mov	w1, #65535
	bl	_EHEA_BMASK_SET
	mov	x3, x0
	mov	x0, x24
	mov	w1, #0
	mov	x2, x23
	mov	x4, x19
	bl	_ehea_h_query_ehea_qp
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	bl	_ehea_rem_smrs
	cbnz	w0, LBB0_13
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x28, x28, #1
	ldrsw	x8, [x21]
	add	x27, x27, #8
	cmp	x28, x8
	b.lt	LBB0_3
LBB0_8:
	mov	w20, #0
	b	LBB0_15
LBB0_9:
Lloh23:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_15
LBB0_10:
Lloh26:
	adrp	x0, l_.str@PAGE
Lloh27:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_14
LBB0_11:
Lloh28:
	adrp	x0, l_.str.1@PAGE
Lloh29:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_14
LBB0_12:
Lloh30:
	adrp	x0, l_.str.2@PAGE
Lloh31:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_14
LBB0_13:
Lloh32:
	adrp	x0, l_.str.3@PAGE
Lloh33:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_14:
	bl	_pr_err
	ldr	w20, [sp, #16]                  ; 4-byte Folded Reload
LBB0_15:
	mov	x0, x19
	bl	_free_page
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_H_QPCB0_ALL,4,2                ; @H_QPCB0_ALL
	.comm	_H_SUCCESS,8,3                  ; @H_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"query_ehea_qp failed (1)\n"

	.comm	_H_QP_CR_RES_STATE,4,2          ; @H_QP_CR_RES_STATE
	.comm	_H_QP_CR_ENABLED,4,2            ; @H_QP_CR_ENABLED
	.comm	_H_QPCB0_QP_CTL_REG,4,2         ; @H_QPCB0_QP_CTL_REG
l_.str.1:                               ; @.str.1
	.asciz	"modify_ehea_qp failed (1)\n"

l_.str.2:                               ; @.str.2
	.asciz	"query_ehea_qp failed (2)\n"

l_.str.3:                               ; @.str.3
	.asciz	"unreg shared memory region failed\n"

	.no_dead_strip	_ehea_stop_qps
.subsections_via_symbols
