	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pp_mask_events
_pp_mask_events:                        ## @pp_mask_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_ntb_db_valid_mask
	movl	(%rbx), %edi
	movl	%eax, %esi
	callq	_ntb_db_set_mask
	testl	%eax, %eax
	je	LBB0_1
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movl	(%rbx), %edi
	callq	_ntb_msg_count
	testl	%eax, %eax
	jle	LBB0_2
## %bb.4:
	movl	(%rbx), %edi
	callq	_ntb_msg_outbits
	movl	%eax, %r14d
	movl	(%rbx), %edi
	callq	_ntb_msg_inbits
	orl	%eax, %r14d
	movl	(%rbx), %edi
	movl	%r14d, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ntb_msg_set_mask               ## TAILCALL
LBB0_2:
	xorl	%eax, %eax
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pp_mask_events
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pp_mask_events
_pp_mask_events:                        ; @pp_mask_events
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0]
	bl	_ntb_db_valid_mask
	mov	x1, x0
	ldr	w0, [x19]
	bl	_ntb_db_set_mask
	cbz	w0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	w0, [x19]
	bl	_ntb_msg_count
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.3:
	ldr	w0, [x19]
	bl	_ntb_msg_outbits
	mov	x20, x0
	ldr	w0, [x19]
	bl	_ntb_msg_inbits
	orr	w1, w0, w20
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ntb_msg_set_mask
LBB0_4:
	mov	w0, #0
	b	LBB0_1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_pp_mask_events
.subsections_via_symbols
