	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_leave
_check_leave:                           ## @check_leave
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movslq	%esi, %rcx
	shlq	$4, %rcx
	movq	(%rax,%rcx), %rsi
	movq	_MCAST_MEMBER@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rsi
	jne	LBB0_3
## %bb.1:
	movl	8(%rax,%rcx), %eax
	notl	%eax
	testl	%edx, %eax
	jne	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	testl	%edx, %edx
	jne	LBB0_4
LBB0_3:
	movq	_MAD_STATUS_REQ_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MCAST_MEMBER,8,3               ## @MCAST_MEMBER
	.comm	_MAD_STATUS_REQ_INVALID,4,2     ## @MAD_STATUS_REQ_INVALID
	.no_dead_strip	_check_leave
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_leave
_check_leave:                           ; @check_leave
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w1 killed $w1 def $x1
	ldr	x8, [x0]
	sbfiz	x9, x1, #4, #32
	ldr	x9, [x8, x9]
Lloh0:
	adrp	x10, _MCAST_MEMBER@GOTPAGE
Lloh1:
	ldr	x10, [x10, _MCAST_MEMBER@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.1:
	sxtw	x9, w1
	add	x8, x8, x9, lsl #4
	ldr	w8, [x8, #8]
	bics	wzr, w2, w8
	b.eq	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _MAD_STATUS_REQ_INVALID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAD_STATUS_REQ_INVALID@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
LBB0_3:
Lloh6:
	adrp	x8, _MAD_STATUS_REQ_INVALID@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAD_STATUS_REQ_INVALID@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w2, #0
	csel	w0, w8, wzr, eq
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MCAST_MEMBER,8,3               ; @MCAST_MEMBER
	.comm	_MAD_STATUS_REQ_INVALID,4,2     ; @MAD_STATUS_REQ_INVALID
	.no_dead_strip	_check_leave
.subsections_via_symbols
