	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mask_all_events
_mask_all_events:                       ## @mask_all_events
	.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
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	_event_regs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%esi, %rcx
	movq	(%rax,%rcx,8), %rax
	movq	_part_ev_reg@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.1:
	cmpl	$0, (%r15)
	jle	LBB0_12
## %bb.2:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_mask_event
	addl	%eax, %r13d
	incl	%ebx
	cmpl	(%r15), %ebx
	jl	LBB0_3
	jmp	LBB0_13
LBB0_4:
	movq	_pff_ev_reg@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.5:
	movl	4(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_12
## %bb.6:
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_8 Depth=1
	incq	%r12
	movslq	%eax, %rcx
	cmpq	%rcx, %r12
	jge	LBB0_13
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rcx
	cmpl	$0, (%rcx,%r12,4)
	je	LBB0_7
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%r12d, %edx
	callq	_mask_event
	addl	%eax, %r13d
	movl	4(%r15), %eax
	jmp	LBB0_7
LBB0_12:
	xorl	%r13d, %r13d
	jmp	LBB0_13
LBB0_10:
	movq	%r15, %rdi
	movl	%r14d, %esi
	xorl	%edx, %edx
	callq	_mask_event
	movq	%rax, %r13
LBB0_13:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_event_regs,8,3                 ## @event_regs
	.comm	_part_ev_reg,8,3                ## @part_ev_reg
	.comm	_pff_ev_reg,8,3                 ## @pff_ev_reg
	.no_dead_strip	_mask_all_events
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mask_all_events
_mask_all_events:                       ; @mask_all_events
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _event_regs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _event_regs@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8, w1, sxtw #3]
Lloh3:
	adrp	x9, _part_ev_reg@GOTPAGE
Lloh4:
	ldr	x9, [x9, _part_ev_reg@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.2:
	mov	w21, #0
	mov	w22, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	bl	_mask_event
	add	w21, w21, w0
	add	w22, w22, #1
	ldr	w8, [x20]
	cmp	w22, w8
	b.lt	LBB0_3
	b	LBB0_12
LBB0_4:
Lloh6:
	adrp	x9, _pff_ev_reg@GOTPAGE
Lloh7:
	ldr	x9, [x9, _pff_ev_reg@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.5:
	ldr	w8, [x20, #4]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.6:
	mov	x22, #0
	mov	w21, #0
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x22, x22, #1
	cmp	x22, w8, sxtw
	b.ge	LBB0_12
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, #8]
	ldr	w9, [x9, x22, lsl #2]
	cbz	w9, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	bl	_mask_event
	add	w21, w21, w0
	ldr	w8, [x20, #4]
	b	LBB0_7
LBB0_10:
	mov	w21, #0
	b	LBB0_12
LBB0_11:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	bl	_mask_event
	mov	x21, x0
LBB0_12:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_event_regs,8,3                 ; @event_regs
	.comm	_part_ev_reg,8,3                ; @part_ev_reg
	.comm	_pff_ev_reg,8,3                 ; @pff_ev_reg
	.no_dead_strip	_mask_all_events
.subsections_via_symbols
