	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xpc_destroy_gru_mq_uv
_xpc_destroy_gru_mq_uv:                 ## @xpc_destroy_gru_mq_uv
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movb	(%rdi), %cl
	movl	$1, %r14d
	shlq	%cl, %r14
	movq	8(%rdi), %rdi
	callq	_xp_pa
	movl	%eax, %edi
	movl	%r14d, %esi
	callq	_xp_restrict_memprotect
	movq	_xpSuccess@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	setne	%dil
	callq	_BUG_ON
	movl	16(%rbx), %edi
	xorl	%esi, %esi
	callq	_free_irq
	movq	%rbx, %rdi
	callq	_xpc_release_gru_mq_irq_uv
	movq	%rbx, %rdi
	callq	_xpc_gru_mq_watchlist_free_uv
	movl	(%rbx), %esi
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rax
	subl	(%rax), %esi
	movq	8(%rbx), %rdi
	callq	_free_pages
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_xpSuccess,4,2                  ## @xpSuccess
	.comm	_PAGE_SHIFT,4,2                 ## @PAGE_SHIFT
	.no_dead_strip	_xpc_destroy_gru_mq_uv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xpc_destroy_gru_mq_uv
_xpc_destroy_gru_mq_uv:                 ; @xpc_destroy_gru_mq_uv
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	w8, #1
	ldp	x9, x0, [x0]
	lsl	x20, x8, x9
	bl	_xp_pa
	mov	x1, x20
	bl	_xp_restrict_memprotect
Lloh0:
	adrp	x8, _xpSuccess@GOTPAGE
Lloh1:
	ldr	x8, [x8, _xpSuccess@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	cset	w0, ne
	bl	_BUG_ON
	ldr	w0, [x19, #16]
	mov	x1, #0
	bl	_free_irq
	mov	x0, x19
	bl	_xpc_release_gru_mq_irq_uv
	mov	x0, x19
	bl	_xpc_gru_mq_watchlist_free_uv
	ldr	w8, [x19]
Lloh3:
	adrp	x9, _PAGE_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PAGE_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	sub	w1, w8, w9
	ldr	x0, [x19, #8]
	bl	_free_pages
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_kfree
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_xpSuccess,4,2                  ; @xpSuccess
	.comm	_PAGE_SHIFT,4,2                 ; @PAGE_SHIFT
	.no_dead_strip	_xpc_destroy_gru_mq_uv
.subsections_via_symbols
