	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv_ap806_sei_isrc_mask
_mv_ap806_sei_isrc_mask:                ## @mv_ap806_sei_isrc_mask
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	(%rsi), %edi
	callq	_GICP_SEMR_BIT
	movl	%eax, %r13d
	movq	%r15, %rdi
	callq	_MV_AP806_SEI_LOCK
	movl	(%r14), %edi
	callq	_GICP_SEMR
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_RD4
	movq	%rax, %rbx
	movl	$1, %eax
	movl	%r13d, %ecx
	shll	%cl, %eax
	testq	%r12, %r12
	je	LBB0_2
## %bb.1:
	cltq
	orq	%rax, %rbx
	jmp	LBB0_3
LBB0_2:
	notl	%eax
	cltq
	andq	%rax, %rbx
LBB0_3:
	movl	(%r14), %edi
	callq	_GICP_SEMR
	movq	%r15, %rdi
	movl	%eax, %esi
	movq	%rbx, %rdx
	callq	_WR4
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_MV_AP806_SEI_UNLOCK            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mv_ap806_sei_isrc_mask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mv_ap806_sei_isrc_mask
_mv_ap806_sei_isrc_mask:                ; @mv_ap806_sei_isrc_mask
	.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, x1
	mov	x21, x0
	ldr	w0, [x1]
	bl	_GICP_SEMR_BIT
	mov	x22, x0
	mov	x0, x21
	bl	_MV_AP806_SEI_LOCK
	ldr	w0, [x20]
	bl	_GICP_SEMR
	mov	x1, x0
	mov	x0, x21
	bl	_RD4
	mov	w8, #1
	lsl	w8, w8, w22
	mvn	w9, w8
	sxtw	x9, w9
	and	x9, x0, x9
	sxtw	x8, w8
	orr	x8, x0, x8
	cmp	x19, #0
	csel	x19, x9, x8, eq
	ldr	w0, [x20]
	bl	_GICP_SEMR
	mov	x1, x0
	mov	x0, x21
	mov	x2, x19
	bl	_WR4
	mov	x0, x21
	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	_MV_AP806_SEI_UNLOCK
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mv_ap806_sei_isrc_mask
.subsections_via_symbols
