	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_leave_req
_handle_leave_req:                      ## @handle_leave_req
	.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	%rdx, %rbx
	movq	%rdi, %r14
	cmpq	$0, 24(%rdx)
	je	LBB0_1
## %bb.2:
	movq	(%r14), %rax
	movq	(%rbx), %rsi
	movl	4(%rax,%rsi,8), %r15d
	jmp	LBB0_3
LBB0_1:
	movl	%esi, %r15d
	movq	(%rbx), %rsi
LBB0_3:
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_check_leave
	movl	%eax, %r12d
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	cmpq	$0, 24(%rbx)
	je	LBB0_6
LBB0_7:
	movq	(%r14), %rax
	movq	(%rbx), %rcx
	decl	(%rax,%rcx,8)
	leaq	12(%rbx), %rdi
	callq	_list_del
	leaq	8(%rbx), %rdi
	callq	_list_del
	movq	%rbx, %rdi
	callq	_kfree
	movl	$1, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	(%rbx), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_leave_group
	cmpq	$0, 24(%rbx)
	jne	LBB0_7
LBB0_6:
	movq	(%rbx), %rdi
	leaq	16(%rbx), %rdx
	movq	%r14, %rsi
	movl	%r12d, %ecx
	callq	_send_reply_to_slave
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_handle_leave_req
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_leave_req
_handle_leave_req:                      ; @handle_leave_req
	.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, x2
	mov	x20, x0
	ldr	x8, [x2, #24]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x20]
	ldr	x1, [x19]
	add	x8, x8, x1, lsl #3
	ldr	w21, [x8, #4]
	b	LBB0_3
LBB0_2:
	mov	x21, x1
	ldr	x1, [x19]
LBB0_3:
	mov	x0, x20
	mov	x2, x21
	bl	_check_leave
	mov	x22, x0
	cbz	w0, LBB0_6
; %bb.4:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_7
LBB0_5:
	ldr	x8, [x20]
	mov	x20, x19
	ldr	x9, [x20], #8
	lsl	x9, x9, #3
	ldr	w10, [x8, x9]
	sub	w10, w10, #1
	str	w10, [x8, x9]
	add	x0, x19, #12
	bl	_list_del
	mov	x0, x20
	bl	_list_del
	mov	x0, x19
	bl	_kfree
	mov	w0, #1
	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
	ret
LBB0_6:
	ldr	x1, [x19]
	mov	x0, x20
	mov	x2, x21
	bl	_leave_group
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_5
LBB0_7:
	mov	x2, x19
	ldr	x0, [x2], #16
	mov	x1, x20
	mov	x3, x22
	bl	_send_reply_to_slave
	b	LBB0_5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_handle_leave_req
.subsections_via_symbols
