	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpc_shutdown_client            ## -- Begin function rpc_shutdown_client
	.p2align	4, 0x90
_rpc_shutdown_client:                   ## @rpc_shutdown_client
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	4(%rdi), %edx
	movl	8(%rdi), %esi
	leaq	L_.str(%rip), %rdi
	callq	_dprintk
	movq	%r14, %rdi
	callq	_list_empty
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	_destroy_wait@GOTPCREL(%rip), %r15
	movq	_HZ@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_rpc_killall_tasks
	movl	(%r15), %ebx
	movq	%r14, %rdi
	callq	_list_empty
	movl	(%r12), %edx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_wait_event_timeout
	movq	%r14, %rdi
	callq	_list_empty
	testl	%eax, %eax
	je	LBB0_2
LBB0_3:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rpc_release_client             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RPC:       shutting down %s client for %s\n"

	.comm	_destroy_wait,4,2               ## @destroy_wait
	.comm	_HZ,4,2                         ## @HZ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpc_shutdown_client            ; -- Begin function rpc_shutdown_client
	.p2align	2
_rpc_shutdown_client:                   ; @rpc_shutdown_client
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldp	w2, w1, [x0, #4]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dprintk
	mov	x0, x19
	bl	_list_empty
	cbnz	w0, LBB0_3
; %bb.1:
Lloh2:
	adrp	x21, _destroy_wait@GOTPAGE
Lloh3:
	ldr	x21, [x21, _destroy_wait@GOTPAGEOFF]
Lloh4:
	adrp	x22, _HZ@GOTPAGE
Lloh5:
	ldr	x22, [x22, _HZ@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_rpc_killall_tasks
	ldr	w20, [x21]
	mov	x0, x19
	bl	_list_empty
	mov	x1, x0
	ldr	w2, [x22]
	mov	x0, x20
	bl	_wait_event_timeout
	mov	x0, x19
	bl	_list_empty
	cbz	w0, LBB0_2
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_rpc_release_client
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RPC:       shutting down %s client for %s\n"

	.comm	_destroy_wait,4,2               ; @destroy_wait
	.comm	_HZ,4,2                         ; @HZ
.subsections_via_symbols
